mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Added spinner to creating subscription manually
This commit is contained in:
parent
249cfebc21
commit
6a0c8e02a8
2 changed files with 12 additions and 2 deletions
|
@ -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 a new issue