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:
parent
331adbd5e4
commit
8d172bfbb1
2 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue