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.
This commit is contained in:
Timotej Lazar 2025-10-29 14:14:19 +01:00
parent 331adbd5e4
commit 8d172bfbb1
2 changed files with 4 additions and 1 deletions

View file

@ -5,7 +5,7 @@
Urejate datoteko <code>{{ name }}.json</code>.
<form id="request" method="POST">
<p><textarea name="text" style="width: 100%; height: 20em;">{{ content }}</textarea>
<p><textarea name="text" style="width: 100%; height: 32em;">{{ content }}</textarea>
<p><button id="submit" type="submit">Shrani</button>
</form>