Bug 9677 - Style button on notices and slips page with Bootstrap

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>
This commit is contained in:
Owen Leonard 2014-02-19 15:53:13 -05:00 committed by Galen Charlton
parent 5e0d450875
commit 36eac129f7
2 changed files with 2 additions and 8 deletions

View 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;
}

View 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>