Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendshelfform.tt
Owen Leonard db0fa0eacd Bug 9680 - cart aligned right in CCSR
The CCSR theme sets a min-width of 1000px for windows which are more
than 700px wide. This caused the cart popup window to be given a
min-width of 1000px, resulting in a broken layout with unnecessary
horizontal scrolling.

This patch adds a class to the cart template and to other pop-up window
templates to ensure that a large min-width is not enforced and to give
consistent padding to those pages.

To test, set your theme to 'CCSR' and view the following pop-up pages:

- The Cart. From the cart, trigger:
  - The "send" window
  - The "download" window
- From a view of a List's contents trigger:
 - The "send" window"
 - The "download" window

Each of these pages should look correct with no horizontal scrolling.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template and CSS changes only, but no string changes.
Save for inclusion in 3.12.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-12 10:14:02 -04:00

49 lines
1.8 KiB
Text

[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Sending your list
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
$(".close").html(_("Close this window"));
});
//]]>
</script>
</head>
<body id="sendshelf" class="popup">
<div id="usersendshelfform" class="container">[% IF ( email ) %]
[% IF ( SENT ) %]
<h3>Message sent</h3>
<p>The list was sent to: [% email %]</p>
<p><a class="focus close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
[% END %]
[% IF ( error ) %]
<p>Problem sending the list...</p>
[% END %]
[% ELSE %]
[% IF ( invalidlist ) %]
<div class="dialog alert">
<p>You do not have permission to send this list.</p>
</div>
<p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
[% ELSE %]
<form action="[% url %]" method="post" id="sendshelfform">
<fieldset class="rows">
<legend>Sending your list</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 %]" />
</li></ol></fieldset>
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
</form>
[% END %]
[% END %]</div>
</body>
</html>