diff options
| -rw-r--r-- | fg21sim/webui/templates/base.html | 37 | 
1 files changed, 37 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +{# + # Copyright (c) 2016 Weitian LI <liweitianux@live.com> + # MIT license + # + # Tornado base template for the Web UI of "fg21sim" + #} +<html> +<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/main.css') }}" /> +  {% block extra_css %}{% end %} +  {% end %} + +  {% block head_script %}{% end %} +</head> +<body> +  {% block header %}{% end %} + +  {% block main %}{% end %} + +  {% block footer %}{% end %} + +  {% block script %} +  <script src="//code.jquery.com/jquery-3.1.1.min.js"></script> +  <script src="{{ static_url('js/main.js') }}"></script> +  {% block extra_script %}{% end %} +  {% end %} +</body> +</html>  | 
