Bugzilla – Attachment 82169 Details for
Bug 21790
Switch error page template to Bootstrap grid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21790: Switch error page template to Bootstrap grid
Bug-21790-Switch-error-page-template-to-Bootstrap-.patch (text/plain), 2.02 KB, created by
Josef Moravec
on 2018-11-09 14:22:59 UTC
(
hide
)
Description:
Bug 21790: Switch error page template to Bootstrap grid
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-11-09 14:22:59 UTC
Size:
2.02 KB
patch
obsolete
>From 4e8986da009751e61a79f07c49a734faabb599a4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 8 Nov 2018 16:37:19 +0000 >Subject: [PATCH] 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> >--- > .../intranet-tmpl/prog/en/modules/errors/errorpage.tt | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt >index 49e3fb12b4..6cd94c19fc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt >+++ b/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> › 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' %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21790
:
82102
| 82169