Owen Leonard
f98adbfa3d
This patch makes changes the button markup in Catalog templates -- including the Cart -- so that all submit buttons and any buttons that should should be styled as primary buttons have the Bootstrap class "btn btn-primary." Edit: This revised patch changes the button styles on the search history page to make them more consistent with buttons in similar interfaces (see catalog search results). The patch also adds Bootstrap size classes to the item detail page and removes some global CSS which targeted buttons on that page. To test, apply the patch and view pages the catalog to confirm that everything looks correct. In most cases there are no visible changes. - Advanced search: The main search button at the top - Search results: The "Search within results" submit button - Bibliographic detail page: This change is to a hidden button. This section can be removed in a separate bug. - Bibliographic detail page -> Items: Various "Update" and "Set status" buttons. Note that the alignment of buttons has not changed in the redesign. - Item search: The main search button at the top - Search history (from the logged-in user's menu in the top right): "Delete" buttons in each section - Catalog -- Current and previous sessions - Authority -- Current and previous sessions - In the Cart popup window, click "Send." In the resulting popup, the "Send button. - The template basket/downloadcart.tt has been modified but I think the template might be unused. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Sending your cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body style="padding: 1em;" id="cart_sendbasketform" class="cart">
|
|
<div class="container">[% IF ( email_add ) %]
|
|
|
|
[% IF ( SENT ) %]
|
|
<h3>Message sent</h3>
|
|
<p>The cart was sent to: [% email_add | html %]</p>
|
|
<p><a class="focus close" href="#">Close window</a></p>
|
|
[% END %]
|
|
[% IF ( error ) %]
|
|
<p>Problem sending the cart...</p>
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
|
|
[% INCLUDE 'blocking_errors.inc' %]
|
|
<form action="/cgi-bin/koha/basket/sendbasket.pl" method="post">
|
|
|
|
<fieldset class="rows">
|
|
<legend>Sending your cart</legend>
|
|
<ol> <li>
|
|
<label for="email_add">Email address:</label>
|
|
<input type="text" id="email_add" name="email_add" size="43" class="focus" />
|
|
</li>
|
|
<li>
|
|
<label for="comment">Comment:</label>
|
|
<textarea id="comment" name="comment" rows="4" cols="40"></textarea>
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
<fieldset class="action"> <input type="submit" class="btn btn-primary" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
|
|
<input type="hidden" name="bib_list" value="[% bib_list | html %]" />
|
|
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
|
|
</form>
|
|
|
|
[% END %]</div>
|
|
</body>
|
|
</html>
|