From d3b109fae0e246d01b0c73afd828347bcf5d2e86 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 13 Jun 2021 19:46:34 +0200 Subject: Use grid layout for items in administration area Introduce a new 1/2/3-column CSS grid layout in the administration area for items on overview pages and in the search results. The column count of the grid depends on the users viewport width. In addition, the default value of the following configuration settings has been changed to 12 because 12 can also be divided by 2 and 3 which is useful for the 1/2/3-column grid layout. ADMIN.PAGE.LIST_SIZE = 12 ADMIN.POST.LIST_SIZE = 12 --- theme/admin/html/post/delete.php | 4 +++- theme/admin/html/post/index.php | 6 ++++-- theme/admin/html/post/insert.php | 4 +++- theme/admin/html/post/search.php | 4 +++- theme/admin/html/post/update.php | 4 +++- 5 files changed, 16 insertions(+), 6 deletions(-) (limited to 'theme/admin/html/post') diff --git a/theme/admin/html/post/delete.php b/theme/admin/html/post/delete.php index 6654377..ed82197 100644 --- a/theme/admin/html/post/delete.php +++ b/theme/admin/html/post/delete.php @@ -1,4 +1,6 @@ +

text('delete_post')?>

text('delete_post_desc')?>

- \ No newline at end of file + +
diff --git a/theme/admin/html/post/index.php b/theme/admin/html/post/index.php index f884b05..83dd5dc 100644 --- a/theme/admin/html/post/index.php +++ b/theme/admin/html/post/index.php @@ -1,3 +1,4 @@ +

text('post_overview')?>

text('overview_post_desc')?>

-
+
- \ No newline at end of file + +
diff --git a/theme/admin/html/post/insert.php b/theme/admin/html/post/insert.php index dc32c24..9b7c588 100644 --- a/theme/admin/html/post/insert.php +++ b/theme/admin/html/post/insert.php @@ -1,4 +1,6 @@ +

text('insert_post')?>

text('insert_post_desc')?>

- \ No newline at end of file + +
diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php index 1289879..00bd016 100644 --- a/theme/admin/html/post/search.php +++ b/theme/admin/html/post/search.php @@ -1,3 +1,4 @@ +
>

text('title_post_search')?>

text('search_post_desc')?>

@@ -10,8 +11,9 @@ -
+
+
diff --git a/theme/admin/html/post/update.php b/theme/admin/html/post/update.php index a577bec..aa3835d 100644 --- a/theme/admin/html/post/update.php +++ b/theme/admin/html/post/update.php @@ -1,4 +1,6 @@ +

text('update_post')?>

text('update_post_desc')?>

- \ No newline at end of file + +
-- cgit v1.2.3