Bug 32097: Consistent classes for primary buttons: Lists
This patch makes changes the button markup in lists 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 lists 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: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
3fa7034bbe
commit
f7d8717a33
5 changed files with 7 additions and 7 deletions
|
@ -14,5 +14,5 @@
|
|||
</tr>
|
||||
[% END %]
|
||||
</table>
|
||||
<input type="submit" value="selection" />
|
||||
<input type="submit" class="btn btn-primary" value="selection" />
|
||||
</form>
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
<!-- SAVE -->
|
||||
<fieldset class="action">
|
||||
<input type="hidden" name="sortfield" value="title" />
|
||||
<input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a>
|
||||
<input type="submit" class="btn btn-primary" value="Save" /> <a class="close cancel" href="#">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
<!-- /SAVE -->
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
</li></ol>
|
||||
</fieldset>
|
||||
<fieldset class="action"><input type="hidden" name="shelfid" value="[% shelfid | html %]" />
|
||||
<input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">Cancel</a>
|
||||
</fieldset>
|
||||
<input type="submit" name="save" class="btn btn-primary" value="Save" /> <a class="cancel close" href="#">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[% END %]
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<li>
|
||||
<input type="hidden" name="shelfid" value="[% shelfid | html %]" />
|
||||
</li></ol></fieldset>
|
||||
<fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
|
||||
<fieldset class="action"> <input type="submit" class="btn btn-primary" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset>
|
||||
</form>
|
||||
|
||||
[% END %]</div>
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
|
||||
<br/>
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Transfer" class="submit" />
|
||||
<input type="submit" class="btn btn-primary" value="Transfer" />
|
||||
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&public=1" class="cancel">Cancel</a>
|
||||
</fieldset>
|
||||
|
||||
|
@ -472,7 +472,7 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Save" class="submit" />
|
||||
<input type="submit" class="btn btn-primary" value="Save" />
|
||||
[% IF referer == 'view' %]
|
||||
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel">Cancel</a>
|
||||
[% ELSE %]
|
||||
|
|
Loading…
Reference in a new issue