# HG changeset patch # User Mads Kiilerich # Date 1497186129 -7200 # Node ID 7bca124ef278e0f0a9a719ad01caca9f6bb90d01 # Parent 30d61922f24eb144190052818c3fc6a24562f42b style: drop dynamic width of repo summary labels - it should be the same no matter if statistics is shown or not diff -r 30d61922f24e -r 7bca124ef278 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/public/css/style.css Sun Jun 11 15:02:09 2017 +0200 @@ -842,13 +842,6 @@ margin: 0 20px 0 200px; } -#content div.panel div.form div.form-horizontal div.form-group > div.summary, -#content div.panel div.form div.form-horizontal div.form-group > div.summary-short { - margin: 0 20px 10px 110px; -} -#content div.panel div.form div.form-horizontal div.form-group > div.summary-short input { - margin: 0; -} #content div.panel div.form div.form-horizontal div.form-group > div.file { margin: 0 20px 0 200px; } @@ -1148,9 +1141,13 @@ position: relative; } +#content div.panel div#summary-panel-body.form div.form-horizontal div.form-group > div { + margin: 0 20px 10px 110px; +} + #content div.panel #summary { margin-right: 200px; - min-height: 240px; + min-height: 220px; } ul#summary-menu-stats { diff -r 30d61922f24e -r 7bca124ef278 kallithea/templates/summary/statistics.html --- a/kallithea/templates/summary/statistics.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/summary/statistics.html Sun Jun 11 15:02:09 2017 +0200 @@ -19,9 +19,6 @@ <%def name="main()"> ${self.repo_context_bar('summary')} - <% - summary = lambda n:{False:'summary-short'}.get(n) - %>
${self.breadcrumbs()} diff -r 30d61922f24e -r 7bca124ef278 kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html Sun Jun 11 15:02:09 2017 +0200 +++ b/kallithea/templates/summary/summary.html Sun Jun 11 15:02:09 2017 +0200 @@ -56,9 +56,6 @@ <%def name="main()"> ${self.repo_context_bar('summary')} -<% -summary = lambda n:{False:'summary-short'}.get(n) -%>
${self.breadcrumbs()} @@ -83,12 +80,12 @@
-
${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}
+
${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}
-
+
%if c.show_stats:
%else: @@ -102,7 +99,7 @@
-
+
%if len(c.db_repo_scm_instance.revisions) == 0: ${_('There are no downloads yet')} %elif not c.enable_downloads: