Améliorations cosmétiques
This commit is contained in:
parent
1f7d1cc682
commit
5967686228
@ -14,8 +14,8 @@
|
||||
{{* lecture config (défaut ou enregistrée) *}}
|
||||
{{:include file="../_get_config.html" keep="config"}}
|
||||
|
||||
{{:debug config.input_nature=$config.input_nature config.input_nature=$config.input_nature}}
|
||||
{{:debug mvt=$_GET.mvt}}
|
||||
{{*:debug config.input_nature=$config.input_nature config.input_nature=$config.input_nature*}}
|
||||
{{*:debug mvt=$_GET.mvt*}}
|
||||
{{#form on="save"}}
|
||||
{{#foreach from=$config.input_nature key="label" item="type"}}
|
||||
{{:debug key=$label item=$type}}
|
||||
@ -53,7 +53,7 @@
|
||||
{{:admin_header title="Gestion des matériels" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
<form method="post" action="">
|
||||
<form method="post" action="" data-focus="1">
|
||||
<fieldset>
|
||||
<legend>Modifier le libellé</legend>
|
||||
<dl>
|
||||
|
@ -59,17 +59,20 @@
|
||||
{{:redirect force="../../index.html?ok=1&msg=entrée&prop=%s"|args:$prop}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Entrée de matériel" current="module_equipment"}}
|
||||
{{:admin_header title="Entrée de matériel" custom_css="./../../style.css" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{* formulaire de saisie d'une entrée de matériel *}}
|
||||
<form method="post" action="">
|
||||
<fieldset class="header">
|
||||
<dl>
|
||||
<dt><strong>Matériel : </strong>{{$equipment.designation}}</dt>
|
||||
<dt><strong>Catégorie : </strong>{{$category.name}}</dt>
|
||||
<div class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
<dd>{{$equipment.designation}}</dd>
|
||||
<dt>Catégorie</dt>
|
||||
<dd>{{$category.name}}</dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
</div>
|
||||
<fieldset class="entree">
|
||||
<legend>Ajouter une entrée de matériel</legend>
|
||||
<dl>
|
||||
|
@ -60,7 +60,7 @@
|
||||
{{:redirect force="../../historique.html?ok=1&key=%s&prop=1&msg=retour"|args:$_GET.key}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Retour de matériel" current="module_equipment"}}
|
||||
{{:admin_header title="Retour de matériel" custom_css="./../../style.css" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
@ -76,14 +76,18 @@
|
||||
|
||||
{{* formulaire d'entrée de matériel *}}
|
||||
<form method="post" action="">
|
||||
<fieldset class="header">
|
||||
<dl>
|
||||
<dt><strong>Matériel : </strong>{{$equipment.designation}}</dt>
|
||||
<dt><strong>Catégorie : </strong>{{$cat_name}}</dt>
|
||||
<dt><strong>Quantité sortie : </strong>{{$sorti}}</dt>
|
||||
<div class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
<dd>{{$equipment.designation}}</dd>
|
||||
<dt>Catégorie</dt>
|
||||
<dd>{{$cat_name}}</dd>
|
||||
<dt>Quantité sortie</dt>
|
||||
<dd>{{$sorti}}</dd>
|
||||
</dl>
|
||||
<p><span class="alert">La quantité sortie est celle à la date du jour</span></p>
|
||||
</fieldset>
|
||||
</div>
|
||||
<fieldset class="entree">
|
||||
<legend>Ajouter un retour de matériel</legend>
|
||||
<dl>
|
||||
|
@ -101,7 +101,7 @@
|
||||
{{:redirect force="../../historique.html?ok=1&key=%s&prop=0&msg=sortie"|args:$_GET.key}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Sortie de matériel" current="module_equipment"}}
|
||||
{{:admin_header title="Sortie de matériel" custom_css="./../../style.css" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
@ -115,14 +115,18 @@
|
||||
|
||||
{{* formulaire de sortie de matériel *}}
|
||||
<form method="post" action="">
|
||||
<fieldset class="header">
|
||||
<dl>
|
||||
<dt><strong>Matériel : </strong>{{$equipment.designation}}</dt>
|
||||
<dt><strong>Catégorie : </strong>{{$cat_name}}</dt>
|
||||
<dt><strong>Quantité présente : </strong>{{$present}}</dt>
|
||||
<div class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
<dd>{{$equipment.designation}}</dd>
|
||||
<dt>Catégorie</dt>
|
||||
<dd>{{$cat_name}}</dd>
|
||||
<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>
|
||||
</fieldset>
|
||||
</div>
|
||||
<fieldset class="sortie">
|
||||
<legend>Ajouter une sortie d'un matériel présent temporairement</legend>
|
||||
<dl>
|
||||
|
@ -118,7 +118,7 @@
|
||||
{{:redirect force="../../historique.html?ok=1&key=%s&prop=1&msg=sortie"|args:$_GET.key}}
|
||||
{{/form}}
|
||||
|
||||
{{:admin_header title="Sortie de matériel" current="module_equipment"}}
|
||||
{{:admin_header title="Sortie de matériel" custom_css="./../../style.css" current="module_equipment"}}
|
||||
{{:form_errors}}
|
||||
|
||||
{{* Extraire et compiler les infos de la base *}}
|
||||
@ -135,14 +135,18 @@
|
||||
|
||||
{{* formulaire de sortie de matériel *}}
|
||||
<form method="post" action="">
|
||||
<fieldset class="header">
|
||||
<dl>
|
||||
<dt><strong>Matériel : </strong>{{$equipment.designation}}</dt>
|
||||
<dt><strong>Catégorie : </strong>{{$cat_name}}</dt>
|
||||
<dt><strong>Quantité disponible : </strong>{{$dispo}}</dt>
|
||||
<div class="informations">
|
||||
<legend>Informations matériel</legend>
|
||||
<dl class="describe">
|
||||
<dt>Matériel</dt>
|
||||
<dd>{{$equipment.designation}}</dd>
|
||||
<dt>Catégorie</dt>
|
||||
<dd>{{$cat_name}}</dd>
|
||||
<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>
|
||||
</fieldset>
|
||||
</div>
|
||||
<fieldset class="sortie">
|
||||
<legend>Ajouter une sortie</legend>
|
||||
<dl>
|
||||
|
24
style.css
Normal file
24
style.css
Normal file
@ -0,0 +1,24 @@
|
||||
.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: ' :';
|
||||
}
|
||||
|
||||
.informations dl.describe {
|
||||
margin : 0;
|
||||
}
|
||||
|
||||
.informations dl.describe > dt {
|
||||
flex: 0 0 10rem;
|
||||
}
|
Loading…
Reference in New Issue
Block a user