Added spinner icon to running publish button

No ref
This commit is contained in:
Sanne de Vries 2022-05-18 20:48:36 +02:00
parent 2835d0a6a4
commit 8468994014

View File

@ -67,8 +67,7 @@
@successText="Scheduled" @successText="Scheduled"
@class="gh-btn gh-btn-large" @class="gh-btn gh-btn-large"
@idleClass="gh-btn-pulse" @idleClass="gh-btn-pulse"
@runningClass="gh-btn-green" @runningClass="gh-btn-green gh-btn-icon"
@showIcon={{false}}
/> />
{{else if @publishOptions.willOnlyEmail}} {{else if @publishOptions.willOnlyEmail}}
<GhTaskButton <GhTaskButton
@ -78,8 +77,7 @@
@successText="Sent" @successText="Sent"
@class="gh-btn gh-btn-large" @class="gh-btn gh-btn-large"
@idleClass="gh-btn-pulse" @idleClass="gh-btn-pulse"
@runningClass="gh-btn-green" @runningClass="gh-btn-green gh-btn-icon"
@showIcon={{false}}
/> />
{{else if this.willEmail}} {{else if this.willEmail}}
<GhTaskButton <GhTaskButton
@ -89,8 +87,7 @@
@successText="Published & sent" @successText="Published & sent"
@class="gh-btn gh-btn-large" @class="gh-btn gh-btn-large"
@idleClass="gh-btn-pulse" @idleClass="gh-btn-pulse"
@runningClass="gh-btn-green" @runningClass="gh-btn-green gh-btn-icon"
@showIcon={{false}}
/> />
{{else}} {{else}}
<GhTaskButton <GhTaskButton
@ -100,8 +97,7 @@
@successText="Published" @successText="Published"
@class="gh-btn gh-btn-large" @class="gh-btn gh-btn-large"
@idleClass="gh-btn-pulse" @idleClass="gh-btn-pulse"
@runningClass="gh-btn-green" @runningClass="gh-btn-green gh-btn-icon"
@showIcon={{false}}
/> />
{{/if}} {{/if}}
<button type="button" class="gh-btn gh-btn-link gh-btn-large gh-publish-cta-secondary" {{on "click" @cancel}}>Back to settings</button> <button type="button" class="gh-btn gh-btn-link gh-btn-large gh-publish-cta-secondary" {{on "click" @cancel}}>Back to settings</button>