2018-11-26 07:23:33 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
|
<meta name="description" content="">
|
2019-02-12 15:37:54 +00:00
|
|
|
|
<meta name="author" content="Kumi Systems e.U.">
|
2018-11-26 07:23:33 +00:00
|
|
|
|
|
2019-02-02 11:57:15 +00:00
|
|
|
|
<title>{% if title %}{{ title }} – {% endif %}VPN360 Device Administration</title>
|
2018-11-26 07:23:33 +00:00
|
|
|
|
|
2018-11-28 15:38:35 +00:00
|
|
|
|
{% load static %}
|
2019-01-31 16:32:15 +00:00
|
|
|
|
{% load repo %}
|
2019-02-01 08:19:18 +00:00
|
|
|
|
{% load userstatus %}
|
2019-02-01 14:38:37 +00:00
|
|
|
|
{% setUser as user %}
|
2019-02-01 15:34:24 +00:00
|
|
|
|
{% autoescape off %}
|
2019-02-01 08:19:18 +00:00
|
|
|
|
{% updateUserStatus user %}
|
2019-02-01 15:34:24 +00:00
|
|
|
|
{% endautoescape %}
|
2019-01-18 07:19:39 +00:00
|
|
|
|
{% block header %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2019-01-17 18:35:29 +00:00
|
|
|
|
<link href="/bs/dist/css/bootstrap.min.css" rel="stylesheet">
|
2019-01-17 09:54:34 +00:00
|
|
|
|
<link rel="stylesheet" href="/fa/css/all.css">
|
2019-01-17 16:14:41 +00:00
|
|
|
|
<link rel="stylesheet" href="/css/style.css">
|
2019-01-17 19:09:26 +00:00
|
|
|
|
<script src="/jq/dist/jquery.min.js"></script>
|
2019-01-17 18:35:29 +00:00
|
|
|
|
<script src="/bs/dist/js/bootstrap.bundle.min.js"></script>
|
2018-11-26 07:23:33 +00:00
|
|
|
|
|
2019-02-19 15:06:08 +00:00
|
|
|
|
<link rel="icon" type="image/png" href="/img/favicon.png" />
|
|
|
|
|
|
2018-11-26 07:23:33 +00:00
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<a class="navbar-brand" href="/">VPN360 Device Administration</a>
|
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
|
</button>
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
|
|
|
<ul class="navbar-nav ml-auto">
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'devices' %}">Devices</a>
|
2018-11-26 07:23:33 +00:00
|
|
|
|
</li>
|
2019-02-02 12:20:09 +00:00
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'wifi' %}">WiFi</a>
|
2019-02-02 12:20:09 +00:00
|
|
|
|
</li>
|
|
|
|
|
{% if user.is_staff %}
|
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'users' %}">Users</a>
|
2019-02-02 12:20:09 +00:00
|
|
|
|
</li>
|
|
|
|
|
{% endif %}
|
2019-02-02 13:24:15 +00:00
|
|
|
|
{% if user.is_superuser %}
|
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'networks' %}">Networks</a>
|
2019-02-02 13:24:15 +00:00
|
|
|
|
</li>
|
2019-02-11 18:25:32 +00:00
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'organizations' %}">Organizations</a>
|
2019-02-11 18:25:32 +00:00
|
|
|
|
</li>
|
2019-02-02 13:24:15 +00:00
|
|
|
|
{% endif %}
|
2018-11-26 07:23:33 +00:00
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'logout' %}">Logout</a>
|
2018-11-26 07:23:33 +00:00
|
|
|
|
</li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li class="nav-item">
|
2019-02-15 10:52:56 +00:00
|
|
|
|
<a class="nav-link" href="{% url 'two_factor:login' %}">Login</a>
|
2018-11-26 07:23:33 +00:00
|
|
|
|
</li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
|
<br/>
|
|
|
|
|
<h1>{{ title }}</h1>
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% endblock %}
|
2019-01-17 11:48:48 +00:00
|
|
|
|
|
2018-11-26 07:23:33 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2018-11-26 19:55:09 +00:00
|
|
|
|
<footer class="footer">
|
|
|
|
|
<div class="container">
|
2019-02-19 11:54:28 +00:00
|
|
|
|
<span class="text-muted">© <a style="color: rgb(108, 117, 125);" href="https://kumi.systems/">Kumi Systems e.U.</a>{% if user.is_superuser %}<br/>Git Revision: {% getCommit %}{% isLatestCommit %}{% isDirty %}{% elif user.is_authenticated %}<br/><b>Support:</b> <a href="mailto:support@kumi.systems">support@kumi.systems</a>{% endif %}</span>
|
2018-11-26 19:55:09 +00:00
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
|
2018-11-26 07:23:33 +00:00
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|