rubygoldberg-tracker/watcher/templates/index.html
Maxime Bloch e74c2f4634
working websockets for the current run.
Added initial ws sync on page load
Added start and handoff updates via ws
2019-09-22 03:11:19 +02:00

55 lines
1.5 KiB
HTML

<html>
<head>
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
<script data-main="{{ url_for('static', filename = 'index.js') }}" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.js"></script>
<link rel="stylesheet" href="{{ url_for('static', filename = 'index.css') }}" />
</head>
<body>
<div class="container">
<div id="current_run" class="card">
<div class="item">
<div>
0
</div>
<div>
<button type="button">Start</button>
</div>
<div>
<i class="fas fa-question" style="color:grey"></i>
</div>
</div>
<div class="item">
<div>
1
</div>
<div>
Time: ...
</div>
<div>
<i class="fas fa-check" style="color:green"></i>
</div>
</div>
</div>
<div class="card">
<div class="item">
<div>
1
</div>
<div>
total time
</div>
<div>
max fase
</div>
</div>
</div>
<div class="card">
<div class="item">live requests</div>
</div>
</div>
</body>
</html>