Fix look and feel v21

This commit is contained in:
Laurent Destailleur 2024-11-18 12:15:47 +01:00
parent 1d1c381e98
commit 07bd12717a
2 changed files with 63 additions and 35 deletions

View File

@ -718,35 +718,21 @@ print '<center><input type="submit" class="button button-edit reposition" value=
print '</form>';
/*
* Directory
*/
print '<br>';
print load_fiche_titre($langs->trans("PathToDocuments"), '', '');
print "<table class=\"noborder\" width=\"100%\">\n";
print "<tr class=\"liste_titre\">\n";
print " <td>".$langs->trans("Name")."</td>\n";
print " <td>".$langs->trans("Value")."</td>\n";
print "</tr>\n";
print "<tr class=\"oddeven\">\n <td width=\"140\">".$langs->trans("PathDirectory")."</td>\n <td>".$conf->propal->multidir_output[$conf->entity]."</td>\n</tr>\n";
print "</table>\n<br>";
print '<br><br>';
/*
* Notifications
* Other
*/
print load_fiche_titre($langs->trans("Notifications"), '', '');
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<td>'.$langs->trans("Parameter").'</td>';
print '<td align="center" width="60"></td>';
print '<td width="80">&nbsp;</td>';
print "</tr>\n";
print '<tr class="oddeven"><td colspan="2">';
print "<tr class=\"oddeven trfirstline\">\n <td>".$langs->trans("PathToDocuments")."</td>\n <td>".$conf->propal->multidir_output[$conf->entity]."</td>\n</tr>\n";
print '<tr class="oddeven lastline"><td>';
print $langs->trans("YouMayFindNotificationsFeaturesIntoModuleNotification").'<br>';
print '</td><td class="right">';
print "</td></tr>\n";

View File

@ -62,7 +62,7 @@ $documentation->showSidebar(); ?>
<div class="doc-content-wrapper">
<h1 class="documentation-title"><?php echo $langs->trans('DocTableTitle'); ?></h1>
<p class="documentation-text"><?php echo $langs->trans('DocTableMainDescription'); ?></p>
<p class="documentation-text"><?php echo $langs->trans('Description'); ?></p>
<!-- Summary -->
<?php $documentation->showSummary(); ?>
@ -70,37 +70,37 @@ $documentation->showSidebar(); ?>
<!-- Basic usage -->
<div class="documentation-section" id="tablesection-basicusage">
<h2 class="documentation-title"><?php echo $langs->trans('DocTableBasic'); ?></h2>
<h2 class="documentation-title">Table with a title line</h2>
<p class="documentation-text"><?php echo $langs->trans('DocTableBasicDescription'); ?></p>
<div class="documentation-example">
<div class="div-table-responsive">
<table class="tagtable nobottomiftotal noborder liste">
<table class="tagtable noborder liste nobottomiftotal">
<tr class="liste_titre">
<th class="wrapcolumntitle left liste_titre" title="First Name">First Name</th>
<th class="wrapcolumntitle left liste_titre" title="Last Name">Last Name</th>
<th class="wrapcolumntitle center liste_titre" title="Age">Age</th>
<th class="wrapcolumntitle right liste_titre" title="Country">Country</th>
</tr>
<tr>
<tr class="oddeven">
<td class="left">John</td>
<td class="left">Doe</td>
<td class="center">37</td>
<td class="right">U.S.A</td>
</tr>
<tr>
<tr class="oddeven">
<td class="left">Jack</td>
<td class="left">Sparrow</td>
<td class="center">29</td>
<td class="right">Caribbean</td>
</tr>
<tr>
<tr class="oddeven">
<td class="left">Sacha</td>
<td class="left">Ketchum</td>
<td class="center">16</td>
<td class="right">Kanto</td>
</tr>
<tr>
<tr class="oddeven">
<td class="left">Albert</td>
<td class="left">Einstein</td>
<td class="center">72</td>
@ -115,15 +115,15 @@ $documentation->showSidebar(); ?>
echo $documentation->showCode($lines); ?>
</div>
<!-- Basic usage -->
<!-- Table with filters -->
<div class="documentation-section" id="tablesection-withfilters">
<h2 class="documentation-title"><?php echo $langs->trans('DocTableWithFilters'); ?></h2>
<h2 class="documentation-title">Table with a filter line and title line</h2>
<p class="documentation-text"><?php echo $langs->trans('DocTableWithFiltersDescription'); ?></p>
<div class="documentation-example">
<div class="div-table-responsive">
<table class="tagtable nobottomiftotal liste">
<table class="tagtable noborder nobottomiftotal liste">
<tr class="liste_titre_filter">
<td><input></td>
<td></td>
@ -136,25 +136,25 @@ $documentation->showSidebar(); ?>
<th class="wrapcolumntitle center liste_titre" title="Age">Age</th>
<th class="wrapcolumntitle right liste_titre" title="Country">Country</th>
</tr>
<tr>
<tr class="oddeven">
<td class="left">John</td>
<td class="left">Doe</td>
<td class="center">37</td>
<td class="right">U.S.A</td>
</tr>
<tr>
<tr class="oddeven">
<td class="left">Jack</td>
<td class="left">Sparrow</td>
<td class="center">29</td>
<td class="right">Caribbean</td>
</tr>
<tr>
<tr class="oddeven">
<td class="left">Sacha</td>
<td class="left">Ketchum</td>
<td class="center">16</td>
<td class="right">Kanto</td>
</tr>
<tr>
<tr class="oddeven">
<td class="left">Albert</td>
<td class="left">Einstein</td>
<td class="center">72</td>
@ -170,6 +170,48 @@ $documentation->showSidebar(); ?>
</div>
<!-- Table with no filter and no title line -->
<div class="documentation-section" id="tablesection-withfilters">
<h2 class="documentation-title">Table with no filter, no title line</h2>
<p class="documentation-text"><?php echo $langs->trans('Description'); ?></p>
<div class="documentation-example">
<div class="div-table-responsive">
<table class="tagtable noborder nobottomiftotal liste">
<tr class="oddeven trfirstline">
<td class="left">John</td>
<td class="left">Doe</td>
<td class="center">37</td>
<td class="right">U.S.A</td>
</tr>
<tr class="oddeven">
<td class="left">Jack</td>
<td class="left">Sparrow</td>
<td class="center">29</td>
<td class="right">Caribbean</td>
</tr>
<tr class="oddeven">
<td class="left">Sacha</td>
<td class="left">Ketchum</td>
<td class="center">16</td>
<td class="right">Kanto</td>
</tr>
<tr class="oddeven trlastline">
<td class="left">Albert</td>
<td class="left">Einstein</td>
<td class="center">72</td>
<td class="right">Germany</td>
</tr>
</table>
</div>
</div>
<?php
$lines = array(
);
echo $documentation->showCode($lines); ?>
</div>
</div>
</div>