remove all css style in templates, and replace them with class ruler and num
This commit is contained in:
parent
c3473b2be3
commit
4518f43532
BIN
materiels.tar.gz
BIN
materiels.tar.gz
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="categories"}
|
||||
<!-- -->
|
||||
<!-- title -->
|
||||
<h2 style="text-align: center;">{$cat_name}</h2>
|
||||
<h2 class="ruler">{$cat_name}</h2>
|
||||
<!-- -->
|
||||
<br>
|
||||
<!-- table with list of equipments owned -->
|
||||
@ -10,22 +10,22 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="4" style="text-align: center;"><h3>Matériel dont l'association est propriétaire</h3></th>
|
||||
<th colspan="4"><h3 class="ruler">Matériel dont l'association est propriétaire</h3></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Désignation</b></th>
|
||||
<th style="text-align: center;"><b>Stock</b></th>
|
||||
<th style="text-align: center;"><b>Sortie</b></th>
|
||||
<th style="text-align: center;"><b>Disponible</b></th>
|
||||
<th class="num"><b>Stock</b></th>
|
||||
<th class="num"><b>Sortie</b></th>
|
||||
<th class="num"><b>Disponible</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$eqmts_owned item="eqmt"}
|
||||
<tr>
|
||||
<td>{$eqmt.designation}</td>
|
||||
<td style="text-align: center;">{$eqmt.owned}</td>
|
||||
<td style="text-align: center;">{$eqmt.owned_out}</td>
|
||||
<td style="text-align: center;">{$eqmt.owned - $eqmt.owned_out}</td>
|
||||
<td class="num">{$eqmt.owned}</td>
|
||||
<td class="num">{$eqmt.owned_out}</td>
|
||||
<td class="num">{$eqmt.owned - $eqmt.owned_out}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
@ -37,18 +37,18 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2" style="text-align: center;"><h3>Matériel dont l'association n'est pas propriétaire (emprunté)</h3></th>
|
||||
<th colspan="2"><h3 class="ruler">Matériel dont l'association n'est pas propriétaire (emprunté)</h3></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Désignation</b></th>
|
||||
<th style="text-align: center;"><b>Nombre</b></th>
|
||||
<th class="num"><b>Nombre</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$eqmts_no_owned item="eqmt"}
|
||||
<tr>
|
||||
<td>{$eqmt.designation}</td>
|
||||
<td style="text-align: center;">{$eqmt.no_owned}</td>
|
||||
<td class="num">{$eqmt.no_owned}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
@ -60,7 +60,7 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: center;"><h3>Matériel dont l'association n'est plus en possession</h3></th>
|
||||
<th><h3 class="ruler">Matériel dont l'association n'est plus en possession</h3></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Désignation</b></th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="index"}
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<h2 style="text-align: center;">Historique des entrées / sorties</h2>
|
||||
<h2 class="ruler">Historique des entrées / sorties</h2>
|
||||
|
||||
<br>
|
||||
|
||||
@ -11,15 +11,15 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5" style="text-align: center;">
|
||||
<h3>{$eqmt_requested.designation} - {$eqmt_requested.category} -</h3>
|
||||
<th colspan="5">
|
||||
<h3 class="ruler">{$eqmt_requested.designation} | {$eqmt_requested.category}</h3>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Date</b></th>
|
||||
<th><b>Sens</b></th>
|
||||
<th><b>Type</b></th>
|
||||
<th><b>Nombre</b></th>
|
||||
<th class="num"><b>Nombre</b></th>
|
||||
<th><b>Remarques</b></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -33,7 +33,7 @@
|
||||
<td>Entrée</td>
|
||||
{/if}
|
||||
<td>{$mvt.kind}</td>
|
||||
<td>{$mvt.equipment_number}</td>
|
||||
<td class="num">{$mvt.equipment_number}</td>
|
||||
<td>{$mvt.additional_comment}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- nav bar -->
|
||||
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="index"}
|
||||
<!-- -->
|
||||
<h2 style="text-align: center;">Matériel dont l'association est propriétaire</h2>
|
||||
<h2 class="ruler">Matériel dont l'association est propriétaire</h2>
|
||||
|
||||
<br>
|
||||
<!-- tables for equipments owned -->
|
||||
@ -10,13 +10,13 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5" style="text-align: center;"><h3>{$cat}</h3></th>
|
||||
<th colspan="5"><h3 class="ruler">{$cat}</h3></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Désignation</b></th>
|
||||
<th style="text-align: center;"><b>Stock</b></th>
|
||||
<th style="text-align: center;"><b>Sortie</b></th>
|
||||
<th style="text-align: center;"><b>Disponible</b></th>
|
||||
<th class="num"><b>Stock</b></th>
|
||||
<th class="num"><b>Sortie</b></th>
|
||||
<th class="num"><b>Disponible</b></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -24,10 +24,10 @@
|
||||
{foreach from=$eqmts item="eqmt"}
|
||||
<tr>
|
||||
<td>{$eqmt.designation}</td>
|
||||
<td style="text-align: center;">{$eqmt.owned}</td>
|
||||
<td style="text-align: center;">{$eqmt.owned_out}</td>
|
||||
<td style="text-align: center;">{$eqmt.owned - $eqmt.owned_out}</td>
|
||||
<td class="actions" style="text-align: center;">
|
||||
<td class="num">{$eqmt.owned}</td>
|
||||
<td class="num">{$eqmt.owned_out}</td>
|
||||
<td class="num">{$eqmt.owned - $eqmt.owned_out}</td>
|
||||
<td class="actions">
|
||||
{linkbutton shape="edit" label="Historique des entrées / sorties" href="historique.php?id=%d"|args:$eqmt.id}
|
||||
{linkbutton shape="edit" label="Modifier" href="modifier_materiel.php?id=%d"|args:$eqmt.id}
|
||||
</td>
|
||||
@ -44,7 +44,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
<h2 style="text-align: center;">Matériel dont l'association n'est pas propriétaire (emprunté)</h2>
|
||||
<h2 class="ruler">Matériel dont l'association n'est pas propriétaire (emprunté)</h2>
|
||||
|
||||
<br>
|
||||
<!-- tables for equipments no owned -->
|
||||
@ -53,11 +53,11 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5" style="text-align: center;"><h3>{$cat}</h3></th>
|
||||
<th colspan="3"><h3 class="ruler">{$cat}</h3></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Désignation</b></th>
|
||||
<th style="text-align: center;"><b>Nombre</b></th>
|
||||
<th class="num"><b>Nombre</b></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -65,8 +65,8 @@
|
||||
{foreach from=$eqmts item="eqmt"}
|
||||
<tr>
|
||||
<td>{$eqmt.designation}</td>
|
||||
<td style="text-align: center;">{$eqmt.no_owned}</td>
|
||||
<td class="actions" style="text-align: center;">
|
||||
<td class="num">{$eqmt.no_owned}</td>
|
||||
<td class="actions">
|
||||
{linkbutton shape="edit" label="Historique des entrées / sorties" href="historique.php?id=%d"|args:$eqmt.id}
|
||||
{linkbutton shape="edit" label="Modifier" href="modifier_materiel.php?id=%d"|args:$eqmt.id}
|
||||
</td>
|
||||
@ -83,7 +83,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
<h2 style="text-align: center;">Matériel dont l'association n'est plus en possession</h2>
|
||||
<h2 class="ruler">Matériel dont l'association n'est plus en possession</h2>
|
||||
|
||||
<br>
|
||||
<!-- tables for equipments just listed -->
|
||||
@ -92,7 +92,7 @@
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5" style="text-align: center;"><h3>{$cat}</h3></th>
|
||||
<th colspan="2"><h3 class="ruler">{$cat}</h3></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><b>Désignation</b></th>
|
||||
@ -103,7 +103,7 @@
|
||||
{foreach from=$eqmts item="eqmt"}
|
||||
<tr>
|
||||
<td>{$eqmt.designation}</td>
|
||||
<td class="actions" style="text-align: center;">
|
||||
<td class="actions">
|
||||
{linkbutton shape="edit" label="Historique des entrées / sorties" href="historique.php?id=%d"|args:$eqmt.id}
|
||||
{linkbutton shape="edit" label="Modifier" href="modifier_materiel.php?id=%d"|args:$eqmt.id}
|
||||
</td>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<thead>
|
||||
<th><b>Date</b></th>
|
||||
<th><b>Type</b></th>
|
||||
<th><b>Nombre</b></th>
|
||||
<th class="num"><b>Nombre</b></th>
|
||||
<th><b>Matériel</b></th>
|
||||
<th><b>Remarques</b></th>
|
||||
<th></th>
|
||||
@ -14,7 +14,7 @@
|
||||
<tr>
|
||||
<td>{$mvt.mvt_date|date_format:'%d/%m/%y'}</td>
|
||||
<td>{$mvt.kind}</td>
|
||||
<td>{$mvt.equipment_number}</td>
|
||||
<td class="num">{$mvt.equipment_number}</td>
|
||||
<td>{$mvt.equipment}</td>
|
||||
<td>{$mvt.additional_comment}</td>
|
||||
<td class="actions">
|
||||
|
Loading…
Reference in New Issue
Block a user