Owen Leonard
6e57e68820
The bootstrap theme includes a meta tag attribute which disables zooming on some devices. This was unintentional and not desirable. This patch removes the problematic attribute. See: http://blog.javierusobiaga.com/stop-using-the-viewport-tag-until-you-know-ho To test: Apply the patch and view the OPAC on a device with a touch interface. Attempt to zoom in on any OPAC page. Zooming should work. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Reproduced using a smartphone. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
51 lines
2.6 KiB
HTML
51 lines
2.6 KiB
HTML
</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" />
|
|
[% IF ( bidi ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap-rtl.min.css" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/bootstrap/css/bootstrap.min.css" />
|
|
[% END %]
|
|
|
|
[% IF ( bidi ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui-rtl.css" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
|
|
[% END %]
|
|
|
|
[% SET opaclayoutstylesheet='opac.css' UNLESS opaclayoutstylesheet %]
|
|
[% IF (opaclayoutstylesheet.match('^https?:|^\/')) %]
|
|
<link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet %]" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% opaclayoutstylesheet %]" />
|
|
[% END %]
|
|
[% IF ( opaccolorstylesheet ) %]
|
|
[% IF (opaccolorstylesheet.match('^https?:|^\/')) %]
|
|
<link rel="stylesheet" type="text/css" href="[% opaccolorstylesheet %]" />
|
|
[% ELSE %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% opaccolorstylesheet %]" />
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( opac_css_override ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% opac_css_override %]" />
|
|
[% END %]
|
|
<link rel="stylesheet" type="text/css" media="print" href="[% interface %]/[% theme %]/css/print.css" />
|
|
[% IF persona %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/persona-buttons.css" />
|
|
[% END %]
|
|
[% IF ( bidi ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />
|
|
[% END %]
|
|
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
|
|
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
|
|
[% PROCESS cssinclude %]
|
|
<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
|
|
<!--[if lt IE 9]>
|
|
<script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript">
|
|
function _(s) { return s } // dummy function for gettext
|
|
</script>
|
|
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/modernizr.min.js"></script>
|