gcp-hockey-results/templates/motm_backup/_hkfcDMatchComments.html

36 lines
1.5 KiB
HTML

<html>
<head>
<title>HKFC Men's D Team - Match Comments *TESTING*</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 D Team Match Comments</h3>
<h5>16th December 2018 - Aquila A</h5>
<h4><img src="{{ hkfcLogo }}" height="150"></img> <b>V</b> <img src="{{ oppoLogo }}" height="140"></img></h4>
<body>
This is an experimental option to add comments on the match - all submitted comments should appear here
<form method="post" action="/hkfc-d/comments" id="matchCommentForm">
<div>
<label for="matchComment">Match Comments (purely optional - 3000 character limit):</label>
<br/>
<textarea rows="4" cols="80" name="matchComment" form="matchCommentForm">Optional comments added here</textarea>
</div>
<button type="submit" class="btn btn-success">Submit</button>
<a class="btn btn-primary" href="/dashboard" role="button">Home</a>
</form>
<p><b>The wit and wisdom of the HKFC D team (in random order):</b>
<br/>
{% for item in comments %}
<i>{{ item.comment }}</i>
<br/>
<br/>
{% else %}
<i>No comments have been submitted yet.</i>
{% endfor %}
</p>
</body>
</html>