From c72b6454e4f15e8dea2f914be25424ef56baa418 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 4 Sep 2012 14:47:39 +0800 Subject: [PATCH] Bug 8339 - rename div id="login" in header.inc Content-Type: text/plain; charset="utf-8" For styling purposes, it doesn't make sense to have the "login" id confusingly used on the login screen to center the box nicely, and to somehow position set of "login_controls", for lack of a better label, in the "header" div. Changed
to
in the includes/header.inc file, and added #login_controls to the css/staff-global.css file. Positioned #login_controls just after the #toplevelnav, with which it is a sub-div of #header. --- .../intranet-tmpl/prog/en/css/staff-global.css | 5 +++++ .../intranet-tmpl/prog/en/includes/header.inc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index be057ab..2ad210c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1700,6 +1700,11 @@ a.yuimenuitemlabel:hover { width: 40%; } +#login_controls { + float: right; + margin-right: 10px; +} + ul#toplevelmenu { padding : 0; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index 3d71d45..f4037ac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -44,7 +44,7 @@
-
+
[% IF ( AutoLocation ) %] [% LoginBranchname %] -- 1.7.9.5