finished dev version
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
<hr style="border-color: #333; margin: 30px 0;"></hr>
|
||||
<h1>> Prizes</h1>
|
||||
<ul>
|
||||
<li>1st Place: 100€</li>
|
||||
<li>2nd Place: 75€</li>
|
||||
<li>3rd Place: 50€</li>
|
||||
<li>1st Place: 150€</li>
|
||||
<li>2nd Place: 110€</li>
|
||||
<li>3rd Place: 75€</li>
|
||||
</ul>
|
||||
<hr style="border-color: #333; margin: 30px 0;"></hr>
|
||||
<h1>> Format</h1>
|
||||
@@ -76,26 +76,27 @@
|
||||
{% endwith %}
|
||||
|
||||
<div class="status">
|
||||
<h2>Spots Remaining: {{ spots_left }} / 84</h2>
|
||||
{% if spots_left > 0 %}
|
||||
<h2>Spots Remaining: {{ spots_left }} / {{max_spots}}</h2>
|
||||
{% else %}
|
||||
<h2>Register for Waitlist</h2>
|
||||
<p>This event is currently full. Join the queue to be notified of openings.</p>
|
||||
{%endif %}
|
||||
</div>
|
||||
|
||||
{% if spots_left > 0 %}
|
||||
<form method="POST">
|
||||
<label>Name</label>
|
||||
<input type="text" name="name" required>
|
||||
<form method="POST">
|
||||
<label>Name</label>
|
||||
<input type="text" name="name" required>
|
||||
|
||||
<label>TUM Email</label>
|
||||
<input type="email" name="email" placeholder="@tum.de" required>
|
||||
<label>TUM Email</label>
|
||||
<input type="email" name="email" placeholder="@tum.de" required>
|
||||
|
||||
<label style="display:block; margin: 20px 0; line-height: 1.4;">
|
||||
<input type="checkbox" name="looking_for_team" style="transform: scale(1.2); margin-right: 10px;">
|
||||
I need a team / looking for group
|
||||
</label>
|
||||
<label style="display:block; margin: 20px 0; line-height: 1.4;">
|
||||
<input type="checkbox" name="looking_for_team" style="transform: scale(1.2); margin-right: 10px;">
|
||||
I need a team / looking for group
|
||||
</label>
|
||||
|
||||
<button type="submit">INITIALIZE_REGISTRATION</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<h2 style="color:red">EVENT FULL</h2>
|
||||
{% endif %}
|
||||
</div>
|
||||
<button type="submit">INITIALIZE_REGISTRATION</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user