From 5d304e9ae7456fc61c73170a0b5c260c7b7ad460 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 30 Oct 2016 16:14:54 +0800 Subject: webui: Add the base template Tornado template: http://www.tornadoweb.org/en/stable/guide/templates.html --- fg21sim/webui/templates/base.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 fg21sim/webui/templates/base.html (limited to 'fg21sim/webui/templates/base.html') diff --git a/fg21sim/webui/templates/base.html b/fg21sim/webui/templates/base.html new file mode 100644 index 0000000..e8f24b3 --- /dev/null +++ b/fg21sim/webui/templates/base.html @@ -0,0 +1,37 @@ + +{# + # Copyright (c) 2016 Weitian LI + # MIT license + # + # Tornado base template for the Web UI of "fg21sim" + #} + + + + {% block title %}TITLE{% end %} + {% block extra_head %}{% end %} + + {% block css %} + + + + + {% block extra_css %}{% end %} + {% end %} + + {% block head_script %}{% end %} + + + {% block header %}{% end %} + + {% block main %}{% end %} + + {% block footer %}{% end %} + + {% block script %} + + + {% block extra_script %}{% end %} + {% end %} + + -- cgit v1.2.2