Bugzilla – Attachment 15431 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]
[SIGNED-OFF] Bug 9647 - Replace YUI buttons on Z39.50 servers administration page with Bootstrap
SIGNED-OFF-Bug-9647---Replace-YUI-buttons-on-Z3950.patch (text/plain), 2.91 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-16 20:56:50 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9647 - Replace YUI buttons on Z39.50 servers administration page with Bootstrap
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-16 20:56:50 UTC
Size:
2.91 KB
patch
obsolete
>From b293456587d8abc8a2934176d9a3ec607c7c65b6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 15:06:34 -0500 >Subject: [PATCH] [SIGNED-OFF] 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. >--- > .../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