aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-04 20:11:03 +0200
committerThomas Lange <code@nerdmind.de>2021-07-04 20:11:03 +0200
commitf534e8db1318a091f0980ecaa5384db7939fb37c (patch)
treea44168f27360f9537761d12e695ab1caf43165a2 /theme/admin/html
parent926be04229cbaa492755080fac85762b7b876bca (diff)
downloadblog-f534e8db1318a091f0980ecaa5384db7939fb37c.tar.gz
blog-f534e8db1318a091f0980ecaa5384db7939fb37c.tar.xz
blog-f534e8db1318a091f0980ecaa5384db7939fb37c.zip
Use CSS grid for admin search forms
Diffstat (limited to 'theme/admin/html')
-rw-r--r--theme/admin/html/page/search.php9
-rw-r--r--theme/admin/html/post/search.php9
2 files changed, 14 insertions, 4 deletions
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php
index 145b0f9..240e512 100644
--- a/theme/admin/html/page/search.php
+++ b/theme/admin/html/page/search.php
@@ -3,8 +3,13 @@
<p><?=$Language->text('search_page_desc')?></p>
<form id="search-form" method="GET">
- <div class="form-border-box background padding">
- <input id="search-text" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
+ <div class="form-grid no-bottom-border">
+ <label for="form_query">
+ <i class="fa fa-search"></i><?=$Language->text('search')?></label>
+
+ <div class="form-grid-item first">
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
+ </div>
</div>
<div class="form-border-box background padding">
<input id="update-button" type="submit" value="<?=$Language->text('search')?>" />
diff --git a/theme/admin/html/post/search.php b/theme/admin/html/post/search.php
index 00bd016..835a4ef 100644
--- a/theme/admin/html/post/search.php
+++ b/theme/admin/html/post/search.php
@@ -3,8 +3,13 @@
<p><?=$Language->text('search_post_desc')?></p>
<form id="search-form" method="GET">
- <div class="form-border-box background padding">
- <input id="search-text" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
+ <div class="form-grid no-bottom-border">
+ <label for="form_query">
+ <i class="fa fa-search"></i><?=$Language->text('search')?></label>
+
+ <div class="form-grid-item first">
+ <input id="form_query" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
+ </div>
</div>
<div class="form-border-box background padding">
<input id="update-button" type="submit" value="<?=$Language->text('search')?>" />