Owen Leonard
f7d8717a33
This patch makes changes the button markup in lists templates so that all submit buttons and any buttons that should should be styled as primary buttons have the Bootstrap class "btn btn-primary." To test, apply the patch and view lists pages to confirm that everything looks correct. In most cases there are no visible changes. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Sending your list › Lists › Koha</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="lists_sendshelfform" class="lists" style="padding: 1em;">
|
|
[% INCLUDE 'blocking_errors.inc' %]
|
|
<div class="container">[% IF ( email ) %]
|
|
|
|
[% IF ( SENT ) %]
|
|
<h3>Message sent</h3>
|
|
<p>The list was sent to: [% email | html %]</p>
|
|
<p><a class="close focus" href="#">Close window</a></p>
|
|
[% END %]
|
|
[% IF ( error ) %]
|
|
<p>Problem sending the list...</p>
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
|
|
<form action="/cgi-bin/koha/virtualshelves/sendshelf.pl" method="post">
|
|
|
|
<fieldset class="rows">
|
|
<legend><h1>Sending your list</h1></legend>
|
|
<ol> <li>
|
|
<label for="email">Email address:</label>
|
|
<input type="text" id="email" name="email" size="43" class="focus" />
|
|
</li>
|
|
<li>
|
|
<label for="comment">Comment:</label>
|
|
<textarea id="comment" name="comment" rows="4" cols="40"></textarea>
|
|
</li>
|
|
<li>
|
|
<input type="hidden" name="shelfid" value="[% shelfid | html %]" />
|
|
</li></ol></fieldset>
|
|
<fieldset class="action"> <input type="submit" class="btn btn-primary" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
|
|
</form>
|
|
|
|
[% END %]</div>
|
|
</body>
|
|
</html>
|