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 ManageAlbums extends HTMLController
'form' => [
'action' => BASEURL . '/editalbum/',
'method' => 'get',
'class' => 'float-end',
'class' => 'col-md-6 text-end',
'buttons' => [
'add' => [
'type' => 'submit',
@@ -60,7 +60,7 @@ class ManageAlbums extends HTMLController
'title' => 'Manage albums',
'no_items_label' => 'No albums meet the requirements of the current filter.',
'items_per_page' => 9999,
'index_class' => 'float-start',
'index_class' => 'col-md-6',
'base_url' => BASEURL . '/managealbums/',
'get_data' => function($offset = 0, $limit = 9999, $order = '', $direction = 'up') {
if (!in_array($order, ['id_tag', 'tag', 'slug', 'count']))