put search form in sidebar

This commit is contained in:
prx 2023-09-23 21:12:52 +02:00
parent 63f543f62d
commit fcd5cd6033
3 changed files with 9 additions and 4 deletions

View File

@ -32,7 +32,9 @@
margin: .5rem;
cursor: pointer;
}
#dokuwiki__sidebar_content {
#dokuwiki__sidebar_content,
#dokuwiki__searchform {
margin-bottom: 1em;
padding: .5em;
border: 1px solid var(--border);
border-radius: var(--standard-border-radius);

View File

@ -59,8 +59,6 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
<p class="claim"><?php echo $conf['tagline'] ?></p>
<?php endif ?>
<?php tpl_searchform() ?>
<!-- TOC AND TOOLS IN SIDENAV -->
<a id="dokuwiki__sidebar_show_btn" class="button" href="#dokuwiki__sidebar" class="button" ></a>
<div id="dokuwiki__sidebar" aria-labelledby="dokuwiki__sitetools_heading">
@ -74,6 +72,11 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
<?php tpl_includeFile('sidebarfooter.html') ?>
<?php endif; ?>
</div>
<div id="dokuwiki__searchform">
<?php tpl_searchform() ?>
</div>
<details id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools_heading">
<summary id="dokuwiki__pagetools_heading"><?php echo $lang['page_tools'] ?></summary>
<ul>

View File

@ -1,7 +1,7 @@
base hydrogen
author prx
email prx@si3t.ch
date 2023-09-19
date 2023-09-23
name hydrogen
desc a clean, responsive, light and modern theme for dokuwiki using simplecss
url https://www.dokuwiki.org/template:hydrogen