changeset 6406:2c1c03581874

templates: div inside dl is not valid html - move system settings message outside the dl
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 06 Jan 2017 01:43:50 +0100
parents 18e63f0ee80e
children 65b6797b102d
files kallithea/templates/admin/settings/settings_system.html
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/settings/settings_system.html	Fri Jan 06 01:43:50 2017 +0100
+++ b/kallithea/templates/admin/settings/settings_system.html	Fri Jan 06 01:43:50 2017 +0100
@@ -1,4 +1,7 @@
-<dl class="dl-horizontal">
+<div id="update_notice" style="display: none">
+    <div style="padding: 5px 0px 5px 0px; color: #000000; font-weight: bold">${_('Checking for updates...')}</div>
+</div>
+
 <%
  elems = [
     (_('Kallithea version'), h.literal('%s <b><span style="color:#036185; text-decoration: underline;cursor: pointer" id="check_for_update" >%s</span></b>' % (c.kallithea_version, _('Check for updates'))), ''),
@@ -10,10 +13,7 @@
     (_('Upgrade info endpoint'), h.literal('%s <br/><span class="text-muted">%s.</span>' % (c.update_url, _('Note: please make sure this server can access this URL'))), ''),
  ]
 %>
-
-<div id="update_notice" style="display: none">
-    <div style="padding: 5px 0px 5px 0px; color: #000000; font-weight: bold">${_('Checking for updates...')}</div>
-</div>
+<dl class="dl-horizontal">
 %for dt, dd, tt in elems:
   <dt style="width:150px; text-align: left">${dt}:</dt>
   <dd style="margin-left: 160px" title="${tt}">${dd}</dd>