summaryrefslogtreecommitdiffhomepage
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..c956dfd
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,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> \ No newline at end of file

Highly Recommended Verilog Books