add/change conf-file options; add debug login

This commit is contained in:
lare 2022-11-17 07:20:03 +01:00
parent 1770eeb201
commit c1663e42cc
4 changed files with 23 additions and 14 deletions

View file

@ -16,9 +16,16 @@
</button>
</form>
<form action="" method="post">
<input type="text" name="logincode" id="logincode">
<input type="submit" value="submit">
{% if config["debug-mode"] %}
<form action="" method="post" class="flex">
<label for="debug">Debug login, if you see this in Production contact {{config["MNT"]}}</label><br>
<input type="text" name="mnt" id="mnt" placeholder="YOUR-MNT"><br>
<input type="text" name="asn" id="asn" placeholder="AS4242420000"><br>
<input type="text" name="allowed-v4" id="allowed-v4" placeholder="ipv4 subnet"><br>
<input type="text" name="allowed-v6" id="allowed-v6" placeholder="ipv6 subnet"><br>
<input type="number" name="theanswer" id="theanswer" placeholder="The answer for everything"><br>
<input type="submit" value="login">
</form>
{% endif %}
{% endblock %}