aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/index.html
blob: 86c28624fb7cb09f9ddf9be2250922b4b8000fd0 (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
35
36
37
{#
 # 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="#products" title="Products"><span class="fa fa-files-o" aria-hidden="true"></span> Products</a></li>
  </ul>
{% end %}  {# block header_contents #}

{% block main %}
  {% include "configs.html" %}
  {% include "console.html" %}
  {% include "products.html" %}

  <div id="modal-box" class="modal" style="display: none;"></div>
{% 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/products.js') }}"></script>
  <script src="{{ static_url('js/websocket.js') }}"></script>
{% end %}