diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-13 19:46:34 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-13 19:46:34 +0200 |
commit | d3b109fae0e246d01b0c73afd828347bcf5d2e86 (patch) | |
tree | 00e9aaef44b0c49c9695dfa7357ef59a75ada60c /theme/admin/html/page/index.php | |
parent | b3fea3b92240a0ce51437ff84d933dd7a942a1b8 (diff) | |
download | blog-d3b109fae0e246d01b0c73afd828347bcf5d2e86.tar.gz blog-d3b109fae0e246d01b0c73afd828347bcf5d2e86.tar.xz blog-d3b109fae0e246d01b0c73afd828347bcf5d2e86.zip |
Use grid layout for items in administration area
Introduce a new 1/2/3-column CSS grid layout in the administration area
for items on overview pages and in the search results. The column count
of the grid depends on the users viewport width.
In addition, the default value of the following configuration settings
has been changed to 12 because 12 can also be divided by 2 and 3 which
is useful for the 1/2/3-column grid layout.
ADMIN.PAGE.LIST_SIZE = 12
ADMIN.POST.LIST_SIZE = 12
Diffstat (limited to 'theme/admin/html/page/index.php')
-rw-r--r-- | theme/admin/html/page/index.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/theme/admin/html/page/index.php b/theme/admin/html/page/index.php index 7067c40..bdc7f94 100644 --- a/theme/admin/html/page/index.php +++ b/theme/admin/html/page/index.php @@ -1,3 +1,4 @@ +<main id="main-content" class="wide"> <h1><i class="fa fa-file-text-o"></i><?=$Language->text('page_overview')?></h1> <p class="actions-before"><?=$Language->text('overview_page_desc')?></p> <ul class="actions"> @@ -5,10 +6,11 @@ <li><a href="<?=Application::getAdminURL('page/search.php')?>" title="<?=$Language->text('search_page')?>"><i class="fa fa-search"></i><?=$Language->text('search')?></a></li> </ul> -<div class="item-container page"> +<div class="item-container page grid"> <?php foreach($LIST['PAGES'] as $page): ?> <?php echo $page; ?> <?php endforeach; ?> </div> -<?=$PAGINATION['HTML']?>
\ No newline at end of file +<?=$PAGINATION['HTML']?> +</main> |