Admin controllers: apply new column classes

This commit is contained in:
2023-03-11 14:24:17 +01:00
parent b9bd2bf499
commit a6fd8d2764
5 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ class ManageUsers extends HTMLController
'form' => [
'action' => BASEURL . '/edituser/',
'method' => 'get',
'class' => 'float-end',
'class' => 'col-md-6 text-end',
'buttons' => [
'add' => [
'type' => 'submit',
@@ -94,7 +94,7 @@ class ManageUsers extends HTMLController
'title' => 'Manage users',
'no_items_label' => 'No users meet the requirements of the current filter.',
'items_per_page' => 30,
'index_class' => 'float-start',
'index_class' => 'col-md-6',
'base_url' => BASEURL . '/manageusers/',
'get_data' => function($offset = 0, $limit = 30, $order = '', $direction = 'down') {
if (!in_array($order, ['id_user', 'surname', 'first_name', 'slug', 'emailaddress', 'last_action_time', 'ip_address', 'is_admin']))