remove all css style in templates, and replace them with class ruler and num

This commit is contained in:
JBthePenguin 2021-10-03 14:00:00 +02:00
parent c3473b2be3
commit 4518f43532
6 changed files with 42 additions and 42 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="categories"} {include file="%s_nav.tpl"|args:$plugin_tpl current_nav="categories"}
<!-- --> <!-- -->
<!-- title --> <!-- title -->
<h2 style="text-align: center;">{$cat_name}</h2> <h2 class="ruler">{$cat_name}</h2>
<!-- --> <!-- -->
<br> <br>
<!-- table with list of equipments owned --> <!-- table with list of equipments owned -->
@ -10,22 +10,22 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <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>
<tr> <tr>
<th><b>Désignation</b></th> <th><b>Désignation</b></th>
<th style="text-align: center;"><b>Stock</b></th> <th class="num"><b>Stock</b></th>
<th style="text-align: center;"><b>Sortie</b></th> <th class="num"><b>Sortie</b></th>
<th style="text-align: center;"><b>Disponible</b></th> <th class="num"><b>Disponible</b></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$eqmts_owned item="eqmt"} {foreach from=$eqmts_owned item="eqmt"}
<tr> <tr>
<td>{$eqmt.designation}</td> <td>{$eqmt.designation}</td>
<td style="text-align: center;">{$eqmt.owned}</td> <td class="num">{$eqmt.owned}</td>
<td style="text-align: center;">{$eqmt.owned_out}</td> <td class="num">{$eqmt.owned_out}</td>
<td style="text-align: center;">{$eqmt.owned - $eqmt.owned_out}</td> <td class="num">{$eqmt.owned - $eqmt.owned_out}</td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
@ -37,18 +37,18 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <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>
<tr> <tr>
<th><b>Désignation</b></th> <th><b>Désignation</b></th>
<th style="text-align: center;"><b>Nombre</b></th> <th class="num"><b>Nombre</b></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$eqmts_no_owned item="eqmt"} {foreach from=$eqmts_no_owned item="eqmt"}
<tr> <tr>
<td>{$eqmt.designation}</td> <td>{$eqmt.designation}</td>
<td style="text-align: center;">{$eqmt.no_owned}</td> <td class="num">{$eqmt.no_owned}</td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
@ -60,7 +60,7 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <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>
<tr> <tr>
<th><b>Désignation</b></th> <th><b>Désignation</b></th>

View File

