forked from projects/fipamo
moved layout selector in page edit ui
This commit is contained in:
parent
c867b6c508
commit
3994e97829
4 changed files with 25 additions and 30 deletions
|
@ -66,6 +66,19 @@
|
|||
<span id="post-date" type="text">
|
||||
{{ date }}
|
||||
</span>
|
||||
<div id="layouts">
|
||||
<label>LAYOUTS</label>
|
||||
<select id="page-templates">
|
||||
{% for view in views %}
|
||||
{% if view == page['layout'] %}
|
||||
<option value={{ view }} selected>{{ view }}</option>
|
||||
{% else %}
|
||||
<option value={{ view }}>{{ view }}</option>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div id="post-meta" class="column">
|
||||
<label>TAGS</label>
|
||||
|
|
|
@ -39,18 +39,4 @@
|
|||
</svg>
|
||||
</button>
|
||||
</a>
|
||||
<div id="layouts">
|
||||
<label>Page Layouts</label>
|
||||
<select id="page-templates">
|
||||
{% for view in views %}
|
||||
{% if view == page['layout'] %}
|
||||
<option value={{ view }} selected>{{ view }}</option>
|
||||
{% else %}
|
||||
<option value={{ view }}>{{ view }}</option>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
File diff suppressed because one or more lines are too long
|
@ -194,6 +194,17 @@
|
|||
display: inline-block
|
||||
padding: 5.2px
|
||||
color: $secondary
|
||||
#layouts
|
||||
padding: 7px 0 0 0
|
||||
select
|
||||
background: $primary
|
||||
color: $secondary
|
||||
border-radius: 3px
|
||||
border-color: $primary
|
||||
margin: 5px 0 0 0
|
||||
width: 100%
|
||||
padding: 5px
|
||||
font-size: 1em
|
||||
|
||||
#post-meta
|
||||
#post_tags
|
||||
|
@ -242,21 +253,6 @@
|
|||
svg
|
||||
fill: $primary
|
||||
|
||||
#layouts
|
||||
padding: 7px 0 0 0
|
||||
label
|
||||
color: $primary
|
||||
font-size: 1em
|
||||
select
|
||||
background: $primary
|
||||
color: $secondary
|
||||
border-radius: 3px
|
||||
border-color: $primary
|
||||
margin: 5px 0 0 0
|
||||
width: 100%
|
||||
padding: 5px
|
||||
font-size: 1em
|
||||
|
||||
#featured-image-upload, #post-image-upload
|
||||
display: none
|
||||
|
||||
|
|
Loading…
Reference in a new issue