33 lines
768 B
HTML
33 lines
768 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="stylesheet" href="/static/css/controller.css" />
|
|
|
|
<title>OBUS controller</title>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- State -->
|
|
<div class="state">
|
|
<p>Game state: <span id="gamestate"></span></p>
|
|
|
|
<button onclick="onStartButtonClick()">START</button>
|
|
<button onclick="onRestartButtonClick()">RESTART</button>
|
|
</div>
|
|
|
|
<!-- Timer -->
|
|
<div class="center">
|
|
<canvas id="display" width="1000" height="500">
|
|
Timer should be here
|
|
</canvas>
|
|
</div>
|
|
|
|
<!-- Modules -->
|
|
<div id="modules" class="center"></div>
|
|
|
|
<!-- Scripts -->
|
|
<script src="/static/js/controller.js"></script>
|
|
<script type="text/javascript" src="/static/js/segment-display.js"></script>
|
|
</body>
|
|
</html>
|