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/auth.php | 20 +++++------ template/admin/html/database.php | 12 +++---- template/admin/html/page/form.php | 60 ++++++++++++++++---------------- template/admin/html/post/form.php | 60 ++++++++++++++++---------------- template/admin/html/user/form.php | 72 +++++++++++++++++++-------------------- 5 files changed, 112 insertions(+), 112 deletions(-) (limited to 'template/admin/html') diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php index 0ab2d90..f5852c1 100644 --- a/template/admin/html/auth.php +++ b/template/admin/html/auth.php @@ -10,21 +10,21 @@
-
-
+
+
-
-
-
-
+
+ +
+
-
- -
+ + +
-
+ \ No newline at end of file diff --git a/template/admin/html/database.php b/template/admin/html/database.php index 3aad84e..8e69459 100644 --- a/template/admin/html/database.php +++ b/template/admin/html/database.php @@ -10,17 +10,17 @@
-
+
-
+ -
+
-
+ -
+
-
+
\ No newline at end of file diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index 4ab61ae..93c45fe 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/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 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 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