Ghost/ghost/admin/app/templates/settings.hbs

119 lines
4.9 KiB
Handlebars
Raw Normal View History

<section class="gh-canvas">
<GhCanvasHeader class="gh-canvas-header">
<h2 class="gh-canvas-title" data-test-screen-title>
Settings
</h2>
{{#if (feature 'auditLog')}}
<section class="view-actions">
{{#if this.upgradeStatus.message}}
2022-09-06 12:25:47 +03:00
<button type="button" class="gh-btn gh-btn-with-notification" {{on "click" (fn this.openAbout null)}} data-tooltip="Update available!">
<span>About Ghost</span>
<span class="gh-btn-notification-dot green"></span>
</button>
{{else}}
2022-09-06 12:25:47 +03:00
<button type="button" class="gh-btn gh-btn-with-notification" {{on "click" (fn this.openAbout null)}}>
<span>About Ghost</span>
</button>
{{/if}}
</section>
{{/if}}
</GhCanvasHeader>
2021-02-08 23:16:41 +03:00
<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">
2021-04-08 18:25:32 +03:00
<span class="yellow">{{svg-jar "settings"}}</span>
<div>
<h4>General</h4>
<p>Basic publication details and site metadata</p>
</div>
</LinkTo>
<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>
<LinkTo class="gh-setting-group" @route="settings.navigation" data-test-nav="navigation">
2022-08-30 17:36:46 +03:00
<span class="pink">{{svg-jar "compass"}}</span>
<div>
<h4>Navigation</h4>
<p>Set up primary and secondary menus</p>
</div>
</LinkTo>
<LinkTo class="gh-setting-group" @route="settings.staff" data-test-nav="staff">
<span class="green">{{svg-jar "staff"}}</span>
<div>
<h4>Staff</h4>
<p>Manage authors, editor and collaborators</p>
</div>
</LinkTo>
</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">
2021-05-20 12:10:15 +03:00
<span class="blue">{{svg-jar "members"}}</span>
<div>
<h4>Membership</h4>
2021-05-19 19:07:25 +03:00
<p>Access, subscription, and pricing options</p>
</div>
</LinkTo>
<LinkTo class="gh-setting-group" @route="settings.newsletters" data-test-nav="members-email">
2021-04-08 18:25:32 +03:00
<span class="yellow">{{svg-jar "email-stroke"}}</span>
<div>
<h4>Email newsletter</h4>
<p>Customize emails and set email addresses</p>
</div>
</LinkTo>
</div>
2021-03-02 19:41:24 +03:00
<div class="gh-setting-header">Advanced</div>
<div class="gh-settings-main-grid">
<LinkTo class="gh-setting-group" @route="settings.integrations" data-test-nav="integrations">
<span class="yellow">{{svg-jar "module"}}</span>
<div>
<h4>Integrations</h4>
<p>Make Ghost work with apps and tools</p>
</div>
</LinkTo>
<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="{{if (feature 'auditLog') "blue" "pink"}}">{{svg-jar "labs"}}</span>
<div>
<h4>Labs</h4>
<p>Testing ground for new features</p>
</div>
</LinkTo>
{{#if (feature 'auditLog')}}
<LinkTo class="gh-setting-group" @route="settings.history" data-test-nav="history">
<span class="pink">{{svg-jar "calendar-stroke"}}</span>
<div>
<h4>History</h4>
<p>View system event log</p>
</div>
</LinkTo>
{{/if}}
</div>
</section>
</section>
{{#if this.showLeaveSettingsModal}}
<GhFullscreenModal @modal="leave-settings"
@confirm={{action "leavePortalSettings"}}
@close={{action "closeLeaveSettingsModal"}}
@modifier="action wide" />
{{/if}}