Field position management
This commit is contained in:
parent
aaad6ae454
commit
03b1f92886
6 changed files with 138 additions and 12 deletions
|
|
@ -25,8 +25,9 @@
|
|||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Nom</th>
|
||||
<th class="w-50">Nom</th>
|
||||
<th class="w-25">Type de champ</th>
|
||||
<th class="w-25"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -45,6 +46,18 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-sm btn-outline-primary" href="/admin/fields/{{ Field.ID }}/move-up">
|
||||
<i class="bi-arrow-up me-1"></i>
|
||||
Monter
|
||||
</a>
|
||||
<a class="btn btn-sm btn-outline-primary" href="/admin/fields/{{ Field.ID }}/move-down">
|
||||
<i class="bi-arrow-down me-1"></i>
|
||||
Descendre
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
@ -57,8 +70,9 @@
|
|||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-75">Nom</th>
|
||||
<th class="w-50">Nom</th>
|
||||
<th class="w-25">Type de champ</th>
|
||||
<th class="w-25"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -77,6 +91,18 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-sm btn-outline-primary" href="/admin/fields/{{ Field.ID }}/move-up">
|
||||
<i class="bi-arrow-up me-1"></i>
|
||||
Monter
|
||||
</a>
|
||||
<a class="btn btn-sm btn-outline-primary" href="/admin/fields/{{ Field.ID }}/move-down">
|
||||
<i class="bi-arrow-down me-1"></i>
|
||||
Descendre
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue