2017-02-21 22:04:50 +03:00
|
|
|
<section class="gh-canvas">
|
2019-06-18 13:47:21 +03:00
|
|
|
<GhCanvasHeader class="gh-canvas-header">
|
|
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
|
|
Design
|
|
|
|
</h2>
|
2017-02-21 22:04:50 +03:00
|
|
|
<section class="view-actions">
|
2017-05-18 13:48:37 +03:00
|
|
|
{{gh-task-button task=save class="gh-btn gh-btn-blue gh-btn-icon" data-test-save-button=true}}
|
2017-02-21 22:04:50 +03:00
|
|
|
</section>
|
2019-06-18 13:47:21 +03:00
|
|
|
</GhCanvasHeader>
|
2017-02-21 22:04:50 +03:00
|
|
|
|
2017-10-31 18:27:25 +03:00
|
|
|
{{#if showLeaveSettingsModal}}
|
|
|
|
{{gh-fullscreen-modal "leave-settings"
|
|
|
|
confirm=(action "leaveSettings")
|
|
|
|
close=(action "toggleLeaveSettingsModal")
|
|
|
|
modifier="action wide"}}
|
|
|
|
{{/if}}
|
|
|
|
|
2017-02-21 22:04:50 +03:00
|
|
|
<section class="view-container">
|
2018-12-04 14:04:52 +03:00
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
<div class="gh-setting-header gh-first-header">Navigation</div>
|
|
|
|
<div class="gh-blognav-container pa5 pt6 bg-grouped-table shadow-1 br3">
|
2017-02-27 09:31:01 +03:00
|
|
|
<form id="settings-navigation" class="gh-blognav" novalidate="novalidate">
|
2018-01-11 01:57:43 +03:00
|
|
|
{{#sortable-objects sortableObjectList=settings.navigation useSwap=false}}
|
2019-01-02 12:58:55 +03:00
|
|
|
{{#each settings.navigation as |navItem index|}}
|
2017-10-31 12:10:49 +03:00
|
|
|
{{#draggable-object content=navItem dragHandle=".gh-blognav-grab" isSortable=true}}
|
2019-01-02 12:58:55 +03:00
|
|
|
{{gh-navitem
|
|
|
|
navItem=navItem
|
|
|
|
baseUrl=blogUrl
|
|
|
|
addItem=(action "addNavItem")
|
|
|
|
deleteItem=(action "deleteNavItem")
|
|
|
|
updateUrl=(action "updateUrl")
|
|
|
|
updateLabel=(action "updateLabel")
|
|
|
|
data-test-navitem=index}}
|
2017-10-31 12:10:49 +03:00
|
|
|
{{/draggable-object}}
|
2017-02-27 09:31:01 +03:00
|
|
|
{{/each}}
|
2017-10-31 12:10:49 +03:00
|
|
|
{{/sortable-objects}}
|
2019-01-02 12:58:55 +03:00
|
|
|
{{gh-navitem
|
|
|
|
navItem=newNavItem
|
|
|
|
baseUrl=blogUrl
|
|
|
|
addItem=(action "addNavItem")
|
|
|
|
updateUrl=(action "updateUrl")
|
|
|
|
data-test-navitem="new"}}
|
2017-02-27 09:31:01 +03:00
|
|
|
</form>
|
2017-02-21 22:04:50 +03:00
|
|
|
</div>
|
|
|
|
|
2018-12-04 14:04:52 +03:00
|
|
|
<div class="gh-setting-header">Theme Directory</div>
|
|
|
|
<div class="gh-theme-directory-container">
|
|
|
|
<div class="theme-directory">
|
|
|
|
<a class="td-item" href="https://github.com/TryGhost/Massively" target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="td-item-screenshot">
|
|
|
|
<img style="object-fit:contain;" src="assets/img/themes/massively.jpg" alt="Massively Theme" />
|
|
|
|
</div>
|
|
|
|
<div class="td-item-desc">
|
|
|
|
<div>Massively <span>— Free</span></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="td-item" href="https://themeforest.net/item/nurui-multipurpose-ghost-blog-theme/22243886" target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="td-item-screenshot">
|
|
|
|
<img style="object-fit:contain;" src="assets/img/themes/nurui.jpg" alt="Nurui Theme" />
|
|
|
|
</div>
|
|
|
|
<div class="td-item-desc">
|
|
|
|
<div>Nurui <span>— Premium</span></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="td-item" href="https://themeforest.net/item/pacific-big-bold-photographydriven-theme/19774541" target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="td-item-screenshot">
|
|
|
|
<img style="object-fit:contain;" src="assets/img/themes/pacific.jpg" alt="Pacific Theme" />
|
|
|
|
</div>
|
|
|
|
<div class="td-item-desc">
|
|
|
|
<div>Pacific <span>— Premium</span></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="td-item" href="https://www.hauntedthemes.com/" target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="td-item-screenshot">
|
|
|
|
<img style="object-fit:contain;" src="assets/img/themes/farafra.jpg" alt="Farafra Theme" />
|
|
|
|
</div>
|
|
|
|
<div class="td-item-desc">
|
|
|
|
<div>Farafra <span>— Premium</span></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="td-item" href="https://themeforest.net/item/valkyrie-a-highly-visual-ghost-blog/22576630" target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="td-item-screenshot">
|
|
|
|
<img style="object-fit:contain;" src="assets/img/themes/valkyrie.jpg" alt="Valkyrie Theme" />
|
|
|
|
</div>
|
|
|
|
<div class="td-item-desc">
|
|
|
|
<div>Valkyrie <span>— Premium</span></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
<a class="td-item" href="https://themeforest.net/item/sente-magazine-ghost-blog-theme/21019644" target="_blank" rel="noopener noreferrer">
|
|
|
|
<div class="td-item-screenshot">
|
|
|
|
<img style="object-fit:contain;" src="assets/img/themes/sente.jpg" alt="Sente Theme" />
|
|
|
|
</div>
|
|
|
|
<div class="td-item-desc">
|
|
|
|
<div>Sente <span>— Premium</span></div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="td-cta">
|
2019-05-22 11:55:03 +03:00
|
|
|
<a class="td-cta-box td-cta-marketplace" href="https://ghost.org/marketplace/" target="_blank" rel="noopener">
|
2018-12-04 14:04:52 +03:00
|
|
|
<div class="td-cta-icon">{{svg-jar "store"}}</div>
|
|
|
|
<div class="td-cta-content-wrapper">
|
|
|
|
<div class="td-cta-content">
|
2019-06-18 13:47:21 +03:00
|
|
|
<h4 class="fw6 f6">Theme Marketplace</h4>
|
2018-12-04 14:04:52 +03:00
|
|
|
<p>Explore a huge range of free and premium themes for Ghost with a range of design and layout options</p>
|
|
|
|
</div>
|
|
|
|
<div class="td-cta-arrow">
|
|
|
|
{{svg-jar "arrow-right"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
2019-07-25 10:15:31 +03:00
|
|
|
<a class="td-cta-box td-cta-docs" href="https://ghost.org/docs/api/handlebars-themes/" target="_blank" rel="noopener">
|
2018-12-04 14:04:52 +03:00
|
|
|
<div class="td-cta-icon">{{svg-jar "book-open"}}</div>
|
|
|
|
<div class="td-cta-content-wrapper">
|
|
|
|
<div class="td-cta-content">
|
2019-06-18 13:47:21 +03:00
|
|
|
<h4 class="fw6 f6">Developer Docs</h4>
|
2018-12-04 14:04:52 +03:00
|
|
|
<p>Build your own custom Ghost theme from scratch using our comprehensive Handlebars.js SDK</p>
|
|
|
|
</div>
|
|
|
|
<div class="td-cta-arrow">
|
|
|
|
{{svg-jar "arrow-right"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gh-setting-header">Installed Themes</div>
|
2017-02-27 09:31:01 +03:00
|
|
|
<div class="gh-themes-container">
|
2018-12-04 14:04:52 +03:00
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
{{gh-theme-table
|
|
|
|
themes=themes
|
2017-03-03 18:31:42 +03:00
|
|
|
activateTheme=(action "activateTheme")
|
2017-02-27 09:31:01 +03:00
|
|
|
downloadTheme=(action "downloadTheme")
|
|
|
|
deleteTheme=(action "deleteTheme")}}
|
2017-02-21 22:04:50 +03:00
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
{{#link-to "settings.design.uploadtheme" class="gh-btn gh-btn-green gh-themes-uploadbtn" data-test-upload-theme-button=true}}
|
|
|
|
<span>Upload a theme</span>
|
|
|
|
{{/link-to}}
|
2017-02-21 22:04:50 +03:00
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
|
|
|
|
{{#if showDeleteThemeModal}}
|
|
|
|
{{gh-fullscreen-modal "delete-theme"
|
|
|
|
model=(hash
|
|
|
|
theme=themeToDelete
|
|
|
|
download=(action "downloadTheme" themeToDelete)
|
|
|
|
)
|
|
|
|
close=(action "hideDeleteThemeModal")
|
|
|
|
confirm=(action "deleteTheme")
|
|
|
|
modifier="action wide"}}
|
|
|
|
{{/if}}
|
2017-03-14 16:54:58 +03:00
|
|
|
|
|
|
|
{{#if showThemeWarningsModal}}
|
|
|
|
{{gh-fullscreen-modal "theme-warnings"
|
|
|
|
model=(hash
|
2017-08-02 13:30:47 +03:00
|
|
|
title="Activation successful"
|
2017-03-14 16:54:58 +03:00
|
|
|
warnings=themeWarnings
|
2017-06-22 20:19:01 +03:00
|
|
|
errors=themeErrors
|
2017-08-02 13:30:47 +03:00
|
|
|
canActivate=true
|
2017-03-14 16:54:58 +03:00
|
|
|
)
|
|
|
|
close=(action "hideThemeWarningsModal")
|
|
|
|
modifier="action wide"}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if showThemeErrorsModal}}
|
|
|
|
{{gh-fullscreen-modal "theme-warnings"
|
|
|
|
model=(hash
|
2017-06-22 20:19:01 +03:00
|
|
|
title="Activation failed"
|
|
|
|
errors=themeErrors
|
|
|
|
fatalErrors=themeFatalErrors
|
2017-08-02 13:30:47 +03:00
|
|
|
canActivate=false
|
2017-03-14 16:54:58 +03:00
|
|
|
)
|
|
|
|
close=(action "hideThemeWarningsModal")
|
|
|
|
modifier="action wide"}}
|
|
|
|
{{/if}}
|
2017-02-21 22:04:50 +03:00
|
|
|
</div>
|
2017-02-27 09:31:01 +03:00
|
|
|
|
2017-02-21 22:04:50 +03:00
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{outlet}}
|
2017-06-08 18:00:10 +03:00
|
|
|
|
|
|
|
{{gh-tour-item "upload-a-theme"
|
|
|
|
target=".gh-themes-uploadbtn"
|
|
|
|
throbberAttachment="top middle"
|
|
|
|
popoverTriangleClass="bottom"
|
|
|
|
}}
|