Fixed img height on login page, set focus to username
This commit is contained in:
2
templates/Sparkle/assets/css/main.css
vendored
2
templates/Sparkle/assets/css/main.css
vendored
@@ -29,6 +29,8 @@ body {
|
||||
|
||||
header img {
|
||||
padding:10px 0 10px 10px;
|
||||
}
|
||||
img.small {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
|
||||
2
templates/Sparkle/assets/js/main.js
vendored
2
templates/Sparkle/assets/js/main.js
vendored
@@ -56,9 +56,7 @@ $(document).ready(function() {
|
||||
$(".main").css('min-height', $("nav").height() - 134);
|
||||
|
||||
// set focus on username-field if on loginpage
|
||||
if ($(".loginpage").length != 0) {
|
||||
$("#loginname").focus();
|
||||
}
|
||||
|
||||
if ($("table.bradius").length != 0) {
|
||||
$("table.bradius tbody tr").hover(function() {
|
||||
|
||||
2
templates/Sparkle/header.tpl
vendored
2
templates/Sparkle/header.tpl
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user