From 3180d399f20d6e7bec41cf986cfbf8e1aafa3587 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 14 Sep 2017 23:51:36 +0200 Subject: Some markup optimizations has been made to both templates (the HTML5
element is more correct for the purpose of an item list, because real lists should only be used if the order of the items would change the meaning. This is not the case, because each item is a self-contained area which has nothing to do with the other items). --- template/admin/html/home.php | 12 +++++------ template/admin/html/page/index.php | 4 ++-- template/admin/html/page/item.php | 4 ++-- template/admin/html/post/index.php | 4 ++-- template/admin/html/post/item.php | 4 ++-- template/admin/html/user/index.php | 4 ++-- template/admin/html/user/item.php | 4 ++-- template/admin/rsrc/main.css | 35 ++++++++++++++------------------ template/standard/html/home.php | 10 ++++----- template/standard/html/page/item.php | 4 ++-- template/standard/html/page/list.php | 4 ++-- template/standard/html/post/item.php | 4 ++-- template/standard/html/post/list.php | 4 ++-- template/standard/html/search/result.php | 4 ++-- template/standard/html/user/item.php | 4 ++-- template/standard/html/user/list.php | 4 ++-- template/standard/rsrc/main.css | 33 ++++++++++-------------------- 17 files changed, 63 insertions(+), 79 deletions(-) diff --git a/template/admin/html/home.php b/template/admin/html/home.php index 6ade82d..f8a45c5 100644 --- a/template/admin/html/home.php +++ b/template/admin/html/home.php @@ -4,9 +4,9 @@

text('last_post')?>

text('posts')?>: | text('post_overview')?> | text('insert')?>

- +

text('home_no_posts')?>

@@ -15,9 +15,9 @@

text('pages')?>: | text('page_overview')?> | text('insert')?>

- +

text('home_no_pages')?>

@@ -26,9 +26,9 @@

text('users')?>: | text('user_overview')?> | text('insert')?>

- +

text('home_no_users')?>

diff --git a/template/admin/html/page/index.php b/template/admin/html/page/index.php index 0989796..dbd5144 100644 --- a/template/admin/html/page/index.php +++ b/template/admin/html/page/index.php @@ -1,10 +1,10 @@

text('page_overview')?>">text('insert')?>

text('overview_page_desc')?>

- + \ No newline at end of file diff --git a/template/admin/html/page/item.php b/template/admin/html/page/item.php index 4f0f884..156824b 100644 --- a/template/admin/html/page/item.php +++ b/template/admin/html/page/item.php @@ -1,4 +1,4 @@ -
  • +
  • \ No newline at end of file +
    \ No newline at end of file diff --git a/template/admin/html/post/index.php b/template/admin/html/post/index.php index 124d39b..a78076e 100644 --- a/template/admin/html/post/index.php +++ b/template/admin/html/post/index.php @@ -1,10 +1,10 @@

    text('post_overview')?>">text('insert')?>

    text('overview_post_desc')?>

    - + \ No newline at end of file diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php index 19b81c1..6707e81 100644 --- a/template/admin/html/post/item.php +++ b/template/admin/html/post/item.php @@ -1,4 +1,4 @@ -
  • +
  • \ No newline at end of file + \ No newline at end of file diff --git a/template/admin/html/user/index.php b/template/admin/html/user/index.php index bc34402..b1b4463 100644 --- a/template/admin/html/user/index.php +++ b/template/admin/html/user/index.php @@ -1,10 +1,10 @@

    text('user_overview')?>">text('insert')?>

    text('overview_user_desc')?>

    - + \ No newline at end of file diff --git a/template/admin/html/user/item.php b/template/admin/html/user/item.php index 6cb9e7a..1575bf7 100644 --- a/template/admin/html/user/item.php +++ b/template/admin/html/user/item.php @@ -1,4 +1,4 @@ -
  • +
  • \ No newline at end of file + \ No newline at end of file diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css index 7eca69c..5c07926 100644 --- a/template/admin/rsrc/main.css +++ b/template/admin/rsrc/main.css @@ -123,26 +123,21 @@ table,td{padding:0.5rem;border:0.05rem solid #AAA;} a.brackets:before,a.brackets:after{color:#222;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -/* Item List