From b0184e94db678c1f9505d60053db54143f0e37f6 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Mon, 8 May 2017 15:37:50 +0200 Subject: [PATCH] Fixed badge user in nav --- public/css/style.css | 30 ++++++++++++++++++++++++++---- templates/_badgemenu.html | 9 +++++---- templates/_search.html | 2 +- templates/index.html | 5 ++++- 4 files changed, 36 insertions(+), 10 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index dadcf202..14f84911 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -188,11 +188,33 @@ div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:last-of-typ .navbar { border-radius: 0px; } -.navbar-nav>li>a.profile-image { - padding-top: 10px; - padding-bottom: 10px; -} :target { background-color: #e5eecc; } +#mainmenu button .search_text { + display: none; +} +#mainmenu .navbar-form select.form-control +{ + width: 12rem; +} +.special-img +{ + position: relative; + top: -5px; + float: left; + left: -5px; +} + +#mainmenu .badgemenu .profile-image { + line-height: 35px; +} + +#mainmenu .navbar-header, #mainmenu .navbar-nav, #mainmenu .navbar-form { + padding-top: 10px; +} + +#mainmenu .badgemenu { + padding-top: 0; +} \ No newline at end of file diff --git a/templates/_badgemenu.html b/templates/_badgemenu.html index 65bc2e77..bb22fb99 100644 --- a/templates/_badgemenu.html +++ b/templates/_badgemenu.html @@ -1,22 +1,23 @@ {{define "badge_user"}} {{with .User}} + {{end}} {{end}} diff --git a/templates/_search.html b/templates/_search.html index b6baf37c..70ff7e04 100644 --- a/templates/_search.html +++ b/templates/_search.html @@ -67,7 +67,7 @@
- +
{{end}} diff --git a/templates/index.html b/templates/index.html index 4f94d59a..30a0d98b 100755 --- a/templates/index.html +++ b/templates/index.html @@ -46,12 +46,15 @@
  • FAQ
  • RSS
  • Fap
  • - {{block "badge_user" .}}{{end}} +
  • IRC
  • + {{block "badge_user" .}}{{end}}