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 {
|
header img {
|
||||||
padding:10px 0 10px 10px;
|
padding:10px 0 10px 10px;
|
||||||
|
}
|
||||||
|
img.small {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
templates/Sparkle/assets/js/main.js
vendored
6
templates/Sparkle/assets/js/main.js
vendored
@@ -56,10 +56,8 @@ $(document).ready(function() {
|
|||||||
$(".main").css('min-height', $("nav").height() - 134);
|
$(".main").css('min-height', $("nav").height() - 134);
|
||||||
|
|
||||||
// set focus on username-field if on loginpage
|
// set focus on username-field if on loginpage
|
||||||
if ($(".loginpage").length != 0) {
|
$("#loginname").focus();
|
||||||
$("#loginname").focus();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($("table.bradius").length != 0) {
|
if ($("table.bradius").length != 0) {
|
||||||
$("table.bradius tbody tr").hover(function() {
|
$("table.bradius tbody tr").hover(function() {
|
||||||
$(this).css("background-color", "#f5f5f5");
|
$(this).css("background-color", "#f5f5f5");
|
||||||
|
|||||||
2
templates/Sparkle/header.tpl
vendored
2
templates/Sparkle/header.tpl
vendored
@@ -41,7 +41,7 @@
|
|||||||
<hgroup>
|
<hgroup>
|
||||||
<h1>Froxlor Server Management Panel</h1>
|
<h1>Froxlor Server Management Panel</h1>
|
||||||
</hgroup>
|
</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">
|
<div class="topheader_navigation">
|
||||||
<ul class="topheadernav">
|
<ul class="topheadernav">
|
||||||
<li>{$userinfo['loginname']}</li>
|
<li>{$userinfo['loginname']}</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user