[Koha-bugs] [Bug 7812] New: Add markup to staff client templates to increase customization options

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 23 11:35:53 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7812

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7812
          Assignee: oleonard at myacpl.org
           Summary: Add markup to staff client templates to increase
                    customization options
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: oleonard at myacpl.org
          Hardware: All
            Status: NEW
           Version: master
         Component: Templates
           Product: Koha

Created attachment 8570
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8570&action=edit
Screenshot showing #header_wrapper highlighted

Following up on Bug 7760, there are markup changes we could add to further
increase the options for CSS customizations. In the current markup:

<body id="circ_circulation-home" class="circ">
  <div id="header">...</div>
  <h1 id="logo">...</div>
  <div id="header_search">...</div>
  <div id="breadcrumbs">...</div>

I think it would be good to create a wrapper div for everything which is fall
under the broad category of "header" (as opposed to "body" in the structural
sense):

<body id="circ_circulation-home" class="circ">
  <div id="header_wrapper">
    <div id="header">...</div>
    <h1 id="logo">...</div>
    <div id="header_search">...</div>
    <div id="breadcrumbs">...</div>
  </div>

I would then add a new <div> which marks the "body" of the page, between
#header_wrapper and the language footer. This would open just before the
beginning of the main YUI grid declaration:

<div id="body">
<div id="doc" class="yui-t7">

...and close just before the footer include:

</div>
[% INCLUDE 'intranet-bottom.inc' %]

Unfortunately this means making edits to each template. But it introduces no
visual changes to the templates unless custom CSS is added, so the work can
happen piece by piece without any disruptions.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list