From 55c6be8a7ab262811fa7f75759327f807ed8d166 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 27 Feb 2020 18:58:44 -0700 Subject: [PATCH] Template: JS function optimizations, add support for bulk delete select-all checkbox. --- themes/default/css.php | 16 ++++++++++ themes/default/template.php | 58 ++++++++++++++++++++++++------------- 2 files changed, 54 insertions(+), 20 deletions(-) diff --git a/themes/default/css.php b/themes/default/css.php index e5107ce2e7..0de221ccd3 100644 --- a/themes/default/css.php +++ b/themes/default/css.php @@ -2485,6 +2485,22 @@ $default_login = ($_REQUEST['login'] == 'default') ? true : false; white-space: nowrap; } +/* EDIT ********************************************************************************/ + + td.edit_delete_checkbox_all { + text-align: center; + width: 50px; + } + + td.edit_delete_checkbox_all input[type=checkbox] { + vertical-align: middle; + margin-top: -2px; + } + + td.edit_delete_checkbox_all > span:nth-child(2) { + display: none; + } + /* CURSORS ***********************************************************************/ .cursor-default { cursor: default; } diff --git a/themes/default/template.php b/themes/default/template.php index adcc76f30c..9ef6e42426 100644 --- a/themes/default/template.php +++ b/themes/default/template.php @@ -422,24 +422,10 @@ echo "