Koha/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc
Owen Leonard d0d2a961db Bug 9636 - Replace YUI buttons on labels pages with Bootstrap
This patch converts the toolbar include file used by the label manager
to Bootstrap, replacing YUI button and menu code with Bootstrap markup.

This patch converts the previous menu buttons to plain buttons,
removing the redundant links to the manage pages, which are in the
left-hand sidebar. This keeps toolbar buttons within the general
category of "action" (as opposed to "view").

This patch also removes an unused include file, labels-new-toolbar.inc

To test, view the labels home page and any of the label manage pages
(layouts, templates, profiles, batches). Buttons should look correct
and work correctly.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Work as described. No errors.
Nicole is not going to be happy, images in Label creator section
of manual needs to change :)

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely, I was wondering if we should have the plus icon
on those buttons like we have on the other 'New' buttons.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-02-18 08:57:34 -05:00

17 lines
No EOL
628 B
HTML

<div id="toolbar" class="btn-toolbar">
<div class="btn-group">
<a class="btn btn-small" href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">New layout</a>
</div>
<div class="btn-group">
<a class="btn btn-small" href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">New template</a>
</div>
<div class="btn-group">
<a class="btn btn-small" href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">New profile</a>
</div>
<div class="btn-group">
<a class="btn btn-small" href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">New batch</a>
</div>
</div>