diff --git a/htdocs/theme/bureau2crea/img/bg_connectionBox.jpg b/htdocs/theme/bureau2crea/img/bg_connectionBox.jpg new file mode 100644 index 00000000000..4634207f71b Binary files /dev/null and b/htdocs/theme/bureau2crea/img/bg_connectionBox.jpg differ diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index e580a2ed836..48733e973ac 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -22,7 +22,7 @@ /** * \file htdocs/theme/bureau2crea/style.css.php * \brief Fichier de style CSS du theme bureau2crea - * \version $Id: style.css.php,v 1.50 2011/08/17 14:07:16 bureau2crea Exp $ + * \version $Id: style.css.php,v 1.51 2011/08/17 15:15:15 bureau2crea Exp $ */ //if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language @@ -2189,19 +2189,105 @@ a.cke_dialog_ui_button /* Login */ /* ============================================================================== */ -#login table { -border: 1px solid #666666 !important; +#login { + position: absolute; + display: block; + width: 480px; + height: auto; + top: 20px; + left: 50%; + margin-left: -240px; + } + +div#infoVersion { + position: relative; + width: 100%; + height: 15px; + line-height: 15px; + text-align: center; + font-size: 10px; + background-color: #D6D6D6; + } + +div#logoBox { + position: relative; + width: 100%; + height: auto; + margin-top: 30px; + } + +div#parameterBox { + position: relative; + width: 100%; + height: auto; + border: 1px solid #666; + border-top: 2px solid #842F00; + background-image: url(); + background-repeat: no-repeat; + background-position: top center; + } + +div#parameterBox div { + width: 100%; + height: 20px; + position: relative; + line-height: 20px; + } + +div#parameterBox div label { + width: 190px; + text-align: right; + display: block; + float: left; + margin-right: 10px; + } + +div#parameterBox div input[type="text"], +div#parameterBox div input[type="password"] { + width: 180px; + height: 16px; + font-size: 10px; + margin-top: 2px; + } + +div#connectionLine { + margin: 10px 0px; + text-align: center; + } + +div#logBox { +margin-top: 25px; } -table.login { - border-collapse: collapse; +div.captchaBox { + margin-top: 10px; + } + +div.captchaImg { + margin-bottom: 10px; + margin-top: 5px; + height: 40px !important; } -table.login tr, -table.login td { - height: 0px; +img#captcha { + margin-left: 200px; + } + +div#infoLogin { + width: 100%; + height: auto; + text-align: center; + margin-top: 20px; + color: #666; + position: relative; + margin-bottom: 20px; } +div.other { + margin: 10px 0px; + text-align: center; + } + close(); ?> \ No newline at end of file diff --git a/htdocs/theme/bureau2crea/tpl/login.tpl.php b/htdocs/theme/bureau2crea/tpl/login.tpl.php new file mode 100644 index 00000000000..2c2361eb52d --- /dev/null +++ b/htdocs/theme/bureau2crea/tpl/login.tpl.php @@ -0,0 +1,182 @@ + + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * $Id: login.tpl.php,v 1.1 2011/08/17 15:15:15 bureau2crea Exp $ + */ + +header('Cache-Control: Public, must-revalidate'); +header("Content-type: text/html; charset=".$conf->file->character_set_client); +?> + + + + + + + + + + + + + +<?php echo $langs->trans('Login'); ?> + + +global->MAIN_HTML_HEADER ?> + + + + + + + +
+ + + + + + + + +
+ +
+ Logo +
+ +
+ +
+
+ + +
trans('Entity'); ?>
+ + + +
+ + +
+
+ + +
+ + +
+ +
+ +'; + if ($forgetpasslink) { + echo '('; + echo $langs->trans('PasswordForgotten'); + if (! $helpcenterlink) { + echo ')'; + } + echo ''; + } + + if ($helpcenterlink) { + echo ''; + if ($forgetpasslink) { + echo ' - '; + } else { + echo '('; + } + echo $langs->trans('NeedHelpCenter').')'; + } + echo '
'; + } +?> + + + + +
+ +
+ + + +
+ +
+ + + +
+ + + global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT)) + { + ?> +
+ + +
+ + + + + + +global->MAIN_HTML_FOOTER; ?> + + + + + \ No newline at end of file