2015-11-15 20:59:29 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html ng-app="catsvsdogs">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2016-11-10 21:48:25 +01:00
|
|
|
<title>Cats vs Dogs -- Result</title>
|
2015-11-15 20:59:29 +01:00
|
|
|
<base href="/index.html">
|
|
|
|
<meta name = "viewport" content = "width=device-width, initial-scale = 1.0">
|
|
|
|
<meta name="keywords" content="docker-compose, docker, stack">
|
2016-04-25 20:28:21 +02:00
|
|
|
<meta name="author" content="Docker">
|
2015-11-15 20:59:29 +01:00
|
|
|
<link rel='stylesheet' href='/stylesheets/style.css' />
|
|
|
|
</head>
|
|
|
|
<body ng-controller="statsCtrl" >
|
|
|
|
<div id="background-stats">
|
|
|
|
<div id="background-stats-1">
|
|
|
|
</div><!--
|
|
|
|
--><div id="background-stats-2">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="content-container">
|
|
|
|
<div id="content-container-center">
|
|
|
|
<div id="choice">
|
2016-11-10 21:48:25 +01:00
|
|
|
<div class="choice cats">
|
|
|
|
<div class="label">Cats</div>
|
2015-11-15 20:59:29 +01:00
|
|
|
<div class="stat">{{aPercent | number:1}}%</div>
|
|
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
2016-11-10 21:48:25 +01:00
|
|
|
<div class="choice dogs">
|
|
|
|
<div class="label">Dogs</div>
|
2015-11-15 20:59:29 +01:00
|
|
|
<div class="stat">{{bPercent | number:1}}%</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-06-09 13:18:28 +02:00
|
|
|
<div id="result">
|
|
|
|
<span ng-if="total == 0">No votes yet</span>
|
|
|
|
<span ng-if="total == 1">{{total}} vote</span>
|
|
|
|
<span ng-if="total >= 2">{{total}} votes</span>
|
2015-11-15 20:59:29 +01:00
|
|
|
</div>
|
|
|
|
<script src="socket.io.js"></script>
|
2019-08-25 22:07:39 +02:00
|
|
|
<script src="angular.min.js"></script>
|
2015-11-15 20:59:29 +01:00
|
|
|
<script src="app.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|