mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 12:53:11 +00:00
Add autocomplete on topologie app
This commit is contained in:
parent
ab7cb1de6c
commit
c3000413e0
3 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% endcomment %}
|
||||
|
||||
{% load bootstrap3 %}
|
||||
{% load massive_bootstrap_form %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Topology" %}{% endblock %}
|
||||
|
@ -41,7 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% csrf_token %}
|
||||
{% if topoform %}
|
||||
<h3>{% trans "Specific settings for the switch" %}</h3>
|
||||
{% massive_bootstrap_form topoform 'switch_interface' %}
|
||||
{% bootstrap_form topoform %}
|
||||
{% endif %}
|
||||
{% trans "Confirm" as tr_confirm %}
|
||||
{% bootstrap_button tr_confirm button_type="submit" icon='ok' button_class='btn-success' %}
|
||||
|
|
|
@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% endcomment %}
|
||||
|
||||
{% load bootstrap3 %}
|
||||
{% load massive_bootstrap_form %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Topology" %}{% endblock %}
|
||||
|
@ -37,11 +36,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% endif %}
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
{% massive_bootstrap_form topoform 'room,related,machine_interface,members,vlan_tagged,switch' %}
|
||||
{% bootstrap_form topoform %}
|
||||
{% bootstrap_button action_name icon='ok' button_class='btn-success' %}
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
{{ topoform.media }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% endcomment %}
|
||||
|
||||
{% load bootstrap3 %}
|
||||
{% load massive_bootstrap_form %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Topology" %}{% endblock %}
|
||||
|
@ -46,11 +45,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% csrf_token %}
|
||||
{% if topoform %}
|
||||
<h3>{% blocktrans %}Specific settings for the {{ device }} object{% endblocktrans %}</h3>
|
||||
{% massive_bootstrap_form topoform 'ipv4,machine' mbf_param=i_mbf_param%}
|
||||
{% bootstrap_form topoform %}
|
||||
{% endif %}
|
||||
{% if machineform %}
|
||||
<h3>{% blocktrans %}General settings for the machine linked to the {{ device }} object{% endblocktrans %}</h3>
|
||||
{% massive_bootstrap_form machineform 'user' %}
|
||||
{% bootstrap_form machineform %}
|
||||
{% endif %}
|
||||
{% if domainform %}
|
||||
<h3>{% trans "DNS name" %}</h3>
|
||||
|
|
Loading…
Reference in a new issue