diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 16:47:15 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 16:47:15 +0800 |
commit | ecec43046e5e031351c5369f80558c677636faea (patch) | |
tree | deaf2e89bb719d89298099196f296d575ba02d53 /fg21sim/webui/templates/header-index.html | |
parent | 94ce3f24262e948e0b3275552c9ed4550bf41248 (diff) | |
download | fg21sim-ecec43046e5e031351c5369f80558c677636faea.tar.bz2 |
webui: Split "header.html" into "header-{base,index}.html"
Diffstat (limited to 'fg21sim/webui/templates/header-index.html')
-rw-r--r-- | fg21sim/webui/templates/header-index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fg21sim/webui/templates/header-index.html b/fg21sim/webui/templates/header-index.html new file mode 100644 index 0000000..c801040 --- /dev/null +++ b/fg21sim/webui/templates/header-index.html @@ -0,0 +1,22 @@ +{# + # 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 %} |