Browse Source

Bug 21790: Switch error page template to Bootstrap grid

This patch updates the error page template to use a Bootstrap grid
instead of YUI.

To test, apply the patch and disable Plack and restart Apache if
necessary.

Navigate to a page in Koha which doesn't exist. The error page should
look correct and adapt well to various browser widths.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Owen Leonard 4 years ago
committed by Nick Clemens
parent
commit
e91393988d
  1. 14
      koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt

14
koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt

@ -9,11 +9,10 @@
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Error [% errno | html %]</div>
<div id="doc" class="yui-t7">
<div class="main container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div id="bd">
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<h1>An error has occurred!</h1>
<h2><em>Error [% errno | html %]</em></h2>
<h3>This message may have been caused by any of the following reasons:</h3>
@ -27,10 +26,9 @@
<ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;">
<li>Use top menu bar to navigate to another part of Koha.</li>
<li>To report a broken link or any other issue, please contact the Koha Administrator. <a href="mailto:[% admin | uri %]">Send email</a></li>
</ul>
</div>
</ul>
</div>
</div>
</div> <!-- /.col-md-8 -->
</div> <!-- /.row -->
[% INCLUDE 'intranet-bottom.inc' %]

Loading…
Cancel
Save