aboutsummaryrefslogtreecommitdiffstats
path: root/src/template.html
blob: f071025a7794456a2603eed23f07290c953f6752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title><%= htmlWebpackPlugin.options.title %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <style>
    body {
      display: flex;
      margin: 0;
      padding: 0;

      width: 100vw;
      height: 100vh;

      flex-direction: column;
    }

    header {
      display: flex;

      justify-content: space-between;

      height: 150px;
      flex: 0 0 auto;
    }

    #main {
      flex: 1 1 0;
    }
  </style>
</head>
<body>
  <header>
    <canvas id="graphs_a"></canvas>
    <canvas id="graphs_b"></canvas>
    <div id="controls"></div>
  </header>
  <canvas id="main"></canvas>
</body>
</html>