foodoles/templates/results.tmpl

24 lines
928 B
Cheetah

<!DOCTYPE html>
<head>
<title>Electronic Realtime Poll written in Go</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.js"></script>
<style type="text/css"> h2 { margin: 2em 0em; } .ui.container { padding-top: 5em; padding-bottom: 5em; } </style>
</head>
<body>
<div class="ui container">
<h2 class="ui header">Foodoles - Results</h2><br/>
<div class="ui one column grid link cards">
<div class="card">
{{ range .Votes }}
{{.}}
{{ end }}
</div>
</div>
</div>
</body>
</html>