diff --git a/machines/templates/machines/aff_alias.html b/machines/templates/machines/aff_alias.html index 17266a6e..5a1bc8f8 100644 --- a/machines/templates/machines/aff_alias.html +++ b/machines/templates/machines/aff_alias.html @@ -28,21 +28,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% trans "Aliases" %} | -- |
---|---|
{% trans "Aliases" %} | ++ |
{{ alias }} | {% can_edit alias %} - {% include 'buttons/edit.html' with href='machines:edit-alias' id=alias.id %} + {% include 'buttons/edit.html' with href='machines:edit-alias' id=alias.id %} {% acl_end %} {% history_button alias %} |
{% trans "Target zone" %} | -{% trans "Record" %} | -- |
---|---|---|
{% trans "Target zone" %} | +{% trans "Record" %} | ++ |
{{ dname.dns_entry }} | {% can_edit dname %} - {% include 'buttons/edit.html' with href='machines:edit-dname' id=dname.id %} + {% include 'buttons/edit.html' with href='machines:edit-dname' id=dname.id %} {% acl_end %} {% history_button dname %} |
{% trans "Extension" %} | -{% trans "'infra' right required" %} | -{% trans "SOA record" %} | -{% trans "A record origin" %} | - {% if ipv6_enabled %} +||
---|---|---|---|---|---|
{% trans "Extension" %} | +{% trans "'infra' right required" %} | +{% trans "SOA record" %} | +{% trans "A record origin" %} | + {% if ipv6_enabled %}{% trans "AAAA record origin" %} | - {% endif %} -- | + {% for extension in extension_list %} - |
{{ extension.name }} | -{{ extension.need_infra|tick }} | -{{ extension.soa }} | -{{ extension.origin }} | - {% if ipv6_enabled %} -{{ extension.origin_v6 }} | - {% endif %} -- {% can_edit extension %} - {% include 'buttons/edit.html' with href='machines:edit-extension' id=extension.id %} - {% acl_end %} - {% history_button extension %} - | -
{{ extension.name }} | +{{ extension.need_infra|tick }} | +{{ extension.soa }} | +{{ extension.origin }} | + {% if ipv6_enabled %} +{{ extension.origin_v6 }} | + {% endif %} ++ {% can_edit extension %} + {% include 'buttons/edit.html' with href='machines:edit-extension' id=extension.id %} + {% acl_end %} + {% history_button extension %} + | +
{% trans "IP type" %} | -{% trans "Extension" %} | -{% trans "'infra' right required" %} | -{% trans "IPv4 range" %} | -{% trans "v6 prefix" %} | -{% trans "DNSSEC reverse v4/v6" %} | -{% trans "On VLAN(s)" %} | -{% trans "Default ports opening" %} | -- |
---|---|---|---|---|---|---|---|---|
{% trans "IP type" %} | +{% trans "Extension" %} | +{% trans "'infra' right required" %} | +{% trans "IPv4 range" %} | +{% trans "v6 prefix" %} | +{% trans "DNSSEC reverse v4/v6" %} | +{% trans "On VLAN(s)" %} | +{% trans "Default ports opening" %} | ++ |
{{ type.type }} | -{{ type.extension }} | -{{ type.need_infra|tick }} | -{{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }}{% if type.ip_network %} on {{ type.ip_network }}{% endif %} | -{{ type.prefix_v6 }}/{{ type.prefix_v6_length }} | -{{ type.reverse_v4|tick }}/{{ type.reverse_v6|tick }} | -{{ type.vlan }} | -{{ type.ouverture_ports }} | -- {% can_edit type %} - {% include 'buttons/edit.html' with href='machines:edit-iptype' id=type.id %} - {% acl_end %} - {% history_button type %} - | -
{{ type.type }} | +{{ type.extension }} | +{{ type.need_infra|tick }} | +{{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }}{% if type.ip_network %} on + {{ type.ip_network }}{% endif %} | +{{ type.prefix_v6 }}/{{ type.prefix_v6_length }} | +{{ type.reverse_v4|tick }}/{{ type.reverse_v6|tick }} | +{{ type.vlan }} | +{{ type.ouverture_ports }} | ++ {% can_edit type %} + {% include 'buttons/edit.html' with href='machines:edit-iptype' id=type.id %} + {% acl_end %} + {% history_button type %} + | +
{% trans "IPv6 addresses" %} | -{% trans "SLAAC" %} | -- |
---|---|---|
{% trans "IPv6 addresses" %} | +{% trans "SLAAC" %} | ++ |
{{ ipv6.ipv6 }} | {{ ipv6.slaac_ip }} | {% can_edit ipv6 %} - {% include 'buttons/edit.html' with href='machines:edit-ipv6list' id=ipv6.id %} + {% include 'buttons/edit.html' with href='machines:edit-ipv6list' id=ipv6.id %} {% acl_end %} {% can_delete ipv6 %} - {% include 'buttons/suppr.html' with href='machines:del-ipv6list' id=ipv6.id %} + {% include 'buttons/suppr.html' with href='machines:del-ipv6list' id=ipv6.id %} {% acl_end %} {% history_button ipv6 %} |
{% if interface.domain.related_domain.all %} - {{ interface.domain }} - + {{ interface.domain }} + {% else %} - {{ interface.domain }} + {{ interface.domain }} {% endif %} | {{ interface.type }} - | +{{ interface.mac_address }} |
IPv4 {{ interface.ipv4 }}
- {% if ipv6_enabled and interface.ipv6 != 'None'%} - IPv6 - + {% if ipv6_enabled and interface.ipv6 != 'None' %} + IPv6 + {% endif %} |
-
{% history_button interface %}
{% can_delete interface %}
- {% include 'buttons/suppr.html' with href='machines:del-interface' id=interface.id %}
+ {% include 'buttons/suppr.html' with href='machines:del-interface' id=interface.id %}
{% acl_end %}
|
|||
-
-
-
|
- |||||||
+
+
+
|
+ |||||||
-
-
-
|
- |||||||
+
+
+
|
+ |||||||
- | |||||||
+ |
{% trans "Machine type" %} | -{% trans "Matching IP type" %} | -- |
---|---|---|
{% trans "Machine type" %} | +{% trans "Matching IP type" %} | ++ |
{{ type.ip_type }} | {% can_edit type %} - {% include 'buttons/edit.html' with href='machines:edit-machinetype' id=type.id %} + {% include 'buttons/edit.html' with href='machines:edit-machinetype' id=type.id %} {% acl_end %} {% history_button type %} |
{% trans "Concerned zone" %} | -{% trans "Priority" %} | -{% trans "Record" %} | -- |
---|---|---|---|
{% trans "Concerned zone" %} | +{% trans "Priority" %} | +{% trans "Record" %} | ++ |
{{ mx.name }} | {% can_edit mx %} - {% include 'buttons/edit.html' with href='machines:edit-mx' id=mx.id %} + {% include 'buttons/edit.html' with href='machines:edit-mx' id=mx.id %} {% acl_end %} {% history_button mx %} |
{% trans "Name" %} | -{% trans "NAS device type" %} | -{% trans "Machine type linked to the NAS device" %} | -{% trans "Access mode" %} | -{% trans "MAC address auto capture" %} | -- | |
---|---|---|---|---|---|---|
{% trans "Name" %} | +{% trans "NAS device type" %} | +{% trans "Machine type linked to the NAS device" %} | +{% trans "Access mode" %} | +{% trans "MAC address auto capture" %} | ++ | |
{{ nas.name }} | -{{ nas.nas_type }} | +{{ nas.nas_type }} | {{ nas.machine_type }} | {{ nas.port_access_mode }} | {{ nas.autocapture_mac|tick }} | {% can_edit nas %} - {% include 'buttons/edit.html' with href='machines:edit-nas' id=nas.id %} + {% include 'buttons/edit.html' with href='machines:edit-nas' id=nas.id %} {% acl_end %} {% history_button nas %} |
{% trans "Concerned zone" %} | -{% trans "Authoritarian interface for the concerned zone" %} | -- |
---|---|---|
{% trans "Concerned zone" %} | +{% trans "Authoritarian interface for the concerned zone" %} | ++ |
{{ ns.ns }} | {% can_edit ns %} - {% include 'buttons/edit.html' with href='machines:edit-ns' id=ns.id %} + {% include 'buttons/edit.html' with href='machines:edit-ns' id=ns.id %} {% acl_end %} {% history_button ns %} |
{% trans "Role name" %} | -{% trans "Specific role" %} | -{% trans "Servers" %} | -- | - |
---|---|---|---|---|
{% trans "Role name" %} | +{% trans "Specific role" %} | +{% trans "Servers" %} | ++ | + |
{{ role.specific_role }} | {% for serv in role.servers.all %}{{ serv }}, {% endfor %} | - {% can_edit role %} - {% include 'buttons/edit.html' with href='machines:edit-role' id=role.id %} - {% acl_end %} - {% history_button role %} - | -
{% trans "Service name" %} | -{% trans "Server" %} | -{% trans "Last regeneration" %} | -{% trans "Regeneration required" %} | -{% trans "Regeneration activated" %} | -
---|---|---|---|---|
{% trans "Service name" %} | +{% trans "Server" %} | +{% trans "Last regeneration" %} | +{% trans "Regeneration required" %} | +{% trans "Regeneration activated" %} | +
{% trans "Name" %} | -{% trans "Mail" %} | -{% trans "Refresh" %} | -{% trans "Retry" %} | -{% trans "Expire" %} | -{% trans "TTL" %} | -- |
---|---|---|---|---|---|---|
{% trans "Name" %} | +{% trans "Mail" %} | +{% trans "Refresh" %} | +{% trans "Retry" %} | +{% trans "Expire" %} | +{% trans "TTL" %} | ++ |
{{ soa.ttl }} | {% can_edit soa %} - {% include 'buttons/edit.html' with href='machines:edit-soa' id=soa.id %} + {% include 'buttons/edit.html' with href='machines:edit-soa' id=soa.id %} {% acl_end %} {% history_button soa %} |
{% trans "Service" %} | -{% trans "Protocol" %} | -{% trans "Extension" %} | -{% trans "TTL" %} | -{% trans "Priority" %} | -{% trans "Weight" %} | -{% trans "Port" %} | -{% trans "Target" %} | -- |
---|---|---|---|---|---|---|---|---|
{% trans "Service" %} | +{% trans "Protocol" %} | +{% trans "Extension" %} | +{% trans "TTL" %} | +{% trans "Priority" %} | +{% trans "Weight" %} | +{% trans "Port" %} | +{% trans "Target" %} | ++ |
{{ srv.target }} | {% can_edit srv %} - {% include 'buttons/edit.html' with href='machines:edit-srv' id=srv.id %} + {% include 'buttons/edit.html' with href='machines:edit-srv' id=srv.id %} {% acl_end %} {% history_button srv %} |
{% trans "SSH public key" %} | -{% trans "Algorithm used" %} | -{% trans "Comment" %} | -- |
---|---|---|---|
{% trans "SSH public key" %} | +{% trans "Algorithm used" %} | +{% trans "Comment" %} | ++ |
{{ sshfp.comment }} | {% can_edit sshfp %} - {% include 'buttons/edit.html' with href='machines:edit-sshfp' id=sshfp.id %} + {% include 'buttons/edit.html' with href='machines:edit-sshfp' id=sshfp.id %} {% acl_end %} {% history_button sshfp %} {% can_delete sshfp %} - {% include 'buttons/suppr.html' with href='machines:del-sshfp' id=sshfp.id %} + {% include 'buttons/suppr.html' with href='machines:del-sshfp' id=sshfp.id %} {% acl_end %} |
{% trans "Concerned zone" %} | -{% trans "Record" %} | -- |
---|---|---|
{% trans "Concerned zone" %} | +{% trans "Record" %} | ++ |
{{ txt.dns_entry }} | {% can_edit txt %} - {% include 'buttons/edit.html' with href='machines:edit-txt' id=txt.id %} + {% include 'buttons/edit.html' with href='machines:edit-txt' id=txt.id %} {% acl_end %} {% history_button txt %} |
{% trans "ID" %} | -{% trans "Name" %} | -{% trans "Comment" %} | -{% trans "IP ranges" %} | -- | ||
---|---|---|---|---|---|---|
{% trans "ID" %} | +{% trans "Name" %} | +{% trans "Comment" %} | +{% trans "IP ranges" %} | ++ | ||
{{ vlan.vlan_id }} | -{{ vlan.name }} | +{{ vlan.name }} | {{ vlan.comment }} | -{% for range in vlan.iptype_set.all %}{{ range }}, {% endfor%} | +{% for range in vlan.iptype_set.all %}{{ range }}, {% endfor %} | {% can_edit vlan %} - {% include 'buttons/edit.html' with href='machines:edit-vlan' id=vlan.id %} + {% include 'buttons/edit.html' with href='machines:edit-vlan' id=vlan.id %} {% acl_end %} {% history_button vlan %} | @@ -53,4 +53,3 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %}
{% trans "Name" %} | -{% trans "TCP (input)" %} | -{% trans "TCP (output)" %} | -{% trans "UDP (input)" %} | -{% trans "UDP (output)" %} | -{% trans "Machines" %} | -- |
---|---|---|---|---|---|---|
{{pl.name}} | -{% for p in pl.tcp_ports_in %}{{p.show_port}}, {%endfor%} | -{% for p in pl.tcp_ports_out %}{{p.show_port}}, {%endfor%} | -{% for p in pl.udp_ports_in %}{{p.show_port}}, {%endfor%} | -{% for p in pl.udp_ports_out %}{{p.show_port}}, {%endfor%} | -
- {% if pl.interface_set.all %}
-
-
- {% endif %}
- | - {% can_edit pl %} - {% include 'buttons/edit.html' with href='machines:edit-portlist' id=pl.id %} - {% acl_end %} - {% can_delete pl %} - {% include 'buttons/suppr.html' with href='machines:del-portlist' id=pl.id %} - {% acl_end %} - | -
{% trans "Name" %} | +{% trans "TCP (input)" %} | +{% trans "TCP (output)" %} | +{% trans "UDP (input)" %} | +{% trans "UDP (output)" %} | +{% trans "Machines" %} | ++ |
---|---|---|---|---|---|---|
{{ pl.name }} | +{% for p in pl.tcp_ports_in %}{{ p.show_port }}, {% endfor %} | +{% for p in pl.tcp_ports_out %}{{ p.show_port }}, {% endfor %} | +{% for p in pl.udp_ports_in %}{{ p.show_port }}, {% endfor %} | +{% for p in pl.udp_ports_out %}{{ p.show_port }}, {% endfor %} | +
+ {% if pl.interface_set.all %}
+
+
+ {% endif %}
+ | + {% can_edit pl %} + {% include 'buttons/edit.html' with href='machines:edit-portlist' id=pl.id %} + {% acl_end %} + {% can_delete pl %} + {% include 'buttons/suppr.html' with href='machines:del-portlist' id=pl.id %} + {% acl_end %} + | +