changeset 6405:18e63f0ee80e

templates: form inside h5 is not valid html Make journal.html do the same as admin.html does.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 06 Jan 2017 01:43:50 +0100
parents a996a08cf45c
children 2c1c03581874
files kallithea/public/css/style.css kallithea/templates/journal/journal.html
diffstat 2 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Fri Jan 06 01:43:50 2017 +0100
+++ b/kallithea/public/css/style.css	Fri Jan 06 01:43:50 2017 +0100
@@ -542,14 +542,6 @@
     border-radius: 4px 4px 0 0;
 }
 
-#content div.panel div.panel-heading h5 {
-    float: left;
-    border: none;
-    color: #fff;
-    margin: 0;
-    padding: 11px 0 11px 10px;
-}
-
 #content div.panel div.panel-heading .link-white {
     color: #FFFFFF;
 }
--- a/kallithea/templates/journal/journal.html	Fri Jan 06 01:43:50 2017 +0100
+++ b/kallithea/templates/journal/journal.html	Fri Jan 06 01:43:50 2017 +0100
@@ -3,15 +3,13 @@
 <%block name="title">
     ${_('Journal')}
 </%block>
-<%def name="breadcrumbs()">
-    <h5>
+<%def name="breadcrumbs_links()">
     <form id="filter_form" class="form-inline">
     <input class="form-control q_filter_box ${'' if c.search_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.search_term or _('quick filter...')}"/>
     <span data-toggle="tooltip" title="${h.journal_filter_help()}">?</span>
     <input type='submit' value="${_('Filter')}" class="btn btn-default btn-xs"/>
     ${_('Journal')} - ${ungettext('%s Entry', '%s Entries', c.journal_pager.item_count) % (c.journal_pager.item_count)}
     </form>
-    </h5>
 </%def>
 <%block name="header_menu">
     ${self.menu('journal')}