set logo via CSS

This commit is contained in:
Roland Gruber 2014-03-29 09:55:25 +00:00
parent b7e7a958f5
commit dee5bce3c4
2 changed files with 14 additions and 4 deletions

View File

@ -3,7 +3,7 @@ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2003 Leonhard Walchshaeusl
Copyright (C) 2005 - 2013 Roland Gruber
Copyright (C) 2005 - 2014 Roland Gruber
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
@ -267,6 +267,17 @@ div.ui-progressbar-value {
width: 50%;
}
td.loginLogo {
background-image: url(../graphics/lam.png);
background-repeat:no-repeat;
background-position: center;
margin: 5px;
height: 320px;
width: 65px;
}
.sortableList { list-style-type: none; margin: 0; padding: 0; }
.sortableList li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; }
.sortableList li span { position: absolute; margin-left: -1.3em; }

View File

@ -319,10 +319,9 @@ function display_LoginPage($config_object, $cfgMain) {
?>
<br><br>
<div style="position:relative; z-index:5;">
<table width="650" align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all">
<table align="center" border="2" rules="none" bgcolor="white" class="ui-corner-all">
<tr>
<td style="border-style:none" width="70" rowspan="2">
<img src="../graphics/lam.png" alt="Logo" style="margin-top: 5px; margin-bottom: 5px;">
<td class="loginLogo" style="border-style:none" rowspan="2">
</td>
<td style="border-style:none" width="580px">
<form action="login.php" method="post">