mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated disabled Portal view in Membership settings
This commit is contained in:
parent
84efeef8d1
commit
a2e3e0c570
2 changed files with 34 additions and 2 deletions
|
@ -1637,6 +1637,34 @@ p.theme-validation-details {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gh-setting-members-portal-disabled {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin: 32px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-setting-members-portal-disabled svg {
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-setting-members-portal-disabled svg path {
|
||||||
|
stroke-width: 1.2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-setting-members-portal-disabled h4 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-weight: 500;
|
||||||
|
color: var(--darkgrey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.gh-setting-members-portal-disabled p {
|
||||||
|
max-width: 240px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
.gh-setting-members-portal-mock .site-frame {
|
.gh-setting-members-portal-mock .site-frame {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,11 @@
|
||||||
<div class="gh-setting-members-portalpreview">
|
<div class="gh-setting-members-portalpreview">
|
||||||
<div class="gh-setting-members-portal-mock">
|
<div class="gh-setting-members-portal-mock">
|
||||||
{{#if (eq this.settings.membersSignupAccess 'none')}}
|
{{#if (eq this.settings.membersSignupAccess 'none')}}
|
||||||
PORTAL DISABLED
|
<div class="gh-setting-members-portal-disabled">
|
||||||
|
<span class="lightgrey">{{svg-jar "portal-logo-stroke"}}</span>
|
||||||
|
<h4>Portal disabled</h4>
|
||||||
|
<p>Change your Subscription Access setting to re-enable Portal</p>
|
||||||
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<GhSiteIframe
|
<GhSiteIframe
|
||||||
@src={{this.portalPreviewUrl}}
|
@src={{this.portalPreviewUrl}}
|
||||||
|
@ -182,7 +186,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{#if this.stripePlanError}}
|
{{#if this.stripePlanError}}
|
||||||
<p class="response w-100 red"> {{this.stripePlanError}} </p>
|
<p class="response w-100"><span class="red">{{this.stripePlanError}}</span></p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue