82 lines
3.1 KiB
HTML
82 lines
3.1 KiB
HTML
<html>
|
||
<head>
|
||
<title>HKFC Men's C Team - MotM and DotD vote admin</title>
|
||
<link rel="stylesheet" media="screen" href ="/static/css/bootstrap.min.css">
|
||
<link rel="stylesheet" href="/static/css/bootstrap-theme.min.css">
|
||
<meta name="viewport" content = "width=device-width, initial-scale=1.0">
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||
<script src="/static/js/bootstrap.min.js"></script>
|
||
</head>
|
||
<h2>HKFC Men's C Team MotM and DotD online vote admin page</h2>
|
||
{% with messages = get_flashed_messages() %}
|
||
{% if messages %}
|
||
{% for message in messages %}
|
||
<div class="alert alert-warning alert-dismissible" role="alert">
|
||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||
{{ message }}
|
||
</div>
|
||
{% endfor %}
|
||
{% endif %}
|
||
{% endwith %}
|
||
<body onload="myFunction()">
|
||
|
||
<dl>
|
||
<p>
|
||
{{ form.csrf_token }}
|
||
<b>HKFC C Next Opponent:</b>
|
||
<br/>
|
||
<div class="row">
|
||
<div class="col-xs-12">
|
||
<form class="col-sm-6" method="post" action="/admin/motm">
|
||
<div class = "row">
|
||
<div class = "col-sm-6">
|
||
<div class="input-group">
|
||
<span class="input-group-addon" id="basic-addon1">Date:</span>
|
||
{{ form.nextMatchDate(class_="form-control") }}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</br>
|
||
<div class = "row">
|
||
<div class = "col-sm-9">
|
||
<div class="input-group">
|
||
<span class="input-group-addon" id="basic-addon1">Opposition</span>
|
||
{{ form.nextOppoTeam(class_="form-control") }}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class = "row">
|
||
<div class = "col-sm-6">
|
||
<div class="input-group">
|
||
<span class="input-group-addon" id="basic-addon1">Current Man of the Match:</span>
|
||
{{ form.currMotM(class_="form-control") }}
|
||
</div>
|
||
</div>
|
||
<div class = "col-sm-6">
|
||
<div class="input-group">
|
||
<span class="input-group-addon" id="basic-addon1">Current Dick of the Day:</span>
|
||
{{ form.currDotD(class_="form-control") }}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<p>
|
||
{{ form.saveButton(class_="btn btn-success") }}
|
||
{{ form.activateButton(class_="btn btn-primary") }}
|
||
<a class="btn btn-danger" href="/" role="button">Cancel</a>
|
||
</p>
|
||
</form>
|
||
<div class="col-sm-4">
|
||
<img src="{{ nextOppoLogo }}" height="90" id="nextOppoLogo"/>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</p>
|
||
</dl>
|
||
|
||
<script>
|
||
// Date input functionality - no longer needed to fetch fixture data
|
||
// The date input will be handled by the browser's native date picker
|
||
</script>
|
||
</body>
|
||
</html>
|