Bug 32085: Consistent classes for primary buttons: Labels
This patch makes changes the button markup in label-creation templates -- including the barcode image generator -- 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 label-related 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: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8a63d78c4b
commit
d30c6dcb7f
|
|
@ -112,7 +112,7 @@
|
|||
</li>
|
||||
</ol>
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Show barcode" />
|
||||
<input type="submit" class="btn btn-primary" value="Show barcode" />
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<input type="hidden" id="index" name="index" value="[% index | html %]" />
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" value="Start search" class="submit" />
|
||||
<input type="submit" class="btn btn-primary" value="Start search" />
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@
|
|||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Save" />
|
||||
<input type="submit" class="btn btn-primary" value="Save" />
|
||||
<a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Cancel</a>
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="layout_id" value="[% layout_id | html %]" />
|
||||
|
|
|
|||
|
|
@ -128,7 +128,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/labels/label-manage.pl?label_element=profile" class="cancel">Cancel</a>
|
||||
<input type="hidden" name="op" value="save" />
|
||||
<input type="hidden" name="profile_id" value="[% profile_id | html %]" />
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<button type="button" class="btn btn-default" id="print">Print range</button>
|
||||
<button type="button" class="btn btn-primary" id="print">Print range</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<fieldset class="action">
|
||||
<input type="submit" class="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a>
|
||||
<input type="submit" class="btn btn-primary" value="Save" /><a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Cancel</a>
|
||||
<input type="hidden" name="op" value="save" />
|
||||
[% IF ( template_id ) %]
|
||||
<input type="hidden" name="template_id" value="[% template_id | html %]" />
|
||||
|
|
|
|||
|
|
@ -105,7 +105,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>
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ to add to Batch [% batch_id | html %]
|
|||
</ol>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="action"><input type="submit" value="Search" class="submit" /> <a class="cancel close" href="#">Cancel</a></fieldset>
|
||||
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<input type="text" name="barcode" id="barcode" class="focus" required="required" />
|
||||
</li>
|
||||
</ol>
|
||||
<fieldset class="action"><input type="submit" value="View spine label" /></fieldset>
|
||||
<fieldset class="action"><input type="submit" class="btn btn-primary" value="View spine label" /></fieldset>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue