mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +05:30
Move hide button
This commit is contained in:
parent
e3e8ecba72
commit
3fc2b04edf
4 changed files with 5 additions and 4 deletions
|
|
@ -88,6 +88,7 @@ $( function() {
|
|||
<?php } ?>
|
||||
<div class="notice" id="response"></div>
|
||||
<div class="row">
|
||||
<div class="hide-button" style="margin-bottom:1em;"><input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/></div>
|
||||
<div class="wmd-panel" style="width:100%;">
|
||||
<form method="POST">
|
||||
<div id="post-settings" class="row">
|
||||
|
|
@ -181,7 +182,7 @@ $( function() {
|
|||
<label for="wmd-input"><?php echo i18n('Content');?> <span class="required">*</span></label>
|
||||
<div id="wmd-button-bar" class="wmd-button-bar"></div>
|
||||
<textarea id="wmd-input" class="form-control wmd-input <?php if (isset($postContent)) { if (empty($postContent)) { echo 'error'; } } ?>" name="content" cols="20" rows="15"><?php if (isset($postContent)) { echo $postContent;} ?></textarea><br>
|
||||
<input type="submit" name="publish" class="btn btn-primary submit" value="<?php echo i18n('Publish');?>"/> <input type="submit" name="draft" class="btn btn-primary draft" value="<?php echo i18n('Save_as_draft');?>"/> <input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/>
|
||||
<input type="submit" name="publish" class="btn btn-primary submit" value="<?php echo i18n('Publish');?>"/> <input type="submit" name="draft" class="btn btn-primary draft" value="<?php echo i18n('Save_as_draft');?>"/>
|
||||
<br><br>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
<?php } ?>
|
||||
<div class="notice" id="response"></div>
|
||||
<div class="row">
|
||||
<div class="hide-button" style="margin-bottom:1em;"><input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/></div>
|
||||
<div class="wmd-panel" style="width:100%;">
|
||||
<form method="POST">
|
||||
<div id="post-settings" class="row">
|
||||
|
|
@ -48,7 +49,6 @@
|
|||
<?php if ($type == 'is_category') :?>
|
||||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Add_category');?>"/>
|
||||
<?php endif;?>
|
||||
<input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<label><?php echo i18n('Preview');?></label>
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ $( function() {
|
|||
<?php } ?>
|
||||
<div class="notice" id="response"></div>
|
||||
<div class="row">
|
||||
<div class="hide-button" style="margin-bottom:1em;"><input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/></div>
|
||||
<div class="wmd-panel" style="width:100%;">
|
||||
<form method="POST">
|
||||
<div id="post-settings" class="row">
|
||||
|
|
@ -233,7 +234,6 @@ $( function() {
|
|||
<?php } else { ?>
|
||||
<input type="submit" name="updatepost" class="btn btn-primary submit" value="<?php echo i18n('Update_post');?>"/> <input type="submit" name="revertpost" class="btn btn-primary revert" value="<?php echo i18n('Revert_to_draft');?>"/> <a class="btn btn-danger" href="<?php echo $delete ?>"><?php echo i18n('Delete');?></a>
|
||||
<?php }?>
|
||||
<input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/>
|
||||
<br><br>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ $images = image_gallery(null, 1, 40);
|
|||
<?php } ?>
|
||||
<div class="notice" id="response"></div>
|
||||
<div class="row">
|
||||
<div class="hide-button" style="margin-bottom:1em;"><input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/></div>
|
||||
<div class="wmd-panel" style="width:100%;">
|
||||
<form method="POST">
|
||||
<div id="post-settings" class="row">
|
||||
|
|
@ -159,7 +160,6 @@ $images = image_gallery(null, 1, 40);
|
|||
<input type="submit" name="submit" class="btn btn-primary submit" value="<?php echo i18n('Save');?>"/> <?php if (empty($dd) && empty($dr) && $type != 'is_page'):?><input type="submit" name="revertpage" class="btn btn-primary revert" value="<?php echo i18n('Revert_to_draft');?>"/> <a class="btn btn-danger" href="<?php echo $delete ?>"><?php echo i18n('Delete');?></a><?php endif;?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<input type="button" id="hideButton" class="btn btn-secondary" value="<?php echo i18n('Focus_mode');?>"/>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<label><?php echo i18n('Preview');?></label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue