mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
737db37175
- Restructured Admin so that Integrations becomes a subpage of Settings.
120 lines
4.9 KiB
Handlebars
120 lines
4.9 KiB
Handlebars
<section class="gh-canvas">
|
|
<GhCanvasHeader class="gh-canvas-header">
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
Settings
|
|
</h2>
|
|
</GhCanvasHeader>
|
|
|
|
<section class="view-container">
|
|
<div class="gh-setting-header gh-first-header">Website</div>
|
|
<div class="gh-settings-main-grid">
|
|
<LinkTo class="gh-setting-group" @route="settings.general" data-test-nav="general">
|
|
<span class="yellow">{{svg-jar "settings"}}</span>
|
|
<div>
|
|
<h4>General</h4>
|
|
<p>Basic publication details and site metadata</p>
|
|
</div>
|
|
</LinkTo>
|
|
{{#if (feature "customThemeSettings")}}
|
|
<LinkTo class="gh-setting-group" @route="settings.design" data-test-nav="design">
|
|
<span class="blue">{{svg-jar "paint-palette"}}</span>
|
|
<div>
|
|
<h4>Design</h4>
|
|
<p>Customize your site and manage themes</p>
|
|
</div>
|
|
</LinkTo>
|
|
{{else}}
|
|
<button type="button" class="gh-setting-group" {{action (toggle "showBrandingModal" this)}} data-test-nav="branding">
|
|
<span class="blue">{{svg-jar "paint-palette"}}</span>
|
|
<div>
|
|
<h4>Branding</h4>
|
|
<p>Upload site logo and set accent color</p>
|
|
</div>
|
|
</button>
|
|
<LinkTo class="gh-setting-group" @route="settings.theme" data-test-nav="theme">
|
|
<span class="green">{{svg-jar "view-site"}}</span>
|
|
<div>
|
|
<h4>Theme</h4>
|
|
<p>Install and update themes</p>
|
|
</div>
|
|
</LinkTo>
|
|
{{/if}}
|
|
<LinkTo class="gh-setting-group" @route="settings.navigation" data-test-nav="navigation">
|
|
<span class="pink">{{svg-jar "compass-2"}}</span>
|
|
<div>
|
|
<h4>Navigation</h4>
|
|
<p>Set up primary and secondary menus</p>
|
|
</div>
|
|
</LinkTo>
|
|
|
|
{{#if (feature "offers")}}
|
|
<LinkTo class="gh-setting-group" @route="settings.staff" data-test-nav="navigation">
|
|
<span class="green">{{svg-jar "staff"}}</span>
|
|
<div>
|
|
<h4>Staff</h4>
|
|
<p>Manage authors, editor and collaborators</p>
|
|
</div>
|
|
</LinkTo>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="gh-setting-header">Members</div>
|
|
<div class="gh-settings-main-grid">
|
|
<LinkTo class="gh-setting-group" @route="settings.membership" data-test-nav="members-membership">
|
|
<span class="blue">{{svg-jar "members"}}</span>
|
|
<div>
|
|
<h4>Membership</h4>
|
|
<p>Access, subscription, and pricing options</p>
|
|
</div>
|
|
</LinkTo>
|
|
<LinkTo class="gh-setting-group" @route="settings.members-email" data-test-nav="members-email">
|
|
<span class="yellow">{{svg-jar "email-stroke"}}</span>
|
|
<div>
|
|
<h4>Email newsletter</h4>
|
|
<p>Customize emails and set email addresses</p>
|
|
</div>
|
|
</LinkTo>
|
|
</div>
|
|
|
|
<div class="gh-setting-header">Advanced</div>
|
|
<div class="gh-settings-main-grid">
|
|
{{#if (feature "offers")}}
|
|
<LinkTo class="gh-setting-group" @route="settings.integrations" data-test-nav="navigation">
|
|
<span class="yellow">{{svg-jar "module"}}</span>
|
|
<div>
|
|
<h4>Integrations</h4>
|
|
<p>Make Ghost work with apps and tools</p>
|
|
</div>
|
|
</LinkTo>
|
|
{{/if}}
|
|
|
|
<LinkTo class="gh-setting-group" @route="settings.code-injection" data-test-nav="code-injection">
|
|
<span class="green">{{svg-jar "brackets"}}</span>
|
|
<div>
|
|
<h4>Code injection</h4>
|
|
<p>Add code to your publication</p>
|
|
</div>
|
|
</LinkTo>
|
|
|
|
<LinkTo class="gh-setting-group" @route="settings.labs" data-test-nav="labs">
|
|
<span class="pink">{{svg-jar "labs"}}</span>
|
|
<div>
|
|
<h4>Labs</h4>
|
|
<p>Testing ground for new features</p>
|
|
</div>
|
|
</LinkTo>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
|
|
{{#if this.showBrandingModal}}
|
|
<GhFullscreenModal @modal="branding"
|
|
@close={{action "closeBrandingModal"}}
|
|
@modifier="full-overlay branding-modal" />
|
|
{{/if}}
|
|
{{#if this.showLeaveSettingsModal}}
|
|
<GhFullscreenModal @modal="leave-settings"
|
|
@confirm={{action "leavePortalSettings"}}
|
|
@close={{action "closeLeaveSettingsModal"}}
|
|
@modifier="action wide" />
|
|
{{/if}} |