diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 17:34:02 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 17:34:02 +0800 |
commit | 823fb20c83ff9dedcc5d804f32a0f80ab1810813 (patch) | |
tree | 2d5aa508947941b1c0bd9cf7eaa5e8a14759abe7 /fg21sim/webui/templates/header-index.html | |
parent | 2573db8dd4084b88d73d628271f270f6ef00e33b (diff) | |
download | fg21sim-823fb20c83ff9dedcc5d804f32a0f80ab1810813.tar.bz2 |
webui: Fix the issues due to the split of "header-{base,index}.html"
Tornado currently do NOT support *nested* template extensions.
* Rename "header-base.html" back to "header.html"
* Merge the contents of "header-index.html" to "index.html"
* Add new block "subtitle" to "base.html"
Diffstat (limited to 'fg21sim/webui/templates/header-index.html')
-rw-r--r-- | fg21sim/webui/templates/header-index.html | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/fg21sim/webui/templates/header-index.html b/fg21sim/webui/templates/header-index.html deleted file mode 100644 index c801040..0000000 --- a/fg21sim/webui/templates/header-index.html +++ /dev/null @@ -1,22 +0,0 @@ -{# - # Copyright (c) 2016 Weitian LI <liweitianux@live.com> - # MIT license - # - # Header of the index page - #} - -{% extends "header-base.html" %} - -{% block header_contents %} - <span id="ws-status" class="label label-default"> - <span class="icon fa fa-question-circle" aria-hidden="true"></span> - <span class="text">N/A</span> - </span> - <span id="ws-reconnect" class="btn fa fa-refresh" aria-hidden="true"></span> - - <ul class="navigation-list float-right"> - <li class="navigation-item"><a class="navigation-link button button-outline" href="#configs" title="Configurations"><span class="fa fa-wrench" aria-hidden="true"></span> Configurations</a></li> - <li class="navigation-item"><a class="navigation-link button button-outline" href="#console" title="Console"><span class="fa fa-gamepad" aria-hidden="true"></span> Console</a></li> - <li class="navigation-item"><a class="navigation-link button button-outline" href="#results" title="Results"><span class="fa fa-files-o aria-hidden="true"></span> Results</a></li> - </ul> -{% end %} |