friwall/web/templates/config/edit.html
Timotej Lazar 8d172bfbb1 Add links to edit configuration files directly
Except for networks.json (must incorporate ipsets.json) and nodes.json
(managed with NetBox).

Also increase height for config editor textarea.
2025-10-29 14:17:11 +01:00

12 lines
295 B
HTML

{% extends 'base.html' %}
{% block content %}
<p>
Urejate datoteko <code>{{ name }}.json</code>.
<form id="request" method="POST">
<p><textarea name="text" style="width: 100%; height: 32em;">{{ content }}</textarea>
<p><button id="submit" type="submit">Shrani</button>
</form>
{% endblock %}