Owen Leonard
db0fa0eacd
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>
38 lines
1.2 KiB
Text
38 lines
1.2 KiB
Text
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Sending your cart
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="sendbasket" class="popup">
|
|
<div id="usersendbasket" class="container">[% IF ( email_add ) %]
|
|
|
|
[% IF ( SENT ) %]
|
|
<h3>Message sent</h3>
|
|
<p>The cart was sent to: [% email_add %]</p>
|
|
<p><a class="focus close" href="#">Close window</a></p>
|
|
[% END %]
|
|
[% IF ( error ) %]
|
|
<p>Problem sending the cart...</p>
|
|
[% END %]
|
|
|
|
[% ELSE %]
|
|
|
|
<form action="[% url %]" method="post" id="sendbasketform">
|
|
|
|
<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>
|
|
<li>
|
|
<input type="hidden" name="bib_list" value="[% bib_list %]" />
|
|
</li></ol></fieldset>
|
|
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
|
|
</form>
|
|
|
|
[% END %]</div>
|
|
</body>
|
|
</html>
|