Bugzilla – Attachment 15454 Details for
Bug 9647
Replace YUI buttons on Z39.50 servers administration page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9647 - Replace YUI buttons on Z39.50 servers administration page with Bootstrap
PASSED-QA-Bug-9647---Replace-YUI-buttons-on-Z3950-.patch (text/plain), 3.00 KB, created by
Katrin Fischer
on 2013-02-17 11:22:20 UTC
(
hide
)
Description:
[PASSED QA] Bug 9647 - Replace YUI buttons on Z39.50 servers administration page with Bootstrap
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-02-17 11:22:20 UTC
Size:
3.00 KB
patch
obsolete
>From 2bd3d65039f32eb84da690bf1e7750ce95827f12 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 15:06:34 -0500 >Subject: [PATCH] [PASSED QA] Bug 9647 - Replace YUI buttons on Z39.50 servers > administration page with Bootstrap > >This patch converts the toolbar on the Z39.50 administration >page to to Bootstrap, replacing YUI button code with Bootstrap markup. > >To test, view the Z39.50 administration page and confirm that >the "New Z39.50 server" button looks correct and works correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Works and looks very well. No errors. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely, no problems found. >--- > .../prog/en/modules/admin/z3950servers.tt | 41 +++++++++----------- > 1 file changed, 19 insertions(+), 22 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >index a2f473d..adf707d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >@@ -63,7 +63,22 @@ > } > //]]> > </script> >- [% END %] >+[% END %] >+[% IF ( else ) %] >+ <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> >+ <script type="text/javascript"> >+ //<![CDATA[ >+ $(document).ready(function() { >+ [% IF ( loop ) %]$.tablesorter.defaults.widgets = ['zebra']; >+ $("#serverst").tablesorter({ >+ sortList: [[0,0]], >+ headers: { 2: {sorter:false},3: { sorter: false },4: { sorter: false },7: { sorter: false },8: { sorter: false },9: { sorter: false },10: { sorter: false }} >+ });[% END %] >+ }); >+ //]]> >+ </script> >+[% END %] >+ > </head> > <body id="admin_z3950servers" class="admin"> > [% INCLUDE 'header.inc' %] >@@ -259,27 +274,9 @@ > > [% IF ( else ) %] > >-<div id="toolbar"> >- <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> >- <script type="text/javascript"> >- //<![CDATA[ >- // prepare DOM for YUI Toolbar >- $(document).ready(function() { >- yuiToolbar(); >- [% IF ( loop ) %]$.tablesorter.defaults.widgets = ['zebra']; >- $("#serverst").tablesorter({ >- sortList: [[0,0]], >- headers: { 2: {sorter:false},3: { sorter: false },4: { sorter: false },7: { sorter: false },8: { sorter: false },9: { sorter: false },10: { sorter: false }} >- });[% END %] >- }); >- // YUI Toolbar Functions >- function yuiToolbar() { >- new YAHOO.widget.Button("newserver"); >- } //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="newserver" href="/cgi-bin/koha/admin/z3950servers.pl?op=add_form">New Z39.50 server</a></li> >-</ul></div> >+<div id="toolbar" class="btn-toolbar"> >+ <a id="newserver" class="btn btn-small" href="/cgi-bin/koha/admin/z3950servers.pl?op=add_form"><i class="icon-plus"></i> New Z39.50 server</a> >+</div> > > <h3>Z39.50 servers administration</h3> > >-- >1.7.9.5
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 9647
:
15430
|
15431
| 15454