mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-23 16:14:18 +00:00
21 lines
1.2 KiB
HTML
21 lines
1.2 KiB
HTML
{% extends "base.htm" %}
|
|
{% block title %}Modifica rete • estus{% endblock %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>
|
|
{% if action == "add" %}
|
|
Aggiungi rete
|
|
{% elif action == "show" %}
|
|
Modifica rete
|
|
{% endif %}
|
|
</h1>
|
|
</div>
|
|
<form class="form-inline" method="post">
|
|
<input class="form-control" type="text" placeholder="Nome rete" name="nome" {% if net %}value="{{ net.nome }}"{% endif %}>
|
|
<input class="form-control" type="text" placeholder="Network IP" name="network_ip" {% if net %}value="{{ net.network_ip }}"{% endif %}>
|
|
<input class="form-control" type="text" placeholder="Subnet mask (/XX)" pattern="/?[0-9][0-9]?" name="subnet" {% if net %}value="{{ net.subnet }}"{% endif %}>
|
|
<input class="form-control" type="text" placeholder="DNS primario" name="primary_dns" {% if net %}value="{{ net.primary_dns }}"{% endif %}>
|
|
<input class="form-control" type="text" placeholder="DNS secondario" name="secondary_dns" {% if net %}value="{{ net.secondary_dns }}"{% endif %}>
|
|
<input class="btn btn-primary" type="submit">
|
|
</form>
|
|
{% endblock %}
|