<commit_before>{% extends "base.html" %}
{% block title %}{{ g.activity.name }}{% endblock %}
{% block content %}
{% with messages_signup = get_flashed_messages(category_filter=["signup"]) %}

<!-- Below Navbar -->
<div class="large_container">
	<!-- Side Menu -->
	<div id="sidebar" class="col-md-2">
		<div class="list-group">
			<li class="list-group-item active">Club Types</li>
			{% for typ in [('all', 'All')] + list(ClubType) %}
			<a href="{{ url_for('.allactivities', club_type=typ[0].lower(), page='1') }}" class="list-group-item {% if g.activity.club.type.name==typ[0] %}selected{% endif %}">{{ typ[1] }}</a>
			{% endfor %}
		</div>
	</div>

	<!-- Main Content -->
	<div class="col-md-10" id="intropage">
		<div class="jumbotron">
			<h1 class="title">{{ g.activity.name }}</h1>
			<p>{{ g.activity.club.name }}</p>
		</div>
		<div class="longdesc">
			<p>Time: {{ g.activity.date }}</p>
			{% if g.activity.description.raw %}
			<br>
			<p>Description:</p>
			{{ g.activity.description.formatted }}
			{% endif %}
		</div>
		{% if messages_signup %}
		<ul class="list-group" style="margin-top:0">
			{% for message in messages_signup %}
			<li class="list-group-item">{{ message }}</li>
			{% endfor %}
		</ul>
		{% endif %}

		{% if g.activity.selections %}
		{% if selection %}
		<p style="font-size: 150%;color: #f2f2f2">Your Selection:</p>
		<p style="font-size: 150%;color: #f2f2f2">{{ selection }}</p>
		{% else %}
		<p style="font-size: 150%;color: #f2f2f2">Selection:</p>
		<select name="selection" form="join_form" class="selection_bar" style="color:#f2f2f2">
			{% for choice in g.activity.selections %}
			<option value="{{ choice }}" style="color:black">{{ choice }}</option>
			{% endfor %}
		</select>
		{% endif %}
		{% endif %}

		<center>
		<div class="intro_function">
			<div class="col-sm-6">
				<a href="{{ url_for('clubblueprint.clubintro', club=g.activity.club.callsign) }}">
					<button class="btn btn-info btn-lg">Club Introduction</button>
				</a>
			</div>

			{% if is_other_act and not is_past and can_join %}
			<div class="col-sm-6">
				<form action="{{ url_for('.activity_submit', activity=g.activity.callsign) }}" method="post" id="join_form">
					<input name="_csrf_token" type="hidden" value="{{ csrf_token() }}">
					<input class="btn btn-info btn-lg" type="submit" value="Join">
				</form>
			</div><commit_msg>actintro.html: style -> class<commit_after>{% extends "base.html" %}
{% block title %}{{ g.activity.name }}{% endblock %}
{% block content %}
{% with messages_signup = get_flashed_messages(category_filter=["signup"]) %}

<!-- Below Navbar -->
<div class="large_container">
	<!-- Side Menu -->
	<div id="sidebar" class="col-md-2">
		<div class="list-group">
			<li class="list-group-item active">Club Types</li>
			{% for typ in [('all', 'All')] + list(ClubType) %}
			<a href="{{ url_for('.allactivities', club_type=typ[0].lower(), page='1') }}" class="list-group-item {% if g.activity.club.type.name==typ[0] %}selected{% endif %}">{{ typ[1] }}</a>
			{% endfor %}
		</div>
	</div>

	<!-- Main Content -->
	<div class="col-md-10" id="intropage">
		<div class="jumbotron">
			<h1 class="title">{{ g.activity.name }}</h1>
			<p>{{ g.activity.club.name }}</p>
		</div>
		<div class="longdesc">
			<p>Time: {{ g.activity.date }}</p>
			{% if g.activity.description.raw %}
			<br>
			<p>Description:</p>
			{{ g.activity.description.formatted }}
			{% endif %}
		</div>
		{% if messages_signup %}
		<ul class="list-group" style="margin-top:0">
			{% for message in messages_signup %}
			<li class="list-group-item">{{ message }}</li>
			{% endfor %}
		</ul>
		{% endif %}

		{% if g.activity.selections %}
		{% if selection %}
		<p class="color-lightgrey" style="font-size: 150%">Your Selection:</p>
		<p class="color-lightgrey" style="font-size: 150%">{{ selection }}</p>
		{% else %}
		<p class="color-lightgrey" style="font-size: 150%">Selection:</p>
		<select name="selection" form="join_form" class="selection_bar color-lightgrey">
			{% for choice in g.activity.selections %}
			<option value="{{ choice }}" style="color:black">{{ choice }}</option>
			{% endfor %}
		</select>
		{% endif %}
		{% endif %}

		<center>
		<div class="intro_function">
			<div class="col-sm-6">
				<a href="{{ url_for('clubblueprint.clubintro', club=g.activity.club.callsign) }}">
					<button class="btn btn-info btn-lg">Club Introduction</button>
				</a>
			</div>

			{% if is_other_act and not is_past and can_join %}
			<div class="col-sm-6">
				<form action="{{ url_for('.activity_submit', activity=g.activity.callsign) }}" method="post" id="join_form">
					<input name="_csrf_token" type="hidden" value="{{ csrf_token() }}">
					<input class="btn btn-info btn-lg" type="submit" value="Join">
				</form>
			</div>
{'fraction_non_alphanumeric': 0.2293193717277487, 'fraction_numerical': 0.01130890052356021, 'mean_word_length': 3.954356846473029, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 112, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3210678', 'n_tokens_mistral': 2028, 'n_tokens_neox': 1701, 'n_words': 349}