Skip to content

Commit

Permalink
add button css vclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer authored and spereverde committed Nov 13, 2023
1 parent 5f0f100 commit ca17dba
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 40 deletions.
28 changes: 15 additions & 13 deletions plone/app/iterate/browser/cancel.pt
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,21 @@

<div class="formControls">

<input class="destructive"
name="form.button.Cancel"
type="submit"
value="Cancel checkout"
i18n:attributes="value"
/>

<input class="standalone"
name="form.button.Keep"
type="submit"
value="Keep checkout"
i18n:attributes="value"
/>
<input
class="btn btn-danger"
type="submit"
name="form.button.Cancel"
value="Cancel checkout"
i18n:attributes="value"
/>

<input
class="btn btn-secondary"
type="submit"
name="form.button.Keep"
value="Keep checkout"
i18n:attributes="value"
/>

</div>

Expand Down
30 changes: 16 additions & 14 deletions plone/app/iterate/browser/checkin.pt
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,23 @@
></textarea>
</div>

<div class="formControls">
<input class="context"
name="form.button.Checkin"
type="submit"
value="Check in"
i18n:attributes="value"
/>
<div class="formControls">
<input
class="btn btn-primary"
type="submit"
name="form.button.Checkin"
value="Check in"
i18n:attributes="value"
/>

<input class="standalone"
name="form.button.Cancel"
type="submit"
value="Cancel"
i18n:attributes="value label_cancel"
/>
</div>
<input
class="btn btn-secondary"
type="submit"
name="form.button.Cancel"
value="Cancel"
i18n:attributes="value label_cancel"
/>
</div>

</fieldset>

Expand Down
28 changes: 15 additions & 13 deletions plone/app/iterate/browser/checkout.pt
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,21 @@

<div class="formControls">

<input class="context"
name="form.button.Checkout"
type="submit"
value="Check out"
i18n:attributes="value"
/>

<input class="standalone"
name="form.button.Cancel"
type="submit"
value="Cancel"
i18n:attributes="value label_cancel"
/>
<input
class="btn btn-primary"
type="submit"
name="form.button.Checkout"
value="Check out"
i18n:attributes="value"
/>

<input
class="btn btn-secondary"
type="submit"
name="form.button.Cancel"
value="Cancel"
i18n:attributes="value label_cancel"
/>

</div>

Expand Down

0 comments on commit ca17dba

Please sign in to comment.