Bug 32088: Consistent classes for primary buttons: Patron card creator
This patch makes changes the button markup in patron card creator templates so that all submit buttons and any buttons that should should be styled as primary buttons have the Bootstrap class "btn btn-primary." To test, apply the patch and view patron card creator pages to confirm that everything looks correct. In most cases there are no visible changes. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
89dcd61cad
commit
55bc39cb3e
|
|
@ -479,7 +479,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<fieldset class="action">
|
||||
<input class="btn btn-default btn-default" type="submit" value="Save" />
|
||||
<input class="btn btn-primary" type="submit" value="Save" />
|
||||
<a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Cancel</a>
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="layout_id" value="[% layout_id | html %]" />
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Save" />
|
||||
<input type="submit" class="btn btn-primary" value="Save" />
|
||||
<a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile" class="cancel">Cancel</a>
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="profile_id" value="[% profile_id | html %]" />
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@
|
|||
</div>
|
||||
|
||||
<fieldset class="action">
|
||||
<input type="submit" class="submit" value="Save" />
|
||||
<input type="submit" class="btn btn-primary" value="Save" />
|
||||
<a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Cancel</a>
|
||||
<input type="hidden" name="op" value="save" />
|
||||
[% IF ( template_id ) %]
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
</ol>
|
||||
<div class="action">
|
||||
<input type="hidden" name="op" value="upload" />
|
||||
<input class="btn btn-default btn-default" id="uploadsu" type="submit" value="Upload" />
|
||||
<input class="btn btn-primary" id="uploadsu" type="submit" value="Upload" />
|
||||
</div>
|
||||
[% IF ( IMPORT_SUCCESSFUL ) %]
|
||||
<div class="dialog message">
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Export" />
|
||||
<input type="submit" class="btn btn-primary" value="Export" />
|
||||
<a href="#" class="cancel gb-close">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue