2014-08-04 15:49:40 +04:00
|
|
|
<header class="settings-content-header">
|
2014-03-10 07:44:08 +04:00
|
|
|
<h2 class="title">General</h2>
|
2014-06-23 17:50:30 +04:00
|
|
|
|
|
|
|
<div class="settings-header-inner">
|
2014-07-13 21:03:48 +04:00
|
|
|
{{#link-to 'settings' class='button-back button'}}Back{{/link-to}}
|
2014-07-07 18:37:50 +04:00
|
|
|
|
2014-06-23 17:50:30 +04:00
|
|
|
<section class="page-actions">
|
2014-07-22 07:27:28 +04:00
|
|
|
<button type="button" class="button-save" {{action "save"}}>Save</button>
|
2014-06-23 17:50:30 +04:00
|
|
|
</section>
|
2014-07-07 18:37:50 +04:00
|
|
|
</div>
|
2014-03-10 07:44:08 +04:00
|
|
|
</header>
|
|
|
|
|
2014-07-13 21:03:48 +04:00
|
|
|
<section class="content settings-general">
|
2014-03-10 07:44:08 +04:00
|
|
|
<form id="settings-general" novalidate="novalidate">
|
|
|
|
<fieldset>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="blog-title">Blog Title</label>
|
|
|
|
{{input id="blog-title" name="general[title]" type="text" value=title}}
|
|
|
|
<p>The name of your blog</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group description-container">
|
|
|
|
<label for="blog-description">Blog Description</label>
|
2014-06-24 15:17:40 +04:00
|
|
|
{{textarea id="blog-description" name="general[description]" value=description}}
|
2014-03-10 07:44:08 +04:00
|
|
|
<p>
|
|
|
|
Describe what your blog is about
|
2014-06-24 00:02:09 +04:00
|
|
|
{{gh-count-characters description}}
|
2014-03-10 07:44:08 +04:00
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="blog-logo">Blog Logo</label>
|
|
|
|
{{#if logo}}
|
2014-07-22 07:27:28 +04:00
|
|
|
<button type="button" class="js-modal-logo" {{action "openModal" "upload" this "logo"}}><img id="blog-logo" {{bind-attr src=logo}} alt="logo"></button>
|
2014-03-10 07:44:08 +04:00
|
|
|
{{else}}
|
2014-07-22 07:27:28 +04:00
|
|
|
<button type="button" class="button-add js-modal-logo" {{action "openModal" "upload" this "logo"}}>Upload Image</button>
|
2014-03-10 07:44:08 +04:00
|
|
|
{{/if}}
|
|
|
|
<p>Display a sexy logo for your publication</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="blog-cover">Blog Cover</label>
|
|
|
|
{{#if cover}}
|
2014-07-22 07:27:28 +04:00
|
|
|
<button type="button" class="js-modal-cover" {{action "openModal" "upload" this "cover"}}><img id="blog-cover" {{bind-attr src=cover}} alt="cover photo"></button>
|
2014-03-10 07:44:08 +04:00
|
|
|
{{else}}
|
2014-07-22 07:27:28 +04:00
|
|
|
<button type="button" class="button-add js-modal-cover" {{action "openModal" "upload" this "cover"}}>Upload Image</button>
|
2014-03-10 07:44:08 +04:00
|
|
|
{{/if}}
|
|
|
|
<p>Display a cover image on your site</p>
|
|
|
|
</div>
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email-address">Email Address</label>
|
|
|
|
{{input id="email-address" name="general[email-address]" type="email" value=email autocapitalize="off" autocorrect="off"}}
|
|
|
|
<p>Address to use for admin notifications</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="postsPerPage">Posts per page</label>
|
|
|
|
{{input id="postsPerPage" name="general[postsPerPage]" type="number" value=postsPerPage}}
|
|
|
|
<p>How many posts should be displayed on each page</p>
|
|
|
|
</div>
|
|
|
|
|
2014-07-07 18:37:50 +04:00
|
|
|
<div class="form-group for-checkbox">
|
2014-03-10 07:44:08 +04:00
|
|
|
<label for="permalinks">Dated Permalinks</label>
|
2014-03-21 06:55:32 +04:00
|
|
|
{{input id="permalinks" name="general[permalinks]" type="checkbox" checked=isDatedPermalinks}}
|
2014-03-10 07:44:08 +04:00
|
|
|
<label class="checkbox" for="permalinks"></label>
|
|
|
|
<p>Include the date in your post URLs</p>
|
|
|
|
</div>
|
|
|
|
|
2014-07-07 18:37:50 +04:00
|
|
|
<div class="form-group for-select">
|
2014-03-10 07:44:08 +04:00
|
|
|
<label for="activeTheme">Theme</label>
|
2014-07-07 18:37:50 +04:00
|
|
|
<span class="gh-select" {{bind-attr data-select-text=selectedTheme.label}}>
|
|
|
|
{{view Ember.Select
|
|
|
|
id="activeTheme"
|
|
|
|
name="general[activeTheme]"
|
|
|
|
content=themes
|
|
|
|
optionValuePath="content.name"
|
|
|
|
optionLabelPath="content.label"
|
|
|
|
value=activeTheme
|
|
|
|
selection=selectedTheme}}
|
|
|
|
</span>
|
2014-03-10 07:44:08 +04:00
|
|
|
<p>Select a theme for your blog</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</section>
|