From 33794b12d5c68df918b988497a396b86acb09feb Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 26 Apr 2019 20:32:48 +0200 Subject: Rename "template" directory to "theme" This commit renames the "template" directory to "theme" because "theme" is the more correct term here. --- theme/admin/html/user/index.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 theme/admin/html/user/index.php (limited to 'theme/admin/html/user/index.php') diff --git a/theme/admin/html/user/index.php b/theme/admin/html/user/index.php new file mode 100644 index 0000000..aae8ee8 --- /dev/null +++ b/theme/admin/html/user/index.php @@ -0,0 +1,13 @@ +

text('user_overview')?>

+

text('overview_user_desc')?>

+ + +
+ + + +
+ + \ No newline at end of file -- cgit v1.2.3 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 --- core/application.php | 4 +- theme/admin/html/403.php | 2 + theme/admin/html/404.php | 2 + theme/admin/html/auth.php | 2 + theme/admin/html/database.php | 2 + theme/admin/html/home.php | 3 +- theme/admin/html/main.php | 8 ++-- theme/admin/html/page/delete.php | 4 +- theme/admin/html/page/index.php | 6 ++- theme/admin/html/page/insert.php | 4 +- theme/admin/html/page/search.php | 4 +- theme/admin/html/page/update.php | 4 +- 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 +- theme/admin/html/user/delete.php | 4 +- theme/admin/html/user/index.php | 4 +- theme/admin/html/user/insert.php | 4 +- theme/admin/html/user/update.php | 4 +- theme/admin/rsrc/css/import/_responsive.scss | 46 +++++++++++++----- theme/admin/rsrc/css/main.css | 71 ++++++++++++++++++++-------- theme/admin/rsrc/css/main.scss | 36 ++++++++++---- 24 files changed, 168 insertions(+), 68 deletions(-) (limited to 'theme/admin/html/user/index.php') diff --git a/core/application.php b/core/application.php index be70f92..3c431f8 100644 --- a/core/application.php +++ b/core/application.php @@ -95,8 +95,8 @@ foreach($configuration as $name => $value) { # Set default configuration (for admin prefixes) #=============================================================================== foreach([ - 'ADMIN.PAGE.LIST_SIZE' => Application::get('PAGE.LIST_SIZE'), - 'ADMIN.POST.LIST_SIZE' => Application::get('POST.LIST_SIZE'), + 'ADMIN.PAGE.LIST_SIZE' => 12, # for 1/2/3-column grid layout + 'ADMIN.POST.LIST_SIZE' => 12, # for 1/2/3-column grid layout 'ADMIN.USER.LIST_SIZE' => Application::get('USER.LIST_SIZE'), 'ADMIN.PAGE.LIST_SORT' => Application::get('PAGE.LIST_SORT'), 'ADMIN.POST.LIST_SORT' => Application::get('POST.LIST_SORT'), diff --git a/theme/admin/html/403.php b/theme/admin/html/403.php index f9a0afd..7f23212 100644 --- a/theme/admin/html/403.php +++ b/theme/admin/html/403.php @@ -1,2 +1,4 @@ +

text('403_heading_text')?>

text('403_heading_desc')?>

+
diff --git a/theme/admin/html/404.php b/theme/admin/html/404.php index d53d1bc..7fb06d8 100644 --- a/theme/admin/html/404.php +++ b/theme/admin/html/404.php @@ -1,2 +1,4 @@ +

text('404_heading_text')?>

text('404_heading_desc')?>

+
diff --git a/theme/admin/html/auth.php b/theme/admin/html/auth.php index a7b8b74..45b7e14 100644 --- a/theme/admin/html/auth.php +++ b/theme/admin/html/auth.php @@ -1,3 +1,4 @@ +

text('authentication_text')?>

text('authentication_desc')?>

@@ -34,3 +35,4 @@ +
diff --git a/theme/admin/html/database.php b/theme/admin/html/database.php index b661a28..da41e68 100644 --- a/theme/admin/html/database.php +++ b/theme/admin/html/database.php @@ -1,3 +1,4 @@ +

text('overview_database_text')?>

text('overview_database_desc')?>

@@ -28,3 +29,4 @@ +
diff --git a/theme/admin/html/home.php b/theme/admin/html/home.php index 083ae30..5331fa8 100644 --- a/theme/admin/html/home.php +++ b/theme/admin/html/home.php @@ -1,3 +1,4 @@ +

text('overview_dashboard_text')?>

text('overview_dashboard_desc')?>

@@ -43,4 +44,4 @@

text('home_no_users')?>

- +
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php index 874ae81..699a742 100644 --- a/theme/admin/html/main.php +++ b/theme/admin/html/main.php @@ -38,11 +38,9 @@ -
-
- -
-
+ + +