From eeddde7ae72d7f68c0a734d1fe7004cde847d1e5 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 19 May 2017 01:05:15 +0200 Subject: Several changes have been made to the admin template, which together with the previous commits result in version 2.1.1: + Optimization [CSS]: Unused .fa-* classes have been removed. + Optimization [CSS]: Hyphens have been disabled for the text within the content editor. + Optimization [CSS]: Some elements now have a smaller padding value which has benefits if the page is displayed on a mobile device. + Optimization [HTML]: The HTML
elements of the formular have been replaced with simple
elements because
elements should only be used for self-contained areas which have nothing to do with the rest of the content. The using of
elements at this place was semantically incorrect. + Implemented [JS]: Tab indents which are made by pressing can now also be removed by pressing +. + Optimization [JS]: The functions "emoticonReplace" and "markdownReplace" has been renamed to "insertEmoticon" and "insertMarkdown" and have been restructured. + Optimization [JS]: The DOMContentLoaded event listeners are not required because the file is included with the "defer" attribute. + Optimization [JS]: A function called "delayed" was added which executes a callback function after an delay of 20 ms (the delayed execution of code is necessary for the "insertEmoticon" and "insertMarkdown" functions because the content editor otherwise will losing focus when clicking outside at the emoticon or markdown buttons while the "onmousedown" event listener is still executing). --- template/admin/html/post/form.php | 60 +++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'template/admin/html/post/form.php') diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php index 3ad4376..14888aa 100644 --- a/template/admin/html/post/form.php +++ b/template/admin/html/post/form.php @@ -8,13 +8,13 @@ -
-
+
+
id="form_id" name="id" type="number" placeholder="[AUTO_INCREMENT]" value="" />
-
-
+
+
@@ -24,46 +24,46 @@
-
- -
-
+ + +
+
-
-
+ +
-
-
-
-
+ + +
+
-
-
+ +
-
-
-
+ + +
-
-
+ +
-
-
+ +
    $data):?>
-
-
+ +
  • @@ -75,14 +75,14 @@
-
+ -
+
-
+ -
+
@@ -90,5 +90,5 @@ -
+ \ No newline at end of file -- cgit v1.2.3