Look: Ajout image sur page login. Utilisation feuille du style par defaut sur page login.
This commit is contained in:
parent
27f5d29042
commit
6ce7993a7c
@ -694,30 +694,30 @@ function loginfunction()
|
|||||||
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/'.$conf->theme.'.css">';
|
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/'.$conf->theme.'.css">';
|
||||||
print '</head>';
|
print '</head>';
|
||||||
print '<body onload="donnefocus();">';
|
print '<body onload="donnefocus();">';
|
||||||
// print '<div class="main">';
|
|
||||||
// print '<div class="header">';
|
|
||||||
// print '</div>';
|
|
||||||
// print '<div class="main-inside">';
|
|
||||||
|
|
||||||
|
|
||||||
print '
|
|
||||||
<style type="text/css">
|
|
||||||
<!--
|
|
||||||
#login {
|
|
||||||
margin-top: 70px;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
text-align: center;
|
|
||||||
font: 12px arial,helvetica;
|
|
||||||
}
|
|
||||||
#login table {
|
|
||||||
border: 1px solid #C0C0C0;
|
|
||||||
background: #F0F0F0 url('.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_background.png) repeat-x;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
-->
|
|
||||||
</style>
|
|
||||||
';
|
|
||||||
|
|
||||||
|
print '<style type="text/css">';
|
||||||
|
print '<!--';
|
||||||
|
print '#login {';
|
||||||
|
print ' margin-top: 70px;';
|
||||||
|
print ' margin-bottom: 50px;';
|
||||||
|
print ' text-align: center;';
|
||||||
|
print ' font: 12px arial,helvetica;';
|
||||||
|
print '}';
|
||||||
|
print '#login table {';
|
||||||
|
print ' border: 1px solid #C0C0C0;';
|
||||||
|
if (file_exists(DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_background.png'))
|
||||||
|
{
|
||||||
|
print 'background: #F0F0F0 url('.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/login_background.png) repeat-x;';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print 'background: #F0F0F0 url('.DOL_URL_ROOT.'/theme/login_background.png) repeat-x;';
|
||||||
|
}
|
||||||
|
print 'font-size: 12px;';
|
||||||
|
print '}';
|
||||||
|
print '-->';
|
||||||
|
print '</style>';
|
||||||
|
|
||||||
print '<form id="login" method="post" action="' . $_SERVER['PHP_SELF'] . '" name="identification">';
|
print '<form id="login" method="post" action="' . $_SERVER['PHP_SELF'] . '" name="identification">';
|
||||||
|
|
||||||
print '
|
print '
|
||||||
|
|||||||
@ -1,75 +0,0 @@
|
|||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
|
||||||
*
|
|
||||||
* 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, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-size:14px;
|
|
||||||
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
|
||||||
background-color: #cac8c0;
|
|
||||||
margin-left: 30%;
|
|
||||||
margin-right: 30%;
|
|
||||||
margin-top: 10%;
|
|
||||||
margin-bottom: 1%;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main {
|
|
||||||
background-color: white;
|
|
||||||
text-align: left;
|
|
||||||
border: solid black 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-inside {
|
|
||||||
background-color: white;
|
|
||||||
padding-left: 20px;
|
|
||||||
padding-right: 50px;
|
|
||||||
text-align: center;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
margin-top: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.footer {
|
|
||||||
background-color: #dcdff4;
|
|
||||||
font-size: 10px;
|
|
||||||
border-top: solid black 1px;
|
|
||||||
padding-left: 5px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.header {
|
|
||||||
background-color: #dcdff4;
|
|
||||||
border-bottom: solid black 1px;
|
|
||||||
padding-left: 5px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.footer p {
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link,a:visited,a:active {
|
|
||||||
text-decoration:none;
|
|
||||||
color:blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
text-decoration:underline;
|
|
||||||
color:blue;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user