Fixed img height on login page, set focus to username

This commit is contained in:
BNoiZe
2013-10-18 18:53:52 +02:00
parent 5231ae2383
commit 0eb8e0c55c
3 changed files with 5 additions and 5 deletions

View File

@@ -29,6 +29,8 @@ body {
header img {
padding:10px 0 10px 10px;
}
img.small {
height: 30px;
}

View File

@@ -56,10 +56,8 @@ $(document).ready(function() {
$(".main").css('min-height', $("nav").height() - 134);
// set focus on username-field if on loginpage
if ($(".loginpage").length != 0) {
$("#loginname").focus();
}
$("#loginname").focus();
if ($("table.bradius").length != 0) {
$("table.bradius tbody tr").hover(function() {
$(this).css("background-color", "#f5f5f5");

View File

@@ -41,7 +41,7 @@
<hgroup>
<h1>Froxlor Server Management Panel</h1>
</hgroup>
<img src="{$header_logo}" alt="Froxlor Server Management Panel" />
<img src="{$header_logo}" alt="Froxlor Server Management Panel" class="small" />
<div class="topheader_navigation">
<ul class="topheadernav">
<li>{$userinfo['loginname']}</li>