Skip to content

Commit

Permalink
Merge pull request #12403 from frederic34/cssindex
Browse files Browse the repository at this point in the history
css
  • Loading branch information
eldy committed Nov 11, 2019
2 parents d368cf7 + 2148d6e commit 855c89f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
6 changes: 4 additions & 2 deletions htdocs/comm/propal/index.php
Expand Up @@ -68,12 +68,13 @@
if (! empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) // This is useless due to the global search combo
{
print '<form method="post" action="'.DOL_URL_ROOT.'/comm/propal/list.php">';
print '<div class="div-table-responsive-no-min">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<table class="noborder nohover centpercent">';
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("Search").'</td></tr>';
print '<tr class="oddeven"><td>';
print $langs->trans("Proposal").':</td><td><input type="text" class="flat" name="sall" size=18></td><td><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
print "</table></form><br>\n";
print "</table></div></form><br>\n";
}


Expand Down Expand Up @@ -118,6 +119,7 @@
}
$db->free($resql);

print '<div class="div-table-responsive-no-min">';
print '<table class="noborder nohover centpercent">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Statistics").' - '.$langs->trans("Proposals").'</td></tr>'."\n";
$listofstatus=array(0,1,2,3,4);
Expand Down Expand Up @@ -151,7 +153,7 @@
//if ($totalinprocess != $total)
//print '<tr class="liste_total"><td>'.$langs->trans("Total").' ('.$langs->trans("CustomersOrdersRunning").')</td><td class="right">'.$totalinprocess.'</td></tr>';
print '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td class="right">'.$total.'</td></tr>';
print "</table><br>";
print "</table></div><br>";
}
else
{
Expand Down
20 changes: 13 additions & 7 deletions htdocs/commande/index.php
Expand Up @@ -3,6 +3,7 @@
* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -74,11 +75,12 @@
$var=false;
print '<form method="post" action="'.DOL_URL_ROOT.'/commande/list.php">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder nohover centpercent">';
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("Search").'</td></tr>';
print '<tr class="oddeven"><td>';
print $langs->trans("CustomerOrder").':</td><td><input type="text" class="flat" name="sall" size=18></td><td><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
print "</table></form><br>\n";
print "</table></div></form><br>\n";
}


Expand Down Expand Up @@ -123,6 +125,7 @@
$i++;
}
$db->free($resql);
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder nohover centpercent">';
print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Statistics").' - '.$langs->trans("CustomersOrders").'</th></tr>'."\n";
$listofstatus=array(0,1,2,3,-1);
Expand Down Expand Up @@ -161,7 +164,7 @@
}
//if ($totalinprocess != $total)
print '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td class="right">'.$total.'</td></tr>';
print "</table><br>";
print "</table></div><br>";
}
else
{
Expand Down Expand Up @@ -190,6 +193,7 @@
$resql=$db->query($sql);
if ($resql)
{
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<th colspan="2">'.$langs->trans("DraftOrders").'</th></tr>';
Expand Down Expand Up @@ -226,7 +230,7 @@
{
print '<tr class="oddeven"><td colspan="3">'.$langs->trans("NoOrder").'</td></tr>';
}
print "</table><br>";
print "</table></div><br>";
}
}

Expand Down Expand Up @@ -259,6 +263,7 @@
$resql=$db->query($sql);
if ($resql)
{
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<th colspan="4">'.$langs->trans("LastModifiedOrders", $max).'</th></tr>';
Expand Down Expand Up @@ -311,7 +316,7 @@
$i++;
}
}
print "</table><br>";
print "</table></div><br>";
}
else dol_print_error($db);

Expand Down Expand Up @@ -339,7 +344,7 @@
if ($resql)
{
$num = $db->num_rows($resql);

print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<th colspan="3">'.$langs->trans("OrdersToProcess").' <a href="'.DOL_URL_ROOT.'/commande/list.php?viewstatut=1"><span class="badge">'.$num.'</span></a></th></tr>';
Expand Down Expand Up @@ -392,7 +397,7 @@
}
}

print "</table><br>";
print "</table></div><br>";
}
else dol_print_error($db);
}
Expand Down Expand Up @@ -421,6 +426,7 @@
{
$num = $db->num_rows($resql);

print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<th colspan="3">'.$langs->trans("OnProcessOrders").' <a href="'.DOL_URL_ROOT.'/commande/list.php?viewstatut=2"><span class="badge">'.$num.'</span></a></th></tr>';
Expand Down Expand Up @@ -472,7 +478,7 @@
$i++;
}
}
print "</table><br>";
print "</table></div><br>";
}
else dol_print_error($db);
}
Expand Down
3 changes: 3 additions & 0 deletions htdocs/opensurvey/index.php
@@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2013-2014 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -63,6 +64,7 @@

print '<div class="fichecenter"><div class="fichethirdleft">';

print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("OpenSurveyArea").'</td></tr>';
print '<tr class="oddeven">';
Expand All @@ -72,6 +74,7 @@
//print $total;
//print '</td></tr>';
print '</table>';
print '</div>';

print '</div></div>';

Expand Down

0 comments on commit 855c89f

Please sign in to comment.