Bugzilla – Attachment 84160 Details for
Bug 22104
Clean up patron API keys template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22104: Clean up patron API keys template
Bug-22104-Clean-up-patron-API-keys-template.patch (text/plain), 3.07 KB, created by
Jack
on 2019-01-17 20:58:21 UTC
(
hide
)
Description:
Bug 22104: Clean up patron API keys template
Filename:
MIME Type:
Creator:
Jack
Created:
2019-01-17 20:58:21 UTC
Size:
3.07 KB
patch
obsolete
>From 69b696d8971fff992cbfd336d7a3fb0709f39802 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 11 Jan 2019 17:06:45 +0000 >Subject: [PATCH] Bug 22104: Clean up patron API keys template > >This patch makes two corrections to the patron API key template: Convert >to Bootstrap grid and correct class on "new key" button. > >To test, apply the patch and enable the RESTOAuth2ClientCredentials >preference. > > - Open a patron record in the staff client and choose More -> Manage > API keys. > - On the API keys page, confirm that the page adjusts well at various > page widths. > - Confirm that the size of the "Generate new client id/key pair" button > matches the buttons in the toolbar. > >Signed-off-by: Jack Kelliher <jke0429@stacmail.net> >--- > .../prog/en/modules/members/apikeys.tt | 27 +++++++++++++--------- > 1 file changed, 16 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >index 3307a3189e..d3a05a3a72 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >@@ -18,10 +18,11 @@ > API Keys for [% INCLUDE 'patron-title.inc' %] > </div> > >-<div id="doc3" class="yui-t2"> >- <div id="bd"> >- <div id="yui-main"> >- <div class="yui-b"> >+<div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-sm-10 col-sm-push-2"> >+ <main> >+ > [% INCLUDE 'members-toolbar.inc' %] > > <h1>API keys for [% INCLUDE 'patron-title.inc' %]</h1> >@@ -45,7 +46,7 @@ > <div id="keys"> > [% IF api_keys && api_keys.size > 0 %] > <p> >- <button class="btn btn-default btn-xs toggle_element" type="submit" id="show-api-form" data-element="#add-api-key"><i class="fa fa-plus"></i> Generate a new client id/key pair</button> >+ <button class="btn btn-default btn-sm toggle_element" type="submit" id="show-api-form" data-element="#add-api-key"><i class="fa fa-plus"></i> Generate a new client id/key pair</button> > </p> > <table> > <thead> >@@ -93,12 +94,16 @@ > <div class="dialog message">No keys defined for the current patron. <a href="#" class="toggle_element" data-element="#add-api-key" id="show-api-form"><i class="fa fa-plus"></i> Generate a new client id/secret pair</div> > [% END %] > </div> >- </div> >- </div> >- <div class="yui-b"> >- [% INCLUDE 'circ-menu.inc' %] >- </div> >- </div> >+ </main> >+ </div> <!-- /.col-sm-10.col-sm-push-2 --> >+ >+ <div class="col-sm-2 col-sm-pull-10"> >+ <aside> >+ [% INCLUDE 'circ-menu.inc' %] >+ </aside> >+ </div> <!-- /.col-sm-2.col-sm-pull-10 --> >+ </div> <!-- /.row --> >+ > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'str/members-menu.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 22104
:
83815
|
84159
|
84160
|
84172
|
84173
|
84232
|
84234