Bug 32094: Consistent classes for primary buttons: Serials
This patch makes changes the button markup in serials 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 serials pages to confirm that everything looks correct. In most cases there are no visible changes. 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
d4aceae4af
commit
fc08868976
|
|
@ -44,7 +44,7 @@
|
|||
<input type="hidden" name="basketno" value="[% basketno | html %]" />
|
||||
[% END %]
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Search" />
|
||||
<input type="submit" class="btn btn-primary" value="Search" />
|
||||
</fieldset>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<form action="/cgi-bin/koha/serials/acqui-search-result.pl" method="post">
|
||||
<label for="text">Vendor name: </label>
|
||||
<input id="text" type="text" size="25" name="supplier" autofocus="autofocus" />
|
||||
<input type="submit" class="button" value="OK" />
|
||||
<input type="submit" class="btn btn-primary" value="OK" />
|
||||
</form>
|
||||
|
||||
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action"><input type="submit" value="Search" /></fieldset>
|
||||
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Search" /></fieldset>
|
||||
</form>
|
||||
|
||||
[% IF ( subscriptions_loop ) %]
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@
|
|||
</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input type="submit" value="OK" />
|
||||
<input type="submit" class="btn btn-primary" value="OK" />
|
||||
</fieldset>
|
||||
</form> <!-- /#claims -->
|
||||
|
||||
|
|
@ -230,7 +230,7 @@
|
|||
</select>
|
||||
<input type="hidden" name="op" value="send_alert" />
|
||||
<input type="hidden" name="supplierid" value="[% supplierid | html %]" />
|
||||
<input type="submit" name="submit" class="button" value="Send notification" />
|
||||
<input type="submit" name="submit" class="btn btn-primary" value="Send notification" />
|
||||
</fieldset>
|
||||
[% END %]
|
||||
</form> <!-- /#claims_form -->
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset class="action">
|
||||
<input type="submit" name="ok" id="save_and_preview" class="button" value="Save and preview routing slip" />
|
||||
<input type="submit" name="edit" class="button" value="Edit" />
|
||||
<input type="submit" name="delete" class="button" value="Delete" /></fieldset>
|
||||
<input type="submit" name="ok" id="save_and_preview" class="btn btn-primary" value="Save and preview routing slip" />
|
||||
<input type="submit" name="edit" class="btn btn-primary" value="Edit" />
|
||||
<input type="submit" name="delete" class="btn btn-primary" value="Delete" /></fieldset>
|
||||
</form>
|
||||
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
</ol>
|
||||
|
||||
</fieldset>
|
||||
<fieldset class="action"><input type="submit" name="submit" value="Save" /></fieldset>
|
||||
<fieldset class="action"><input type="submit" name="submit" class="btn btn-primary" value="Save" /></fieldset>
|
||||
</form>
|
||||
|
||||
</main>
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@
|
|||
<div id="subscription-year-[% year.year | html %]" role="tabpanel" class="tab-pane">
|
||||
[% IF ( CAN_user_serials_receive_serials ) %]
|
||||
<p>
|
||||
<div class="btn-group"><input type="submit" value="Edit serials" class="btn btn-default btn-sm" /></div>
|
||||
<div class="btn-group"><input type="submit" value="Edit serials" class="btn btn-primary btn-sm" /></div>
|
||||
[% UNLESS subscription.closed %]
|
||||
<div class="btn-group">
|
||||
<input type="button" value="Generate next" data-subscriptionid="[% subscriptionidlist | html %]" class="btn btn-default btn-sm generatenext" />
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@
|
|||
<input type="hidden" name="mana" value="1" />
|
||||
[% END %]
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Search" />
|
||||
<input type="submit" class="btn btn-primary" value="Search" />
|
||||
</fieldset>
|
||||
</fieldset> <!-- /.rows -->
|
||||
</form>
|
||||
|
|
@ -432,7 +432,7 @@
|
|||
</ol>
|
||||
<input type="hidden" name="searched" value="1" />
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Search" />
|
||||
<input type="submit" class="btn btn-primary" value="Search" />
|
||||
</fieldset>
|
||||
|
||||
</fieldset> <!-- /.brief -->
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ fieldset.rows table { clear: none; margin: 0; }
|
|||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<button type="button" id="subscription_add_next" style="float:right;">Next <i class="fa fa-long-arrow-right"></i></button>
|
||||
<button type="button" class="btn btn-primary" id="subscription_add_next" style="float:right;">Next <i class="fa fa-long-arrow-right"></i></button>
|
||||
</fieldset>
|
||||
</div> <!-- /.col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 -->
|
||||
</div> <!-- /.row#page_1 -->
|
||||
|
|
@ -556,8 +556,8 @@ fieldset.rows table { clear: none; margin: 0; }
|
|||
<input type="hidden" id="unitsperissue" name="unitsperissue" value=""/>
|
||||
<input type="hidden" id="issuesperunit" name="issuesperunit" value=""/>
|
||||
<fieldset class="action">
|
||||
<button type="button" id="subscription_add_previous" style="float:left"><i class="fa fa-long-arrow-left"></i> Previous</button>
|
||||
<input id="save-subscription" type="submit" value="Save subscription" style="float:right;" accesskey="w"/>
|
||||
<button type="button" class="btn btn-default" id="subscription_add_previous" style="float:left"><i class="fa fa-long-arrow-left"></i> Previous</button>
|
||||
<input id="save-subscription" class="btn btn-primary" type="submit" value="Save subscription" style="float:right;" accesskey="w"/>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset class="action">
|
||||
<button type="submit" name="batchedit" value="1">Save</button>
|
||||
<button type="submit" name="batchedit" class="btn btn-primary" value="1">Save</button>
|
||||
<a class="cancel" href="[% referrer | url %]">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<input type="submit" value="Search" />
|
||||
<input type="submit" class="btn btn-primary" value="Search" />
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,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/serials/subscription-frequencies.pl" class="cancel">Cancel</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
<td><textarea name="librariannote" cols="60" rows="5">[% librariannote | html %]</textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="Save subscription history" />
|
||||
<input type="submit" class="btn btn-primary" value="Save subscription history" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@
|
|||
</table>
|
||||
</fieldset>
|
||||
<fieldset class="action">
|
||||
<button type="submit" class="btn btn-default">Save</button>
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
<button type="reset" class="btn btn-default">Reset</button>
|
||||
<a class="cancel" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl">Cancel</a>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
[% END %]
|
||||
</ol>
|
||||
</fieldset>
|
||||
<fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
|
||||
<fieldset class="action"><input type="submit" class="btn btn-primary" value="Submit" /></fieldset>
|
||||
</form>
|
||||
[% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue