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

@ -17,10 +17,13 @@
<dt><a href="{{ url_for('ipsets.index') }}">Omrežja</a>
<dd>območja IP, naslovi NAT in skupine za VPN
<dt><a href="{{ url_for('rules.index') }}">Pravila</a>
<a href="{{ url_for('config.edit', name='rules') }}" title="JSON"></a>
<dd>pravila za posredovanje prometa
<dt><a href="{{ url_for('vpn.custom') }}">VPN po meri</a>
<a href="{{ url_for('config.edit', name='wireguard') }}" title="JSON"></a>
<dd>urejanje ključev za oddaljeni dostop do posebnih omrežij
<dt><a href="{{ url_for('config.index') }}">Nastavitve</a>
<a href="{{ url_for('config.edit', name='settings') }}" title="JSON"></a>
<dd>nastavitve aplikacije FRIwall
</dl>
</section>