Commit 4ab976f3 by Bence Dányi

webui: enhanced user experience

parent f50c8409
......@@ -191,20 +191,17 @@
</tr>
{% endfor %}
<tr>
<th>{% trans "Protokoll" %}</th>
<th colspan="2">Port</th>
<th colspan="3">{% trans "Port/Protocol" %}</th>
</tr>
<tr>
<td>
<td colspan="2">
<input style="min-width:50px;width:50px;" type="text" name="port"/>/
<select style="min-width:50px;" name="proto">
<option value="tcp">tcp</option>
<option value="udp">udp</option>
</select>
</td>
<td>
<input style="min-width:70px;width:70px;" type="text" name="port"/>
</td>
<td>
<input type="submit" style="min-width:3em" value="{% trans "Add" %}" />
</td>
</tr>
......
......@@ -38,11 +38,11 @@
</tr>
<tr{% if i.is_ipv6 %} class="faded"{% endif %}>
<th>{% trans "IPv4 Host" %}{% if i.is_ipv6 %} ({% trans "You are using IPv6" %}){% endif %}:</th>
<td>{{ i.hostname_v4 }}:{{i.port_v4}}</td>
<td>{{ i.hostname_v4 }}<strong>:{{ i.port_v4 }}</strong></td>
</tr>
<tr{% if not i.is_ipv6 %} style="display: none"{% endif %}>
<th>{% trans "IPv6 Host" %}{% if not i.is_ipv6 %} ({% trans "You are using IPv4" %}){% endif %}:</th>
<td>{{ i.hostname_v6 }}:{{ i.port_v6 }}</td>
<td>{{ i.hostname_v6 }}<strong>:{{ i.port_v6 }}</strong></td>
</tr>
<tr>
<th>{% trans "Username" %}:</th>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment