84 lines
3.7 KiB
HTML
84 lines
3.7 KiB
HTML
<html>
|
|
<head>
|
|
<title>HKFC Men's C Team - MotM and DotD online vote</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>
|
|
<h3>HKFC Men's C Team MotM and DotD online vote</h3>
|
|
<h5>{{ formatDate }}</h5>
|
|
<h4><img src="{{ hkfcLogo }}" height="150"></img> <b> </b> <img src="{{ oppoLogo }}" height="140"></img></h4>
|
|
<body>
|
|
<p><b>Randomly selected comment from the match:</b>
|
|
<br/>
|
|
{% for item in comment %}
|
|
<i>{{ item.comment }}</i>
|
|
{% endfor %}
|
|
</p>
|
|
<dl>
|
|
{{ form.csrf_token }}
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<form class="col-sm-6" method="post" action="/motm/vote-thanks" id="motmForm" accept-charset="utf-8">
|
|
<input type="hidden" id="matchNumber" name="matchNumber" value="{{ matchNumber }}">
|
|
<input type="hidden" id="oppo" name="oppo" value="{{ oppo }}">
|
|
<div class = "row">
|
|
<div class = "col-sm-6">
|
|
<div class="input-group">
|
|
<span class="input-group-addon" id="basic-addon1">Man of the Match</span>
|
|
<select class="form-control" name="motmVote" required>
|
|
{% for item in data %}
|
|
{% if item.playernickname != "" %}
|
|
<option value={{ item.playernumber }}>{{ item.playernickname }}</option>
|
|
{% else %}
|
|
<option value={{ item.playernumber }}>{{ item.playersurname }}, {{ item.playerforenames }}</option>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class = "col-sm-6">
|
|
<div class="input-group">
|
|
<span class="input-group-addon" id="basic-addon1">Dick of the Day</span>
|
|
<select class="form-control" name="dotdVote" required>
|
|
{% for item in data %}
|
|
{% if item.playernickname != "" %}
|
|
<option value={{ item.playernumber }}>{{ item.playernickname }}</option>
|
|
{% else %}
|
|
<option value={{ item.playernumber }}>{{ item.playersurname }}, {{ item.playerforenames }}</option>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class = "row">
|
|
<div class = "col-sm-6">
|
|
<div class = "input-group">
|
|
<span class = "input-group-addon" id = "basic-addon1">Match comments</span>
|
|
<textarea rows = "4" cols = "80" name = "motmComment" form = "motmForm">Optional comments added here</textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class = "row">
|
|
<h3>Rogues Gallery</h3>
|
|
<div class = "col-sm-4">
|
|
<h4>Current Man of the Match</h4>
|
|
<img src="{{ motmURL }}" height="200"></img>
|
|
</div>
|
|
<div class = "col-sm-4">
|
|
<h4>Current Dick of the Day</h4>
|
|
<img src="{{ dotdURL }}" height="200"></img>
|
|
</div>
|
|
</div>
|
|
<button type="submit" class="btn btn-success">Submit</button>
|
|
<a class="btn btn-danger" href="/" role="button">Cancel</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</dl>
|
|
</body>
|
|
</html>
|