-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a page for admins to enter maps for the week
- Loading branch information
Showing
5 changed files
with
117 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>AHGL Map Entry</title> | ||
</head> | ||
<body> | ||
<h1>AHGL Map Entry</h1> | ||
<h2>Week {{week_number}}</h2> | ||
<form method="POST" action="{{submit_link}}"> | ||
<input type="hidden" name="week" value="{{week_number}}" /> | ||
<ul> | ||
{% for setnum in range(1,num_sets+1) %} | ||
<li>Map {{setnum}}: | ||
<select name="map_{{setnum}}"> | ||
{% for mapid, mapname in map_pool %} | ||
<option value="{{mapid}}">{{mapname}}</option> | ||
{% endfor %} | ||
</select><br> | ||
{% endfor %} | ||
</ul> | ||
<input type="submit"> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters