group entry status and buttons
This commit is contained in:
parent
f7520a9195
commit
ebb1fb41d4
@ -75,6 +75,25 @@
|
||||
<textarea id="serendipity[extended]" name="serendipity[extended]" rows="15">{$entry_vars.entry.extended|@escape}</textarea>
|
||||
</div>
|
||||
|
||||
<div id="edit_entry_submit" class="clearfix">
|
||||
<div>
|
||||
<div id="edit_entry_status" class="form_select">
|
||||
<label for="entry_status">Entry status</label> {* i18n *}
|
||||
<select id="entry_status" name="serendipity[isdraft]">
|
||||
{if $entry_vars.serendipityRightPublish}
|
||||
<option value="false"{if $entry_vars.draft_mode == 'publish'} selected{/if}>{$CONST.PUBLISH}</option>
|
||||
{/if}
|
||||
<option value="true"{if $entry_vars.draft_mode == 'draft'} selected{/if}>{$CONST.DRAFT}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form_buttons">
|
||||
<input class="entry_preview" type="submit" value="{$CONST.PREVIEW}">
|
||||
<input type="submit" value="{$CONST.SAVE}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="edit_entry_status_comments" class="clearfix">
|
||||
<div class="form_check">
|
||||
<input id="checkbox_allow_comments" name="serendipity[allow_comments]" type="checkbox" value="true"{if $entry_vars.allow_comments} checked="checked"{/if}><label for="checkbox_allow_comments">{$CONST.COMMENTS_ENABLE}</label>
|
||||
@ -85,22 +104,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="edit_entry_submit" class="clearfix">
|
||||
<div id="edit_entry_status" class="form_select">
|
||||
<label for="entry_status">Entry status</label> {* i18n *}
|
||||
<select id="entry_status" name="serendipity[isdraft]">
|
||||
{if $entry_vars.serendipityRightPublish}
|
||||
<option value="false"{if $entry_vars.draft_mode == 'publish'} selected{/if}>{$CONST.PUBLISH}</option>
|
||||
{/if}
|
||||
<option value="true"{if $entry_vars.draft_mode == 'draft'} selected{/if}>{$CONST.DRAFT}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form_buttons">
|
||||
<input class="entry_preview" type="submit" value="{$CONST.PREVIEW}">
|
||||
<input type="submit" value="{$CONST.SAVE}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{capture name='advanced_options'}{$entry_vars.entry|@serendipity_refhookPlugin:'backend_display'}{/capture}
|
||||
{if ! empty($smarty.capture.advanced_options) }
|
||||
|
@ -1121,7 +1121,6 @@ summary {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#edit_entry_status select,
|
||||
#sort_entries .form_select select,
|
||||
#filter_entries .form_select select,
|
||||
#filter_entries .form_field input {
|
||||
@ -1734,13 +1733,18 @@ form > .button_link:first-of-type,
|
||||
color: #3e5f81;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
#meta p {
|
||||
color: #666;
|
||||
margin: 0;
|
||||
padding: .75em;
|
||||
}
|
||||
|
||||
#s9y_links ul li a {
|
||||
font-size: .8em;
|
||||
color: #98A4B1;
|
||||
}
|
||||
|
||||
|
||||
/* LOGIN FORM
|
||||
----------------------------------------------------------------- */
|
||||
@ -2766,7 +2770,6 @@ img.mfp-img {
|
||||
}
|
||||
|
||||
#edit_entry_metadata > div,
|
||||
#edit_entry_submit > div,
|
||||
#karmafilters .form_field,
|
||||
#karmafilters .form_select {
|
||||
float: left;
|
||||
@ -2873,8 +2876,16 @@ img.mfp-img {
|
||||
margin: 0 0 0 2%;
|
||||
}
|
||||
|
||||
#edit_entry_submit .form_buttons {
|
||||
text-align: right;
|
||||
#edit_entry_submit {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#edit_entry_submit > div {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#entry_status {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#preview {
|
||||
|
Loading…
x
Reference in New Issue
Block a user