From ca38821a3eab237bd55d2df34346b419ec36804c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 9 Aug 2021 21:22:47 +0200 Subject: Show action button list in entity update template Add a link to the current entity on the website and a link to the entity delete form in the administration area's update.php templates. --- theme/admin/html/category/update.php | 6 +++++- theme/admin/html/page/update.php | 6 +++++- theme/admin/html/post/update.php | 6 +++++- theme/admin/html/user/update.php | 6 +++++- theme/admin/rsrc/css/bright.css | 1 + theme/admin/rsrc/css/dark.css | 1 + theme/admin/rsrc/css/import/_styles.scss | 1 + 7 files changed, 23 insertions(+), 4 deletions(-) diff --git a/theme/admin/html/category/update.php b/theme/admin/html/category/update.php index fefaa18..d6634a7 100644 --- a/theme/admin/html/category/update.php +++ b/theme/admin/html/category/update.php @@ -1,6 +1,10 @@

text('update_category')?>

-

text('update_category_desc')?>

+

text('update_category_desc')?>

+
diff --git a/theme/admin/html/page/update.php b/theme/admin/html/page/update.php index ce51d2a..7f2437a 100644 --- a/theme/admin/html/page/update.php +++ b/theme/admin/html/page/update.php @@ -1,6 +1,10 @@

text('update_page')?>

-

text('update_page_desc')?>

+

text('update_page_desc')?>

+
diff --git a/theme/admin/html/post/update.php b/theme/admin/html/post/update.php index aa3835d..28635ea 100644 --- a/theme/admin/html/post/update.php +++ b/theme/admin/html/post/update.php @@ -1,6 +1,10 @@

text('update_post')?>

-

text('update_post_desc')?>

+

text('update_post_desc')?>

+
diff --git a/theme/admin/html/user/update.php b/theme/admin/html/user/update.php index ad12677..d5511a4 100644 --- a/theme/admin/html/user/update.php +++ b/theme/admin/html/user/update.php @@ -1,6 +1,10 @@

text('update_user')?>

-

text('update_user_desc')?>

+

text('update_user_desc')?>

+
diff --git a/theme/admin/rsrc/css/bright.css b/theme/admin/rsrc/css/bright.css index 0fb1165..bf21d90 100644 --- a/theme/admin/rsrc/css/bright.css +++ b/theme/admin/rsrc/css/bright.css @@ -497,6 +497,7 @@ img { # Grids ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ .form-grid { + clear: both; display: grid; grid-template-columns: repeat(2, 7.5rem minmax(0, 1fr)); border-left: 0.05rem solid #AAA; diff --git a/theme/admin/rsrc/css/dark.css b/theme/admin/rsrc/css/dark.css index 0b72d29..fb7e356 100644 --- a/theme/admin/rsrc/css/dark.css +++ b/theme/admin/rsrc/css/dark.css @@ -497,6 +497,7 @@ img { # Grids ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ .form-grid { + clear: both; display: grid; grid-template-columns: repeat(2, 7.5rem minmax(0, 1fr)); border-left: 0.05rem solid #1D232B; diff --git a/theme/admin/rsrc/css/import/_styles.scss b/theme/admin/rsrc/css/import/_styles.scss index 1ed9fb9..f216d8f 100644 --- a/theme/admin/rsrc/css/import/_styles.scss +++ b/theme/admin/rsrc/css/import/_styles.scss @@ -519,6 +519,7 @@ img { # Grids ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ .form-grid { + clear: both; display: grid; grid-template-columns: repeat(2, 7.5rem minmax(0, 1fr)); -- cgit v1.2.3