mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Aditional classes in settings and invite user modal for the new form style
This commit is contained in:
parent
4cf92a782c
commit
4f5f84e02a
2 changed files with 27 additions and 14 deletions
|
@ -7,11 +7,21 @@
|
||||||
{{input class="email" id="new-user-email" type="email" placeholder="Email Address" name="email" autofocus="autofocus"
|
{{input class="email" id="new-user-email" type="email" placeholder="Email Address" name="email" autofocus="autofocus"
|
||||||
autocapitalize="off" autocorrect="off" value=email }}
|
autocapitalize="off" autocorrect="off" value=email }}
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
|
||||||
|
<div class="form-group for-select">
|
||||||
<label for="new-user-role">Role</label>
|
<label for="new-user-role">Role</label>
|
||||||
{{view Ember.Select content=roles id="new-user-role" optionValuePath="content.id" optionLabelPath="content.name" name="role"
|
<span class="gh-select" {{bind-attr data-select-text=selectedRole.name}}>
|
||||||
value=role}}
|
{{view Ember.Select
|
||||||
|
content=roles
|
||||||
|
id="new-user-role"
|
||||||
|
optionValuePath="content.id"
|
||||||
|
optionLabelPath="content.name"
|
||||||
|
name="role"
|
||||||
|
value=role
|
||||||
|
selection=selectedRole}}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
{{/gh-modal-dialog}}
|
{{/gh-modal-dialog}}
|
||||||
|
|
|
@ -62,22 +62,25 @@
|
||||||
<p>How many posts should be displayed on each page</p>
|
<p>How many posts should be displayed on each page</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group for-checkbox">
|
||||||
<label for="permalinks">Dated Permalinks</label>
|
<label for="permalinks">Dated Permalinks</label>
|
||||||
{{input id="permalinks" name="general[permalinks]" type="checkbox" checked=isDatedPermalinks}}
|
{{input id="permalinks" name="general[permalinks]" type="checkbox" checked=isDatedPermalinks}}
|
||||||
<label class="checkbox" for="permalinks"></label>
|
<label class="checkbox" for="permalinks"></label>
|
||||||
<p>Include the date in your post URLs</p>
|
<p>Include the date in your post URLs</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group for-select">
|
||||||
<label for="activeTheme">Theme</label>
|
<label for="activeTheme">Theme</label>
|
||||||
|
<span class="gh-select" {{bind-attr data-select-text=selectedTheme.label}}>
|
||||||
{{view Ember.Select
|
{{view Ember.Select
|
||||||
id="activeTheme"
|
id="activeTheme"
|
||||||
name="general[activeTheme]"
|
name="general[activeTheme]"
|
||||||
content=themes
|
content=themes
|
||||||
optionValuePath="content.name"
|
optionValuePath="content.name"
|
||||||
optionLabelPath="content.label"
|
optionLabelPath="content.label"
|
||||||
value=activeTheme}}
|
value=activeTheme
|
||||||
|
selection=selectedTheme}}
|
||||||
|
</span>
|
||||||
<p>Select a theme for your blog</p>
|
<p>Select a theme for your blog</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue