add ability to delete peerings
+ format all files + fix "selected_peering" not being defined in /peerings/edit
This commit is contained in:
parent
ff4865f4b6
commit
537400f77a
10 changed files with 464 additions and 238 deletions
|
@ -1,22 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{config["MNT"]}} Autopeering</title>
|
||||
<link rel="stylesheet" href="{{config['base-dir']}}static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="flex flex-row"><div></div><a href="{{config['base-dir']}}">{{config["MNT"]}} Autopeering</a>{% if "login" in session %} <div><a href="{{config['base-dir']}}peerings">manage</a> <a href="{{config['base-dir']}}logout">logout</a></div>{% else %} <a href="{{config['base-dir']}}login?return=/peerings">login</a>{%endif%}</header>
|
||||
<div class="content flex">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<link rel="stylesheet" href="{{config['base-dir']}}static/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="flex flex-row">
|
||||
<div></div>
|
||||
<a href="{{config['base-dir']}}">{{config["MNT"]}} Autopeering</a>{% if
|
||||
"login" in session %}
|
||||
<div>
|
||||
<a href="{{config['base-dir']}}peerings">manage</a>
|
||||
<a href="{{config['base-dir']}}logout">logout</a>
|
||||
</div>
|
||||
{% else %}
|
||||
<a href="{{config['base-dir']}}login?return=/peerings">login</a>{%endif%}
|
||||
</header>
|
||||
<div class="content flex">{% block content %} {% endblock %}</div>
|
||||
<footer class="flex">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div> 🄯 LARE-MNT</div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div>🄯 LARE-MNT</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue