# HG changeset patch # User Marcin Kuzminski # Date 2019-10-08 08:57:20 # Node ID cb1bcddcc92d8436570e7126a30373eaafde36e8 # Parent d9b260777b4e10c3bc398dc9914e605efeee94ef system-info: fix styling for elements diff --git a/rhodecode/public/css/type.less b/rhodecode/public/css/type.less --- a/rhodecode/public/css/type.less +++ b/rhodecode/public/css/type.less @@ -468,6 +468,42 @@ dd { margin-left: 20px; } } + + &.dt-300 { + dt { + width: 300px; + } + } + + &.dt-400 { + dt { + width: 400px; + } + } + + &.dt-500 { + dt { + width: 500px; + } + } + + &.dt-600 { + dt { + width: 600px; + } + } + + &.dt-700 { + dt { + width: 700px; + } + } + + &.dt-800 { + dt { + width: 800px; + } + } } diff --git a/rhodecode/templates/admin/settings/settings_system.mako b/rhodecode/templates/admin/settings/settings_system.mako --- a/rhodecode/templates/admin/settings/settings_system.mako +++ b/rhodecode/templates/admin/settings/settings_system.mako @@ -12,7 +12,7 @@ % endif
-
+
% for dt, dd, warn in c.data_items:
${dt}${':' if dt else '---'}
${dd}${'' if dt else '---'} @@ -32,7 +32,7 @@

${_('VCS Server')}

-
+
% for dt, dd in c.vcsserver_data_items:
${dt}${':' if dt else '---'}
${dd}${'' if dt else '---'}
@@ -46,20 +46,12 @@

${_('Python Packages')}

- - - - - - - % for key, value in c.py_modules['human_value']: - - - - - % endfor - -
${key}${value}
+
+ % for dt, dd in c.py_modules['human_value']: +
${dt}${':' if dt else '---'}
+
${dd}${'' if dt else '---'}
+ % endfor +