Modifications cosmétiques

This commit is contained in:
Jean-Christophe Engel 2025-02-18 12:13:56 +01:00
parent 0af9cee03c
commit 92b79b75dc
12 changed files with 26 additions and 26 deletions

View File

@ -3,7 +3,7 @@
<nav class="tabs"> <nav class="tabs">
{{if $current == 'inventaire'}} {{if $current == 'inventaire'}}
<aside> <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"}} {{:linkbutton label="Ajouter une catégorie" shape="plus" href="categories/add_category.html" target="_dialog"}}
{{else}} {{else}}
{{:linkbutton label="Ajouter un nouveau matériel" shape="plus" href="mouvements/ajouter_entree.html" target="_dialog"}} {{: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> <li {{if $subcurrent == 'nonproprio'}} class="current"{{/if}}><a href="{{$module.url}}index.html?prop=0">Matériels temporaires</a></li>
</ul> </ul>
{{if $subsubcurrent == 'mouvements'}} {{if $subsubcurrent == 'historique'}}
<ul class="sub"> <ul class="sub">
<li class="title"><strong>Mouvements de {{$eqpmt}} ({{$category}})</strong></li> <li class="title"><strong>Historique — {{$eqpmt}} ({{$category}})</strong></li>
</ul> </ul>
{{/if}} {{/if}}
{{elseif $current == 'config'}} {{elseif $current == 'config'}}

View File

@ -30,7 +30,7 @@
{{/load}} {{/load}}
{{:admin_header title="Gestion des matériels" current="module_equipment"}} {{: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.ok}}
{{if $_GET.msg == "modification"}} {{if $_GET.msg == "modification"}}

View File

@ -95,7 +95,7 @@
href="mouvements/entrees/repertorie.html?key=%s"|args:$eqpmt_key href="mouvements/entrees/repertorie.html?key=%s"|args:$eqpmt_key
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Mouvements" label="Historique"
href="historique.html?key=%s&prop=1"|args:$eqpmt_key href="historique.html?key=%s&prop=1"|args:$eqpmt_key
shape="table"}} shape="table"}}
{{:linkbutton {{:linkbutton

View File

@ -82,7 +82,7 @@
href="mouvements/entrees/repertorie.html?key=%s"|args:$eqpmt_key href="mouvements/entrees/repertorie.html?key=%s"|args:$eqpmt_key
target="_dialog"}} target="_dialog"}}
{{:linkbutton {{:linkbutton
label="Mouvements" label="Historique"
href="historique.html?key=%s&prop=0"|args:$eqpmt_key href="historique.html?key=%s&prop=0"|args:$eqpmt_key
shape="table"}} shape="table"}}
{{:linkbutton {{:linkbutton

View File

@ -143,7 +143,7 @@
{{/if}} {{/if}}
{{/form}} {{/form}}
{{:admin_header title="Dupliquer une %s"|args:$msg_direction current="module_equipment"}} {{:admin_header title="Dupliquer un mouvement" current="module_equipment"}}
{{:form_errors}} {{:form_errors}}
{{* {{*

View File

@ -62,7 +62,7 @@
{{* formulaire de saisie d'une entrée de matériel *}} {{* formulaire de saisie d'une entrée de matériel *}}
<form method="post" action=""> <form method="post" action="">
<div class="informations"> <fieldset class="informations">
<legend>Informations matériel</legend> <legend>Informations matériel</legend>
<dl class="describe"> <dl class="describe">
<dt>Matériel</dt> <dt>Matériel</dt>
@ -70,7 +70,7 @@
<dt>Catégorie</dt> <dt>Catégorie</dt>
<dd>{{$category.name}}</dd> <dd>{{$category.name}}</dd>
</dl> </dl>
</div> </fieldset>
<fieldset class="entree"> <fieldset class="entree">
<legend>Ajouter une entrée de matériel</legend> <legend>Ajouter une entrée de matériel</legend>
<dl> <dl>

View File

@ -74,7 +74,7 @@
{{* formulaire d'entrée de matériel *}} {{* formulaire d'entrée de matériel *}}
<form method="post" action=""> <form method="post" action="">
<div class="informations"> <fieldset class="informations">
<legend>Informations matériel</legend> <legend>Informations matériel</legend>
<dl class="describe"> <dl class="describe">
<dt>Matériel</dt> <dt>Matériel</dt>
@ -84,8 +84,7 @@
<dt>Quantité sortie</dt> <dt>Quantité sortie</dt>
<dd>{{$sorti}}</dd> <dd>{{$sorti}}</dd>
</dl> </dl>
<p><span class="alert">La quantité sortie est celle à la date du jour</span></p> </fieldset>
</div>
<fieldset class="entree"> <fieldset class="entree">
<legend>Ajouter un retour de matériel</legend> <legend>Ajouter un retour de matériel</legend>
<dl> <dl>

View File

@ -135,7 +135,7 @@
{{/if}} {{/if}}
{{/form}} {{/form}}
{{:admin_header title="Modifier une %s"|args:$msg_direction current="module_equipment"}} {{:admin_header title="Modifier un mouvement" current="module_equipment"}}
{{:form_errors}} {{:form_errors}}
{{* {{*

View File

@ -113,7 +113,7 @@
{{* formulaire de sortie de matériel *}} {{* formulaire de sortie de matériel *}}
<form method="post" action=""> <form method="post" action="">
<div class="informations"> <fieldset class="informations">
<legend>Informations matériel</legend> <legend>Informations matériel</legend>
<dl class="describe"> <dl class="describe">
<dt>Matériel</dt> <dt>Matériel</dt>
@ -123,8 +123,7 @@
<dt>Quantité présente</dt> <dt>Quantité présente</dt>
<dd>{{$present}}</dd> <dd>{{$present}}</dd>
</dl> </dl>
<p><span class="alert">La quantité présente est celle à la date du jour</span></p> </fieldset>
</div>
<fieldset class="sortie"> <fieldset class="sortie">
<legend>Ajouter une sortie d'un matériel présent temporairement</legend> <legend>Ajouter une sortie d'un matériel présent temporairement</legend>
<dl> <dl>

View File

@ -130,7 +130,7 @@
{{* formulaire de sortie de matériel *}} {{* formulaire de sortie de matériel *}}
<form method="post" action=""> <form method="post" action="">
<div class="informations"> <fieldset class="informations">
<legend>Informations matériel</legend> <legend>Informations matériel</legend>
<dl class="describe"> <dl class="describe">
<dt>Matériel</dt> <dt>Matériel</dt>
@ -140,8 +140,7 @@
<dt>Quantité disponible</dt> <dt>Quantité disponible</dt>
<dd class="num">{{$dispo}}</dd> <dd class="num">{{$dispo}}</dd>
</dl> </dl>
<p><span class="alert">La quantité indiquée est celle à la date du jour</span></p> </fieldset>
</div>
<fieldset class="sortie"> <fieldset class="sortie">
<legend>Ajouter une sortie</legend> <legend>Ajouter une sortie</legend>
<dl> <dl>

View File

@ -120,13 +120,12 @@
{{:redirect force="../historique.html?ok=1&key=%s&prop=%s&msg=%s"|args:$mvt_suppr.equipment:$_GET.prop:$msg}} {{:redirect force="../historique.html?ok=1&key=%s&prop=%s&msg=%s"|args:$mvt_suppr.equipment:$_GET.prop:$msg}}
{{/form}} {{/form}}
{{:admin_header title="Supprimer une %s"|args:$libelle current="module_equipment"}} {{:admin_header title="Supprimer un mouvement" current="module_equipment"}}
{{:form_errors}} {{:form_errors}}
{{:delete_form {{: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 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é"
}} }}

View File

@ -1,16 +1,14 @@
.informations { .informations {
margin-top : 0.5em; margin-top : 0.5em;
margin-bottom : 0.2em;
padding : 0.5em;
text-align : left;
} }
/*
.informations legend { .informations legend {
font-weight: bold; font-weight: bold;
border-bottom : solid 1px; border-bottom : solid 1px;
margin-bottom : 0.5em; margin-bottom : 0.5em;
} }
*/
.informations dt::after { .informations dt::after {
content: ' :'; content: ' :';
} }
@ -21,4 +19,10 @@
.informations dl.describe > dt { .informations dl.describe > dt {
flex: 0 0 10rem; flex: 0 0 10rem;
margin-right: 0;
}
.informations dl.describe > dd {
margin-top : 0;
margin-left : 0;
} }