blob: c956dfd21cd5c9961c761ae5ceb35ef6a79e5f40 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ title }}</title>
<link rel="shortcut icon" href="../static/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="/static/css/base.css">
{% if ss %}<link rel="stylesheet" type="text/css" href="/static/css/ss.css">{% endif %}
</head>
<body>
<div id="mc-main-window">
<header id="mc-header">
<div id="mc-banner">PI Explorer, Version {{ version }}</div>
<nav id="mc-menu">
<ul id="mc-menu-list">
<li><a href="/">Home</a></li>
<li><a href="/controller">Controller</a></li>
<li><a href="/mle">Machine Learning</a></li>
<li><a href="/fabric">Switch Fabric</a></li>
<li><a href="/mdio">MDIO</a></li>
{% if lmmi %}<li><a href="/lmmi">LMMI</a></li>{% endif %}
<li><a href="/help">Help</a></li>
</ul>
</nav>
</header>
<div id="mc-body" {% if app_layer %} class="mc-{{app_layer}}"{% endif %} data-fragments="{{num_fragments}}">
{% block content %}
{% endblock %}
</div>
</div>
<div id="mc-modal">
<div id="mc-modal-backdrop"></div>
<div id="mc-modal-body">
<button class="mc-quiet" id="mc-modal-close">close</button>
</div>
</div>
<div id="mc-loading">
<img src="/static/images/loading.gif" alt="loading">
</div>
<script src="/static/js/base.js"></script>
<script src="/static/js/modal.js"></script>
{% if app_layer %} <script src="/static/js/{{ app_layer }}.js"></script>{% endif %}
{% if ws %} <script src="/static/js/ws.js"></script>{% endif %}
{% if ss %} <script src="/static/js/ss.js"></script>{% endif %}
</body>
|