From 75a1ecba69a70f937da043794406d6b677723107 Mon Sep 17 00:00:00 2001 From: mokaddem Date: Fri, 19 Mar 2021 11:17:00 +0100 Subject: [PATCH] chg: [genericElements] Index table UI improvements --- templates/element/genericElements/ListTopBar/group_search.php | 3 ++- templates/element/genericElements/ListTopBar/group_simple.php | 2 +- templates/genericTemplates/confirm.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/element/genericElements/ListTopBar/group_search.php b/templates/element/genericElements/ListTopBar/group_search.php index 4359a43..7822e07 100644 --- a/templates/element/genericElements/ListTopBar/group_search.php +++ b/templates/element/genericElements/ListTopBar/group_search.php @@ -130,7 +130,8 @@ } $searchType = $('') .text(searchContain ? '' : '') - .attr('title', searchContain ? '' : '') + .attr('title', searchContain ? '' : '') + .attr('style', 'cursor: help;') tableData.push([fieldName, $searchType]) }); tableData.sort((a, b) => a[0] < b[0] ? -1 : 1) diff --git a/templates/element/genericElements/ListTopBar/group_simple.php b/templates/element/genericElements/ListTopBar/group_simple.php index 2c79909..187b616 100644 --- a/templates/element/genericElements/ListTopBar/group_simple.php +++ b/templates/element/genericElements/ListTopBar/group_simple.php @@ -5,7 +5,7 @@ $elements .= $this->element('/genericElements/ListTopBar/element_' . (empty($element['type']) ? 'simple' : h($element['type'])), array('data' => $element, 'tableRandomValue' => $tableRandomValue)); } echo sprintf( - '
%s
', + '
%s
', (!empty($data['id'])) ? 'id="' . h($data['id']) . '"' : '', $elements ); diff --git a/templates/genericTemplates/confirm.php b/templates/genericTemplates/confirm.php index ea4c3b2..0d2fbd9 100644 --- a/templates/genericTemplates/confirm.php +++ b/templates/genericTemplates/confirm.php @@ -13,7 +13,7 @@ Form->postLink( h($actionName), $path, - ['class' => 'btn btn-primary button-execute'] + ['class' => 'btn btn-primary button-execute', 'id' => 'submitButton'] ) ?>