diff options
author | Thomas Lange <code@nerdmind.de> | 2017-05-31 15:44:11 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-05-31 15:44:11 +0200 |
commit | 816959215dff92ee0af295be6d801b4cfa150269 (patch) | |
tree | 30cb09dbdeadce4524f380064a778006d890a8ca /template/admin/html/user | |
parent | ee982c2ee760d6aeafedcb4343d1bf259ca1fe87 (diff) | |
download | blog-816959215dff92ee0af295be6d801b4cfa150269.tar.gz blog-816959215dff92ee0af295be6d801b4cfa150269.tar.xz blog-816959215dff92ee0af295be6d801b4cfa150269.zip |
Two changes have been made in this commit:
+ Update [core]: Parsedown has been updated to version 1.6.2.
+ Optimization [admin template]: The markdown buttons have been placed directly above the content editor.
+ Optimization [admin template]: The content editor has been visually embellished (padding from the parent was removed).
Diffstat (limited to 'template/admin/html/user')
-rw-r--r-- | template/admin/html/user/form.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 3da96d2..8156496 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -56,12 +56,22 @@ <div class="form-field-flex"><input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : '[CURRENT_TIMESTAMP]')?>" value="" /></div> </div> </div> - <div class="flex flex-padding"> + <div class="flex flex-direction-column"> + <div id="button-list-wrapper"> + <ul id="markdown-list" class="button-list markdown"> + <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->template('markdown_bold')?>"></li> + <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->template('markdown_italic')?>"></li> + <li data-markdown="heading" class="fa fa-header" title="<?=$Language->template('markdown_heading')?>"></li> + <li data-markdown="link" class="fa fa-link" title="<?=$Language->template('markdown_link')?>"></li> + <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->template('markdown_image')?>"></li> + <li data-markdown="code" class="fa fa-code" title="<?=$Language->template('markdown_code')?>"></li> + <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->template('markdown_quote')?>"></li> + <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->template('markdown_list_ul')?>"></li> + <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->template('markdown_list_ol')?>"></li> + </ul> + </div> <textarea id="content-editor" name="body" placeholder="[…]"><?=escapeHTML($FORM['DATA']['BODY'])?></textarea> </div> - <div class="flex flex-padding background flex-arguments"> - <input id="form_argv" name="argv" maxlength="100" placeholder="[ARGUMENT_FOO=one|ARGUMENT_BAR=two …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" /> - </div> <div class="flex flex-padding background flex-emoticons"> <ul id="emoticon-list" class="button-list emoticons"> <?php foreach(getEmoticons() as $emoticon => $data):?> @@ -69,18 +79,8 @@ <?php endforeach; ?> </ul> </div> - <div class="flex flex-padding background"> - <ul id="markdown-list" class="button-list markdown"> - <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->template('markdown_bold')?>"></li> - <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->template('markdown_italic')?>"></li> - <li data-markdown="heading" class="fa fa-header" title="<?=$Language->template('markdown_heading')?>"></li> - <li data-markdown="link" class="fa fa-link" title="<?=$Language->template('markdown_link')?>"></li> - <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->template('markdown_image')?>"></li> - <li data-markdown="code" class="fa fa-code" title="<?=$Language->template('markdown_code')?>"></li> - <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->template('markdown_quote')?>"></li> - <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->template('markdown_list_ul')?>"></li> - <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->template('markdown_list_ol')?>"></li> - </ul> + <div class="flex flex-padding background flex-arguments"> + <input id="form_argv" name="argv" maxlength="100" placeholder="[ARGUMENT_FOO=one|ARGUMENT_BAR=two …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" /> </div> <?php else: ?> <div class="flex flex-padding background flex-direction-column"> |