mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Added spinner to creating subscription manually
This commit is contained in:
parent
510e31e6e6
commit
1b66938327
@ -187,9 +187,9 @@
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#if this.isAddComplimentaryAllowed}}
|
||||
<div class="gh-memberproduct-list-footer">
|
||||
<div class="gh-memberproduct-list-footer {{if this.isCreatingComplimentary "min-height" ""}}">
|
||||
{{#if this.isCreatingComplimentary}}
|
||||
Loading...
|
||||
<GhLoadingSpinner />
|
||||
{{else}}
|
||||
<button type="button" class="gh-btn gh-btn-text green gh-btn-icon gh-btn-addproduct" {{action "addCompedSubscription"}}>
|
||||
<span>{{svg-jar "add"}} Add complimentary subscription</span>
|
||||
|
@ -1615,12 +1615,22 @@ p.gh-members-import-errordetail:first-of-type {
|
||||
}
|
||||
|
||||
.gh-memberproduct-list-footer {
|
||||
position:relative;
|
||||
margin-top: 12px;
|
||||
margin-bottom: -8px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--whitegrey);
|
||||
}
|
||||
|
||||
.gh-memberproduct-list-footer.min-height {
|
||||
min-height: 74px;
|
||||
}
|
||||
|
||||
.gh-memberproduct-list-footer .gh-loading-content {
|
||||
padding-bottom: unset;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.gh-btn-addproduct svg path {
|
||||
fill: var(--green);
|
||||
stroke: none !important;
|
||||
|
Loading…
Reference in New Issue
Block a user