|
@@ -2,26 +2,27 @@
|
|
|
<!doctype html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
- <!-- Required meta tags -->
|
|
|
- <meta charset="utf-8">
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
|
|
-
|
|
|
-
|
|
|
- <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
|
|
|
-
|
|
|
- <!-- Bootstrap CSS -->
|
|
|
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
|
|
|
- <link rel="stylesheet" href="{% static "main.css" %}?{% random_int 100000 500000 %} ">
|
|
|
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
|
|
-
|
|
|
- <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
|
|
|
- <script src="{% static "vycontrol.js" %}?{% random_int 100000 500000 %} "></script>
|
|
|
-
|
|
|
- <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">
|
|
|
-
|
|
|
-
|
|
|
- <title>{% block header_title %}{% endblock %} - VyControl</title>
|
|
|
+ <title>{% block header_title %}{% endblock %} - VyControl</title>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
+ <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
|
|
+ <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
|
|
|
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
|
|
+ integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
|
|
+ crossorigin="anonymous">
|
|
|
+ <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css"
|
|
|
+ integrity="sha256-+bdRwc0NKw+Rhi25h/7Z3aSHWLFeb0LKZ3lrRfSyFwI="
|
|
|
+ crossorigin="anonymous">
|
|
|
+ <script
|
|
|
+ src="https://code.jquery.com/jquery-3.6.0.min.js"
|
|
|
+ integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
|
|
+ crossorigin="anonymous"></script>
|
|
|
+ <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
|
|
|
+ integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
|
|
|
+ crossorigin="anonymous"></script>
|
|
|
+
|
|
|
+ <link rel="stylesheet" href="{% static "main.css" %}?{% random_int 100000 500000 %} ">
|
|
|
+ <script src="{% static "vycontrol.js" %}?{% random_int 100000 500000 %} "></script>
|
|
|
</head>
|
|
|
<body >
|
|
|
|
|
@@ -49,8 +50,7 @@
|
|
|
</select>
|
|
|
|
|
|
|
|
|
- <span id="menu-username"><a href="{% url 'accounts:accounts-profile' %}"><i class="material-icons" id="icon-username">person</i>
|
|
|
- {% block username %}{% endblock %}</a></span> <span id="vycontrol-config-menu"> <a href="{% url 'accounts-logout' %}">Logout</a></span>
|
|
|
+ <span id="menu-username"><a href="{% url 'accounts:accounts-profile' %}"><i class="material-icons" id="icon-username">person</i>{% block username %}{% endblock %}</a></span> <span id="vycontrol-config-menu"> <a href="{% url 'accounts-logout' %}">Logout</a></span>
|
|
|
|
|
|
|
|
|
</p>
|
|
@@ -70,7 +70,7 @@
|
|
|
|
|
|
<h2>Router</h2>
|
|
|
|
|
|
- <ul>
|
|
|
+ <ul class="menuleft">
|
|
|
<li><a href="{% url 'interface:interface-list' %}">Interfaces</a></li>
|
|
|
<li><a href="{% url 'firewall:firewall-list' %}">Firewall</a></li>
|
|
|
<li><a href="{% url 'static:static-list' %}">Static Routes</a></li>
|
|
@@ -81,14 +81,14 @@
|
|
|
|
|
|
{% if is_superuser %}
|
|
|
<h2>VyControl Administrator</h2>
|
|
|
- <ul>
|
|
|
+ <ul class="menuleft">
|
|
|
<li><a href="{% url 'config:instances' %}">Instances</a></li>
|
|
|
<li><a href="{% url 'config:users-list' %}">Users</a></li>
|
|
|
<li><a href="{% url 'config:groups-list' %}">Groups</a></li>
|
|
|
</ul>
|
|
|
{% else %}
|
|
|
<h2>VyControl</h2>
|
|
|
- <ul>
|
|
|
+ <ul class="menuleft">
|
|
|
<li><a href="{% url 'config:instances' %}">Instances</a></li>
|
|
|
</ul>
|
|
|
{% endif %}
|
|
@@ -130,15 +130,14 @@
|
|
|
</div>
|
|
|
{% endif %}
|
|
|
|
|
|
+{% if creditsactive %}
|
|
|
<hr>
|
|
|
<div class="container" id="credits">
|
|
|
- <a href="https://vycontrol.com/">VyControl VyOS FrontEnd</a>
|
|
|
-</div></hr>
|
|
|
-
|
|
|
- <!-- Optional JavaScript -->
|
|
|
- <!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
|
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
|
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
|
|
|
- </body>
|
|
|
+ <a href="https://vycontrol.com/">VyControl</a>
|
|
|
+</div>
|
|
|
+{% endif %}
|
|
|
+
|
|
|
+<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
|
|
|
+</body>
|
|
|
</html>
|
|
|
|