aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/index.html
blob: 9e474726d16bedb19badd9ea25dfe26ceda76ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{#
 # Copyright (c) 2016 Weitian LI <liweitianux@live.com>
 # MIT license
 #
 # Index page for the Web UI of "fg21sim"
 #}

{% extends "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 %}  {# block header_contents #}

{% block main %}
  {% include "configs.html" %}
  {% include "console.html" %}
  {% include "results.html" %}
{% end %}

{% block extra_script %}
  <script src="{{ static_url('js/configs.js') }}"></script>
  <script src="{{ static_url('js/console.js') }}"></script>
  <script src="{{ static_url('js/websocket.js') }}"></script>
{% end %}