mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
change layout structure by moving header
This commit is contained in:
parent
6a9a590c7f
commit
da11416b39
29 changed files with 338 additions and 280 deletions
|
@ -64,7 +64,7 @@
|
|||
<a class="skip-to-content-link" href="#main">
|
||||
Skip to content
|
||||
</a>
|
||||
<header class="header">
|
||||
<div class="header">
|
||||
<nav>
|
||||
<details>
|
||||
<summary aria-label="{{ t "menu.title" }}">
|
||||
|
@ -120,11 +120,8 @@
|
|||
<button type="submit">{{ t "search.submit" }}</button>
|
||||
</form>
|
||||
</details>
|
||||
<!-- <div class="search-toggle-switch {{ if $.searchQuery }}has-search-query{{ end }}"> -->
|
||||
<!-- <a href="#" data-action="search">« {{ t "search.label" }}</a> -->
|
||||
<!-- </div> -->
|
||||
</search>
|
||||
</header>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .flashMessage }}
|
||||
<div class="flash-message alert alert-success">{{ .flashMessage }}</div>
|
||||
|
@ -132,6 +129,9 @@
|
|||
{{ if .flashErrorMessage }}
|
||||
<div class="flash-error-message alert alert-error">{{ .flashErrorMessage }}</div>
|
||||
{{ end }}
|
||||
|
||||
{{template "header" .}}
|
||||
|
||||
<main id="main">
|
||||
{{template "content" .}}
|
||||
</main>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue