From 619ebf9a3ef09a4162a3601a1ed09583138dcec7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 13 Mar 2016 20:38:16 +0100 Subject: [PATCH] Enhance css of search fields --- htdocs/adherents/index.php | 2 +- htdocs/comm/index.php | 4 ++-- htdocs/compta/hrm.php | 2 +- htdocs/compta/index.php | 2 +- htdocs/product/index.php | 2 +- htdocs/projet/activity/index.php | 2 +- htdocs/projet/index.php | 2 +- htdocs/societe/index.php | 2 +- htdocs/theme/eldy/style.css.php | 3 +++ htdocs/theme/md/style.css.php | 3 +++ htdocs/user/home.php | 5 ++--- 11 files changed, 17 insertions(+), 12 deletions(-) diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 0ef1f4bd62b..8515dc1d2c8 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -141,7 +141,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 517cd58ca52..5265f73e595 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -118,8 +118,8 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; - if ($i == 0) print ''; + print ':'; + if ($i == 0) print ''; print ''; $i++; } diff --git a/htdocs/compta/hrm.php b/htdocs/compta/hrm.php index 08ca07b04c5..3f1b77a6697 100644 --- a/htdocs/compta/hrm.php +++ b/htdocs/compta/hrm.php @@ -97,7 +97,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 855a04d2f39..4d5de55e384 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -116,7 +116,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 2fa1ec06fb3..2f15b98b562 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -95,7 +95,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php index 91792e91f48..b9c8e455751 100644 --- a/htdocs/projet/activity/index.php +++ b/htdocs/projet/activity/index.php @@ -90,7 +90,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index 00de0dfc596..f3623bdd6a1 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -114,7 +114,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 615ee04cd44..98ee42afc57 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -79,7 +79,7 @@ if (count($listofsearchfields)) { if ($i == 0) print ''.$langs->trans("Search").''; print ''; - print ':'; + print ':'; if ($i == 0) print ''; print ''; $i++; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 98224a323f3..65c232c6737 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -435,6 +435,9 @@ th .button { .centpercent { width: 100%; } +.quatrevingtpercent, .inputsearch { + width: 80%; +} textarea.centpercent { width: 96%; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 4935ec1ff81..8662a8c835e 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -422,6 +422,9 @@ th .button { .centpercent { width: 100%; } +.quatrevingtpercent, .inputsearch { + width: 80%; +} textarea.centpercent { width: 96%; } diff --git a/htdocs/user/home.php b/htdocs/user/home.php index e9d9fb6c489..6bcd468f62e 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -68,20 +68,19 @@ print ''; print ''; print ''; print ''; +print $langs->trans("User").':'; // Search Group if ($canreadperms) { $var=false; print ''; + print $langs->trans("Group").':'; } print "
'.$langs->trans("Search").'
'; -print $langs->trans("User").':
'; - print $langs->trans("Group").':

\n"; print ''; -//print ''; print '
';