@ -2,7 +2,7 @@
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="index"} {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> <br>
@ -11,15 +11,15 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <tr>
<th colspan="5" style="text-align: center;"> <th colspan="5">
<h3>{$eqmt_requested.designation} - {$eqmt_requested.category} -</h3> <h3 class="ruler">{$eqmt_requested.designation} | {$eqmt_requested.category}</h3>
</th> </th>
</tr> </tr>
<tr> <tr>
<th><b>Date</b></th> <th><b>Date</b></th>
<th><b>Sens</b></th> <th><b>Sens</b></th>
<th><b>Type</b></th> <th><b>Type</b></th>
<th><b>Nombre</b></th> <th class="num"><b>Nombre</b></th>
<th><b>Remarques</b></th> <th><b>Remarques</b></th>
</tr> </tr>
</thead> </thead>
@ -33,7 +33,7 @@
<td>Entrée</td> <td>Entrée</td>
{/if} {/if}
<td>{$mvt.kind}</td> <td>{$mvt.kind}</td>
<td>{$mvt.equipment_number}</td> <td class="num">{$mvt.equipment_number}</td>
<td>{$mvt.additional_comment}</td> <td>{$mvt.additional_comment}</td>
</tr> </tr>
{/foreach} {/foreach}

View File

@ -1,7 +1,7 @@
<!-- nav bar --> <!-- nav bar -->
{include file="%s_nav.tpl"|args:$plugin_tpl current_nav="index"} {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> <br>
<!-- tables for equipments owned --> <!-- tables for equipments owned -->
@ -10,13 +10,13 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <tr>
<th colspan="5" style="text-align: center;"><h3>{$cat}</h3></th> <th colspan="5"><h3 class="ruler">{$cat}</h3></th>
</tr> </tr>
<tr> <tr>
<th><b>Désignation</b></th> <th><b>Désignation</b></th>
<th style="text-align: center;"><b>Stock</b></th> <th class="num"><b>Stock</b></th>
<th style="text-align: center;"><b>Sortie</b></th> <th class="num"><b>Sortie</b></th>
<th style="text-align: center;"><b>Disponible</b></th> <th class="num"><b>Disponible</b></th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
@ -24,10 +24,10 @@
{foreach from=$eqmts item="eqmt"} {foreach from=$eqmts item="eqmt"}
<tr> <tr>
<td>{$eqmt.designation}</td> <td>{$eqmt.designation}</td>
<td style="text-align: center;">{$eqmt.owned}</td> <td class="num">{$eqmt.owned}</td>
<td style="text-align: center;">{$eqmt.owned_out}</td> <td class="num">{$eqmt.owned_out}</td>
<td style="text-align: center;">{$eqmt.owned - $eqmt.owned_out}</td> <td class="num">{$eqmt.owned - $eqmt.owned_out}</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="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} {linkbutton shape="edit" label="Modifier" href="modifier_materiel.php?id=%d"|args:$eqmt.id}
</td> </td>
@ -44,7 +44,7 @@
<br> <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> <br>
<!-- tables for equipments no owned --> <!-- tables for equipments no owned -->
@ -53,11 +53,11 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <tr>
<th colspan="5" style="text-align: center;"><h3>{$cat}</h3></th> <th colspan="3"><h3 class="ruler">{$cat}</h3></th>
</tr> </tr>
<tr> <tr>
<th><b>Désignation</b></th> <th><b>Désignation</b></th>
<th style="text-align: center;"><b>Nombre</b></th> <th class="num"><b>Nombre</b></th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
@ -65,8 +65,8 @@
{foreach from=$eqmts item="eqmt"} {foreach from=$eqmts item="eqmt"}
<tr> <tr>
<td>{$eqmt.designation}</td> <td>{$eqmt.designation}</td>
<td style="text-align: center;">{$eqmt.no_owned}</td> <td class="num">{$eqmt.no_owned}</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="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} {linkbutton shape="edit" label="Modifier" href="modifier_materiel.php?id=%d"|args:$eqmt.id}
</td> </td>
@ -83,7 +83,7 @@
<br> <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> <br>
<!-- tables for equipments just listed --> <!-- tables for equipments just listed -->
@ -92,7 +92,7 @@
<table class="list"> <table class="list">
<thead> <thead>
<tr> <tr>
<th colspan="5" style="text-align: center;"><h3>{$cat}</h3></th> <th colspan="2"><h3 class="ruler">{$cat}</h3></th>
</tr> </tr>
<tr> <tr>
<th><b>Désignation</b></th> <th><b>Désignation</b></th>
@ -103,7 +103,7 @@
{foreach from=$eqmts item="eqmt"} {foreach from=$eqmts item="eqmt"}
<tr> <tr>
<td>{$eqmt.designation}</td> <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="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} {linkbutton shape="edit" label="Modifier" href="modifier_materiel.php?id=%d"|args:$eqmt.id}
</td> </td>

View File

@ -4,7 +4,7 @@
<thead> <thead>
<th><b>Date</b></th> <th><b>Date</b></th>
<th><b>Type</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>Matériel</b></th>
<th><b>Remarques</b></th> <th><b>Remarques</b></th>
<th></th> <th></th>
@ -14,7 +14,7 @@
<tr> <tr>
<td>{$mvt.mvt_date|date_format:'%d/%m/%y'}</td> <td>{$mvt.mvt_date|date_format:'%d/%m/%y'}</td>
<td>{$mvt.kind}</td> <td>{$mvt.kind}</td>
<td>{$mvt.equipment_number}</td> <td class="num">{$mvt.equipment_number}</td>
<td>{$mvt.equipment}</td> <td>{$mvt.equipment}</td>
<td>{$mvt.additional_comment}</td> <td>{$mvt.additional_comment}</td>
<td class="actions"> <td class="actions">