Modifications cosmétiques
This commit is contained in:
parent
0af9cee03c
commit
92b79b75dc
@ -3,7 +3,7 @@
|
||||
<nav class="tabs">
|
||||
{{if $current == 'inventaire'}}
|
||||
<aside>
|
||||
{{if $subcurrent == null && $cat == 0}}
|
||||
{{if $subsubcurrent == null && $cat == 0}}
|
||||
{{:linkbutton label="Ajouter une catégorie" shape="plus" href="categories/add_category.html" target="_dialog"}}
|
||||
{{else}}
|
||||
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}}
|
||||
@ -22,9 +22,9 @@
|
||||
<li {{if $subcurrent == 'nonproprio'}} class="current"{{/if}}><a href="{{$module.url}}index.html?prop=0">Matériels temporaires</a></li>
|
||||
</ul>
|
||||
|
||||
{{if $subsubcurrent == 'mouvements'}}
|
||||
{{if $subsubcurrent == 'historique'}}
|
||||
<ul class="sub">
|
||||
<li class="title"><strong>Mouvements de {{$eqpmt}} ({{$category}})</strong></li>
|
||||
<li class="title"><strong>Historique — {{$eqpmt}} ({{$category}})</strong></li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{elseif $current == 'config'}}
|
||||
|
@ -30,7 +30,7 @@
|
||||
{{/load}}
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
|
||||
{{:include file="./_nav.html" current="inventaire" subcurrent=$proprio subsubcurrent="mouvements" eqpmt=$equipment.designation category=$category.name}}
|
||||
{{:include file="./_nav.html" current="inventaire" subcurrent=$proprio subsubcurrent="historique" eqpmt=$equipment.designation category=$category.name}}
|
||||
|
||||
{{if $_GET.ok}}
|
||||
{{if $_GET.msg == "modification"}}
|
||||
|
@ -95,7 +95,7 @@
|
||||
href="mouvements/entrees/repertorie.html?key=%s"|args:$eqpmt_key
|
||||
target="_dialog"}}
|
||||
{{:linkbutton
|
||||
label="Mouvements"
|
||||
label="Historique"
|
||||
href="historique.html?key=%s&prop=1"|args:$eqpmt_key
|
||||
shape="table"}}
|
||||
{{:linkbutton
|
||||
|
@ -82,7 +82,7 @@
|
||||
href="mouvements/entrees/repertorie.html?key=%s"|args:$eqpmt_key
|
||||
target="_dialog"}}
|
||||
{{:linkbutton
|
||||
label="Mouvements"
|
||||
label="Historique"
|
||||
href="historique.html?key=%s&prop=0"|args:$eqpmt_key
|
||||
shape="table"}}
|
||||
{{:linkbutton
|
||||
|
@ -143,7 +143,7 @@
|
||||
{{/if}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Dupliquer une %s"|args:$msg_direction current="module_equipment"}}
|
||||
{{:admin_header title="Dupliquer un mouvement" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{*
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
{{* formulaire de saisie d'une entrée de matériel *}}
|
||||
<form method="post" action="">
|
||||
<div class="informations">
|
||||
<fieldset class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
@ -70,7 +70,7 @@
|
||||
<dt>Catégorie</dt>
|
||||
<dd>{{$category.name}}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="entree">
|
||||
<legend>Ajouter une entrée de matériel</legend>
|
||||
<dl>
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
{{* formulaire d'entrée de matériel *}}
|
||||
<form method="post" action="">
|
||||
<div class="informations">
|
||||
<fieldset class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
@ -84,8 +84,7 @@
|
||||
<dt>Quantité sortie</dt>
|
||||
<dd>{{$sorti}}</dd>
|
||||
</dl>
|
||||
<p><span class="alert">La quantité sortie est celle à la date du jour</span></p>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="entree">
|
||||
<legend>Ajouter un retour de matériel</legend>
|
||||
<dl>
|
||||
|
@ -135,7 +135,7 @@
|
||||
{{/if}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Modifier une %s"|args:$msg_direction current="module_equipment"}}
|
||||
{{:admin_header title="Modifier un mouvement" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{*
|
||||
|
@ -113,7 +113,7 @@
|
||||
|
||||
{{* formulaire de sortie de matériel *}}
|
||||
<form method="post" action="">
|
||||
<div class="informations">
|
||||
<fieldset class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
@ -123,8 +123,7 @@
|
||||
<dt>Quantité présente</dt>
|
||||
<dd>{{$present}}</dd>
|
||||
</dl>
|
||||
<p><span class="alert">La quantité présente est celle à la date du jour</span></p>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="sortie">
|
||||
<legend>Ajouter une sortie d'un matériel présent temporairement</legend>
|
||||
<dl>
|
||||
|
@ -130,7 +130,7 @@
|
||||
|
||||
{{* formulaire de sortie de matériel *}}
|
||||
<form method="post" action="">
|
||||
<div class="informations">
|
||||
<fieldset class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
@ -140,8 +140,7 @@
|
||||
<dt>Quantité disponible</dt>
|
||||
<dd class="num">{{$dispo}}</dd>
|
||||
</dl>
|
||||
<p><span class="alert">La quantité indiquée est celle à la date du jour</span></p>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="sortie">
|
||||
<legend>Ajouter une sortie</legend>
|
||||
<dl>
|
||||
|
@ -120,13 +120,12 @@
|
||||
{{:redirect force="../historique.html?ok=1&key=%s&prop=%s&msg=%s"|args:$mvt_suppr.equipment:$_GET.prop:$msg}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Supprimer une %s"|args:$libelle current="module_equipment"}}
|
||||
{{:admin_header title="Supprimer un mouvement" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{:delete_form
|
||||
legend="Supprimer cette %s ?"|args:$libelle
|
||||
legend="Supprimer ?"
|
||||
warning="Supprimer « %s (%d) en date du %s » ?"|args:$equipment.designation:$mvt_suppr.amount:$date_suppr
|
||||
info="S'il ne reste aucun mouvement pour ce matériel, le matériel sera supprimé"
|
||||
}}
|
||||
|
||||
|
||||
|
12
style.css
12
style.css
@ -1,16 +1,14 @@
|
||||
.informations {
|
||||
margin-top : 0.5em;
|
||||
margin-bottom : 0.2em;
|
||||
padding : 0.5em;
|
||||
text-align : left;
|
||||
}
|
||||
|
||||
/*
|
||||
.informations legend {
|
||||
font-weight: bold;
|
||||
border-bottom : solid 1px;
|
||||
margin-bottom : 0.5em;
|
||||
}
|
||||
|
||||
*/
|
||||
.informations dt::after {
|
||||
content: ' :';
|
||||
}
|
||||
@ -21,4 +19,10 @@
|
||||
|
||||
.informations dl.describe > dt {
|
||||
flex: 0 0 10rem;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.informations dl.describe > dd {
|
||||
margin-top : 0;
|
||||
margin-left : 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user