3229d8b194
This patch adds the promised media query-based mobile view to the ccsr theme. You can try the mobile view by resizing your browser window until it is phone-sized. Sponsored-by: Centre collégial des services regroupés (CCSR) Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> All work was originally done by Frederick, but I converted his modifications to the prog template into a new template called ccsr. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
91 lines
3.6 KiB
HTML
91 lines
3.6 KiB
HTML
[% IF ( opaccredits ) %]
|
|
<div class="ft">
|
|
[% opaccredits %]
|
|
</div>
|
|
[% END %]
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main_footer">
|
|
<div class="colleft">
|
|
</div>
|
|
[% IF ( OpacKohaUrl ) %]
|
|
<div class="colright">
|
|
<div class="koha">
|
|
[% IF template.name.match('opac-main.tt') %]
|
|
<a class="koha_url" href="http://koha-community.org">Powered by</a>
|
|
[% ELSE %]
|
|
<a class="koha_url" rel="nofollow" href="http://koha-community.org">Powered by</a>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
[% END %]
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
[% IF ( opaclanguagesdisplay || OpacKohaUrl ) %]
|
|
[% IF ( languages_loop && opaclanguagesdisplay ) %]
|
|
[% UNLESS ( one_language_enabled ) %]
|
|
<div id="changelanguage" class="ft">
|
|
<div class="lang" style="float:left;padding: 0.1em 0;"><strong>Languages: </strong></div>
|
|
<ul id="i18nMenu" class="footermenu">
|
|
[% FOREACH languages_loo IN languages_loop %]
|
|
|
|
[% IF ( languages_loo.group_enabled ) %]
|
|
[% IF ( languages_loo.plural ) %]
|
|
<li class="more" style="float:left;"><a class="sublangs" id="show[% languages_loo.rfc4646_subtag %]" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a><div id="sub[% languages_loo.rfc4646_subtag %]">
|
|
<div class="bd"><ul>
|
|
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
|
|
[% IF ( sublanguages_loo.enabled ) %]
|
|
[% IF ( sublanguages_loo.sublanguage_current ) %]
|
|
<li> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</li>
|
|
[% ELSE %]
|
|
<li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% END %]
|
|
</ul></div></div></li>
|
|
|
|
[% ELSE %]
|
|
[% IF ( languages_loo.group_enabled ) %]
|
|
[% IF ( languages_loo.current ) %]
|
|
<li style="float:left;">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</li>
|
|
[% ELSE %]
|
|
<li style="float:left;"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% END %]
|
|
|
|
|
|
<script type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jqtransform_select.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
//find all form with class jqtransform and apply the plugin
|
|
$("form#searchform").jqTransform();
|
|
});
|
|
|
|
[% IF ( opacuserjs ) %][% opacuserjs %][% END %]
|
|
|
|
</script>
|
|
|
|
<!-- /ADD JQUERY PLUGIN JQTRANSFORM - LIBÉO -->
|
|
|
|
</body>
|
|
</html>
|