diff --git a/kallithea/templates/admin/admin_log.html b/kallithea/templates/admin/admin_log.html
--- a/kallithea/templates/admin/admin_log.html
+++ b/kallithea/templates/admin/admin_log.html
@@ -37,7 +37,7 @@
%endfor
-
-
-
+
+
+
%block>
<%block name="css_extra">
@@ -79,7 +79,7 @@
## dynamic edit box.
-
-
-
+
+
+
%block>
<%block name="css_extra">
@@ -55,7 +55,7 @@
${h.reset('reset',_('Reset'),class_="btn btn-default btn-xs")}
${h.end_form()}
-
diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html
--- a/kallithea/templates/base/base.html
+++ b/kallithea/templates/base/base.html
@@ -177,7 +177,7 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
## EXTRA FOR JS
<%block name="js_extra"/>
-
-
+
+
%endif
-
-
+
+
%block>
<%block name="css_extra">
diff --git a/kallithea/templates/files/files.html b/kallithea/templates/files/files.html
--- a/kallithea/templates/files/files.html
+++ b/kallithea/templates/files/files.html
@@ -36,7 +36,7 @@ ${self.repo_context_bar('files', c.revis
-
-
-
+
+
+
%block>
<%block name="css_extra">
@@ -70,7 +70,7 @@ ${self.repo_context_bar('files')}
${h.end_form()}
-
-
-
+
+
+
%block>
<%block name="css_extra">
@@ -77,7 +77,7 @@ ${self.repo_context_bar('files')}
-
-
+
%endif
%block>
@@ -53,7 +53,7 @@
${h.end_form()}
-
-
+
+
%endif
%block>
@@ -90,7 +90,7 @@
${h.end_form()}
-
-
-
+
+
+
%block>
<%def name="main()">
@@ -51,7 +51,7 @@ ${self.repo_context_bar('summary')}
-
-
%if c.show_stats:
-