aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-31 21:34:25 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-31 21:34:25 +0800
commit17ab3601ae7354e078b5fec4ad71fbe9d4da0692 (patch)
tree85d8313216d20e03c32907d698b4d1c4a9c97988 /fg21sim/webui/templates
parent5d304e9ae7456fc61c73170a0b5c260c7b7ad460 (diff)
downloadfg21sim-17ab3601ae7354e078b5fec4ad71fbe9d4da0692.tar.bz2
webui: Rearrange structures of the base template
Diffstat (limited to 'fg21sim/webui/templates')
-rw-r--r--fg21sim/webui/templates/base.html18
1 files changed, 14 insertions, 4 deletions
diff --git a/fg21sim/webui/templates/base.html b/fg21sim/webui/templates/base.html
index e8f24b3..51d8a94 100644
--- a/fg21sim/webui/templates/base.html
+++ b/fg21sim/webui/templates/base.html
@@ -5,7 +5,7 @@
#
# Tornado base template for the Web UI of "fg21sim"
#}
-<html>
+<html lang="en">
<head>
<meta charset="utf-8" />
<title>{% block title %}TITLE{% end %}</title>
@@ -22,11 +22,21 @@
{% block head_script %}{% end %}
</head>
<body>
- {% block header %}{% end %}
+ <div class="page">
+ {% block page %}
+ <header class="masthead" role="banner">
+ {% block header %}{% end %}
+ </header>
- {% block main %}{% end %}
+ <main class="container" role="main">
+ {% block main %}{% end %}
+ </main>
- {% block footer %}{% end %}
+ <footer class="footer" role="contentinfo">
+ {% block footer %}{% end %}
+ </footer>
+ {% end %} {# block page #}
+ </div>
{% block script %}
<script src="//code.jquery.com/jquery-3.1.1.min.js"></script>