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>
44 lines
1.6 KiB
Text
44 lines
1.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Download list[% INCLUDE 'doc-head-close.inc' %]
|
|
<script type="text/javascript">//<![CDATA[
|
|
$(document).ready(function(){
|
|
$(".close").html(_("Close this window"));
|
|
});
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body id="opac-downloadlist" class="popup">
|
|
<div id="userdownloadshelf" class="container">
|
|
[% UNLESS ( invalidlist ) %]
|
|
[% IF ( format ) %]
|
|
<p>Your download should begin automatically.</p>
|
|
[% ELSE %]
|
|
<form method="post" action="/cgi-bin/koha/opac-downloadshelf.pl">
|
|
<fieldset class="rows">
|
|
<ol><li><label for="format">Download list:</label>
|
|
<select name="format" id="format">
|
|
<option value="">-- Choose format --</option>
|
|
<option value="ris">RIS (Zotero, EndNote, others)</option>
|
|
<option value="bibtex">BibTeX</option>
|
|
<option value="iso2709">MARC</option>
|
|
[% FOREACH csv_profile IN csv_profiles %]
|
|
<option value="[% csv_profile.export_format_id %]">CSV - [% csv_profile.profile %]</option>
|
|
[% END %]
|
|
|
|
</select></li></ol>
|
|
</fieldset>
|
|
<fieldset class="action"> <input type="hidden" name="shelfid" value="[% shelfid | html %]" />
|
|
<input type="submit" name="save" value="Go" /></fieldset>
|
|
</form>
|
|
|
|
<p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
|
|
|
|
[% END %]
|
|
[% ELSE %]
|
|
<div class="dialog alert">
|
|
<p>You do not have permission to download this list.</p>
|
|
</div>
|
|
<p><a class="button close" href="/cgi-bin/koha/opac-shelves.pl">Back to lists</a></p>
|
|
[% END %]
|
|
</div>
|
|
</body>
|
|
</html>
|