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/search.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/search.php')
-rw-r--r-- | theme/admin/html/page/search.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php index 6506d34..145b0f9 100644 --- a/theme/admin/html/page/search.php +++ b/theme/admin/html/page/search.php @@ -1,3 +1,4 @@ +<main id="main-content" <?=!$PAGES ?: 'class="wide"'?>> <h1><i class="fa fa-search"></i><?=$Language->text('title_page_search')?></h1> <p><?=$Language->text('search_page_desc')?></p> @@ -10,8 +11,9 @@ </div> </form> -<div class="item-container post"> +<div class="item-container post grid"> <?php foreach($PAGES as $page): ?> <?php echo $page; ?> <?php endforeach; ?> </div> +</main> |