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/user/form.php | 72 +++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'template/admin/html/user') diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index be8502c..a260ee0 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -8,68 +8,68 @@ -
-
+
+
id="form_id" name="id" type="number" placeholder="[AUTO_INCREMENT]" value="" />
-
-
+
+
-
- -
-
+ + +
+
-
-
+ +
-
-
-
-
+ + +
+
-
-
+ +
-
-
-
-
+ + +
+
-
-
+ +
-
-
-
+ + +
-
-
+ +
-
-
+ +
    $data):?>
-
-
+ +
  • @@ -81,14 +81,14 @@
-
+ -
+
-
+ -
+
@@ -96,5 +96,5 @@ -
+ \ No newline at end of file -- cgit v1.2.3