moved layout selector in page edit ui

pull/84/head
Ro 3 years ago
parent c867b6c508
commit 3994e97829

@ -66,6 +66,19 @@
<span id="post-date" type="text"> <span id="post-date" type="text">
{{ date }} {{ date }}
</span> </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>
<div id="post-meta" class="column"> <div id="post-meta" class="column">
<label>TAGS</label> <label>TAGS</label>

@ -39,18 +39,4 @@
</svg> </svg>
</button> </button>
</a> </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> </div>

File diff suppressed because one or more lines are too long

@ -194,6 +194,17 @@
display: inline-block display: inline-block
padding: 5.2px padding: 5.2px
color: $secondary 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-meta
#post_tags #post_tags
@ -242,21 +253,6 @@
svg svg
fill: $primary 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 #featured-image-upload, #post-image-upload
display: none display: none

Loading…
Cancel
Save