Nouvelle prsentation avec css

This commit is contained in:
Rodolphe Quiedeville 2003-08-30 22:29:02 +00:00
parent 3da6c0f474
commit 54ba8be271

View File

@ -30,14 +30,86 @@ function loginFunction()
/**
* Change the HTML output so that it fits to your
* application. */
print '<html><head><title>Dolibarr Authentification</title></head><body>';
print '<p>Dolibarr Authentification';
print '<html><head><title>Dolibarr Authentification</title>';
print '
<style type="text/css">
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;
}
</style>
</head><body>
<div class="main">
<div class="header">';
print 'Dolibarr '.DOL_VERSION;
print '
</div>
<div class="main-inside">
';
echo "<form method=\"post\" action=\"" . $_SERVER['PHP_SELF'] . "\">";
print '<table><tr>';
print '<td>Login:</td><td><input type="text" name="username"></td></tr>';;
print '<tr><td>Password:</td><td><input type="password" name="password"></td></tr>';
echo '<tr><td colspan="2" align="center"><input value="Login" type="submit"></td></tr>';
echo "</table></form></p></body></html>";
print '<td>Login : </td><td><input type="text" name="username"></td></tr>';;
print '<tr><td>Password : </td><td><input type="password" name="password"></td></tr>';
echo '</table>
<p align="center"><input value="Login" type="submit">
</form>
</div>
</body></html>';
}