2017-10-27 09:41:13 +11:00
|
|
|
<div class='main_block'>
|
2017-10-28 20:22:59 +11:00
|
|
|
<text style='margin-top: 10px;'>Résultat:
|
2017-10-27 09:41:13 +11:00
|
|
|
{% set ss='' %}
|
|
|
|
{% if row_count > 1 %}
|
|
|
|
{% set ss='s' %}
|
|
|
|
{% endif %}
|
|
|
|
{{ row_count }} objet{{ ss }} selectionné{{ ss }}
|
|
|
|
</text>
|
|
|
|
<div class='row_block border_bottom'>
|
|
|
|
<label style='width: 200px;' onclick='javascript:update_componants_by_reference("{{ order }}");'>Référence</label>
|
|
|
|
<label class='border_left' style='width: 449px;' onclick='javascript:update_componants_by_designation("{{ order }}");'>Désignation</label>
|
|
|
|
<label class='border_left' style='width: 99px;' onclick='javascript:update_componants_by_quantity("{{ order }}");'>Quantité</label>
|
|
|
|
<label class='border_left' style='width: 149px;' onclick='javascript:update_componants_by_place("{{ order }}");'>Emplacement</label>
|
|
|
|
<label class='border_left' style='width: 99px; cursor: default;'>Action</label>
|
|
|
|
</div>
|
|
|
|
{% set row_class = cycler('odd', 'even') %}
|
|
|
|
{% for componant in componants %}
|
|
|
|
<div class='row_block {{ row_class.next() }}'>
|
2017-10-29 18:31:14 +11:00
|
|
|
<text style='width: 190px;' title='{{ componant.reference }}'>{{ componant.reference }}</text>
|
|
|
|
<text class='border_left' style='width: 439px;' title='{{ componant.designation }}'>{{ componant.designation }}</text>
|
|
|
|
<text class='num border_left' style='width: 89px;' title='{{ componant.quantity }}'>{{ componant.quantity }}</text>
|
|
|
|
<text class='num border_right border_left' style='width: 139px;' title='{{ componant.place }}'>{{ componant.place }}</text>
|
2017-10-27 09:41:13 +11:00
|
|
|
<div class='action_bar_block border_left' style='width: 89px;'>
|
|
|
|
<input
|
|
|
|
type='image'
|
|
|
|
src='/static/images/edit.png'
|
|
|
|
title='Éditer'
|
|
|
|
onclick='javascript:document.location="/componants/{{ componant.id }}"'/>
|
|
|
|
<input
|
|
|
|
type='image'
|
|
|
|
src='/static/images/trash.png'
|
|
|
|
title='Supprimer'
|
|
|
|
onclick='javascript:confirm_componant_delete()?document.location="/componants/delete/{{ componant.id }}":false;'/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<div class='nav_page_block border_top'>
|
|
|
|
<text>
|
|
|
|
<span class='prev_page' onclick='javascript:c_previous_page({{ prevhop }});'><</span>
|
|
|
|
<span class='page_num'>{{ page }} / {{ page_count }}</span>
|
|
|
|
<span class='next_page' onclick='javascript:c_next_page({{ nexthop }})'>></span>
|
|
|
|
</text>
|
|
|
|
</div>
|
|
|
|
</div>
|