aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/base.html
blob: 35b55dd72ba8ea93c75ff2309267ba562eaf1587 (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
43
44
45
46
47
48
<!DOCTYPE html>
{#
 # Copyright (c) 2016 Weitian LI <liweitianux@live.com>
 # MIT license
 #
 # Tornado base template for the Web UI of "fg21sim"
 #}
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>{% block title %}TITLE{% end %}</title>
  {% block extra_head %}{% end %}

  {% block css %}
  <link rel="stylesheet" href="{{ static_url('css/normalize.css') }}" />
  <link rel="stylesheet" href="{{ static_url('css/font-awesome.css') }}" />
  <link rel="stylesheet" href="{{ static_url('css/milligram.css') }}" />
  <link rel="stylesheet" href="{{ static_url('css/fonts.css') }}" />
  <link rel="stylesheet" href="{{ static_url('css/main.css') }}" />
  {% block extra_css %}{% end %}
  {% end %}

  {% block head_script %}{% end %}
</head>
<body>
  <div class="page">
    {% block page %}
    <header class="masthead" role="banner">
      {% block header %}{% end %}
    </header>

    <main class="container" role="main">
      {% block main %}{% end %}
    </main>

    <footer class="footer" role="contentinfo">
      {% block footer %}{% end %}
    </footer>
    {% end %}  {# block page #}
  </div>

  {% block script %}
  <script src="{{ static_url('js/jquery-3.1.1.js') }}"></script>
  <script src="{{ static_url('js/main.js') }}"></script>
  {% block extra_script %}{% end %}
  {% end %}
</body>
</html>