Bug 9677 - Style button on notices and slips page with Bootstrap
authorOwen Leonard <oleonard@myacpl.org>
Wed, 19 Feb 2014 20:53:13 +0000 (15:53 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 21 Feb 2014 18:29:15 +0000 (18:29 +0000)
The toolbar button on the Notices & Slips page isn't styled with
Bootstrap as other toolbar buttons are. This patch corrects this.

The patch also removes some obsolete CSS.

To test go to Tools -> Notices and Slips. The toolbar button should look
correct and work correctly.

Patch works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
"yui-menu-button" is not contained in tt files.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt

index 4aa7b83..2a04c35 100644 (file)
@@ -397,17 +397,11 @@ dd {
 
 div#toolbar {
        background-color : #EDF4F6;
-       margin-bottom : .7em;
      padding: 5px 5px 5px 5px;
       border-radius: 5px 5px 0 0;
     border: 1px solid #E6F0F2;
 }
 
-div#toolbar .yui-menu-button button,
-div#toolbar .yui-button-button button {
-       line-height : 1.7em;
-}
-
 ul.toolbar {
        padding-left : 0;
 }
index d4c864b..c414787 100644 (file)
@@ -135,8 +135,8 @@ $(document).ready(function() {
             </select>
       </p>
     [% END %]
-      <div id="toolbar">
-             <input type="submit" id="newnotice" value="New Notice" />
+      <div id="toolbar" class="btn-toolbar">
+          <button type="submit" class="btn btn-small" id="newnotice"><i class="icon-plus"></i> New notice</button>
         <input type="hidden" id="op" name="op" />
       </div>
     </form>