Blocks in view: group.form.*
This commit is contained in:
parent
937515997c
commit
8ac65dc399
|
@ -1,17 +1,24 @@
|
|||
<form class='valid'>
|
||||
{% block form_tag %} <form class='valid'> {% endblock %}
|
||||
|
||||
<input id='create_name' type='text' placeholder='Nom'><br>
|
||||
<span class='error-msg create_name'></span><br>
|
||||
{% block input %}
|
||||
|
||||
<select id='create_class'>
|
||||
<option value='-' selected disabled>Type de groupe</option>
|
||||
<option value='0'>utilisateurs</option>
|
||||
<option value='1'>machines</option>
|
||||
</select>
|
||||
<input id='create_name' type='text' placeholder='Nom'><br>
|
||||
<span class='error-msg create_name'></span><br>
|
||||
|
||||
<span class='error-msg create_class'></span><br>
|
||||
<select id='create_class'>
|
||||
<option value='-' selected disabled>Type de groupe</option>
|
||||
<option value='0'>utilisateurs</option>
|
||||
<option value='1'>machines</option>
|
||||
</select>
|
||||
|
||||
<span class='error-msg create_class'></span><br>
|
||||
|
||||
<button id='create_submit'>Créer</button>
|
||||
{% endblock %}
|
||||
|
||||
{% block submit %}
|
||||
|
||||
<button id='create_submit'>Créer</button>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
</form>
|
|
@ -1,20 +1,44 @@
|
|||
<form class='neutral'>
|
||||
{% block form_tag %} <form class='neutral'> {% endblock %}
|
||||
|
||||
<!-- Recherche de groupe -->
|
||||
<input id='edit_search_keyword' type='text' class='search' placeholder='Recherche...'><br>
|
||||
<input id='edit_search_id' type='hidden' value=''>
|
||||
{% block search %}
|
||||
|
||||
<!-- Indice du resultat -->
|
||||
<span class='edit_search_view'>groupe <span class='edit_search_num'>0</span> sur <span class='edit_search_sum'>0</span></span><br><br>
|
||||
<button id='edit_search_submit' class='search'>Trouver/Suivant</button><br>
|
||||
{% block search_input %}
|
||||
|
||||
<input id='edit_search_keyword' type='text' class='search' placeholder='Recherche...'><br>
|
||||
<input id='edit_search_id' type='hidden' value=''>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<!-- Indice du resultat -->
|
||||
{% block search_submit %}
|
||||
|
||||
<span class='edit_search_view'>groupe <span class='edit_search_num'>0</span> sur <span class='edit_search_sum'>0</span></span><br><br>
|
||||
<button id='edit_search_submit' class='search'>Trouver/Suivant</button><br>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<br><br><hr class='OR' data-label='PUIS' /><br><br>
|
||||
|
||||
<!-- Modification de groupe -->
|
||||
<input id='edit_name' type='text' placeholder='Nom'><br>
|
||||
<span class='error-msg edit_name'></span><br>
|
||||
{% block edit %}
|
||||
|
||||
<input id='edit_class' type='text' placeholder='Type de groupe' disabled><br>
|
||||
<button id='edit_submit' disabled>Modifier</button>
|
||||
{% block edit_input %}
|
||||
|
||||
<input id='edit_name' type='text' placeholder='Nom'><br>
|
||||
<span class='error-msg edit_name'></span><br>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block edit_submit %}
|
||||
|
||||
<input id='edit_class' type='text' placeholder='Type de groupe' disabled><br>
|
||||
<button id='edit_submit' disabled>Modifier</button>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
</form>
|
|
@ -1,18 +1,43 @@
|
|||
<form class='invalid'>
|
||||
{% block form_tag %} <form class='invalid'> {% endblock %}
|
||||
|
||||
<!-- Recherche de groupe -->
|
||||
<input id='remove_search_keyword' type='text' class='search' placeholder='Recherche...'><br>
|
||||
<input id='remove_search_id' type='hidden' value=''>
|
||||
{% block search %}
|
||||
|
||||
<!-- Indice du resultat -->
|
||||
<span class='remove_search_view'>groupe <span class='remove_search_num'>0</span> sur <span class='remove_search_sum'>0</span></span><br><br>
|
||||
<button id='remove_search_submit' class='search'>Trouver/Suivant</button><br>
|
||||
{% block search_input %}
|
||||
|
||||
<input id='remove_search_keyword' type='text' class='search' placeholder='Recherche...'><br>
|
||||
<input id='remove_search_id' type='hidden' value=''>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<!-- Indice du resultat -->
|
||||
{% block search_submit %}
|
||||
|
||||
<span class='remove_search_view'>groupe <span class='remove_search_num'>0</span> sur <span class='remove_search_sum'>0</span></span><br><br>
|
||||
<button id='remove_search_submit' class='search'>Trouver/Suivant</button><br>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<br><br><hr class='OR' data-label='PUIS' /><br><br>
|
||||
|
||||
<!-- Suppression de groupe -->
|
||||
<input id='remove_name' type='text' placeholder='Nom' disabled><br>
|
||||
<input id='remove_class' type='text' placeholder='Type de groupe' disabled><br>
|
||||
<button id='remove_submit' disabled>Supprimer</button>
|
||||
{% block remove %}
|
||||
|
||||
{% block remove_input %}
|
||||
|
||||
<input id='remove_name' type='text' placeholder='Nom' disabled><br>
|
||||
<input id='remove_class' type='text' placeholder='Type de groupe' disabled><br>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block remove_submit %}
|
||||
|
||||
<button id='remove_submit' disabled>Supprimer</button>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
</form>
|
Loading…
Reference in New Issue