début ajout lieu stockage
This commit is contained in:
parent
42210d2c9a
commit
966323acdf
5 changed files with 125 additions and 0 deletions
37
storage/index.html
Normal file
37
storage/index.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{*
|
||||
Afficher les lieux de stockage
|
||||
*}}
|
||||
|
||||
{{:admin_header title="Lieux de stockage" custom_css="./style.css" current="module_equipment"}}
|
||||
|
||||
{{:include file="../_nav.html" current="storage"}}
|
||||
|
||||
{{if $_GET.ok}}
|
||||
{{if $_GET.msg == "ajout"}}
|
||||
<p class="block confirm">Ajout effectué</p>
|
||||
{{elseif $_GET.msg == "suppression"}}
|
||||
<p class="block confirm">Suppression effectuée</p>
|
||||
{{/if}}
|
||||
{{elseif $_GET.err}}
|
||||
<p class="block error">Opération refusée</p>
|
||||
{{/if}}
|
||||
|
||||
{{#list
|
||||
type="storage"
|
||||
select="
|
||||
$$.name AS 'Nom';
|
||||
$$.location AS 'Emplacement'
|
||||
"
|
||||
}}
|
||||
<tr>
|
||||
<td>{{$name}}</td>
|
||||
<td>{{$location}}</td>
|
||||
<td class="actions">
|
||||
{{:linkbutton label="Supprimer" shape="delete" href="delete_storage.html?key=%s"|args:$key target="_dialog"}}
|
||||
</td>
|
||||
</tr>
|
||||
{{/list}}
|
||||
|
||||
{{:admin_footer}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue