##// END OF EJS Templates
markdown: support summary/details tags to allow setting https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
markdown: support summary/details tags to allow setting https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary

File last commit:

r4348:a10871a5 default
r4451:0c397389 default
Show More
settings_system_snapshot.mako
52 lines | 1.0 KiB | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / settings / settings_system_snapshot.mako
templating: use .mako as extensions for template files.
r1282
<pre>
SYSTEM INFO
-----------
% for dt, dd, warn in c.data_items:
summary-snapshot: fix formatting of snapshot + code cleanup.
r3900 ${'{:<60}'.format(dt.lower().replace(' ', '_'))}${': {}'.format(dd if dt else '')}
templating: use .mako as extensions for template files.
r1282 % if warn and warn['message']:
summary-snapshot: fix formatting of snapshot + code cleanup.
r3900 ${'{:<60}'.format('ALERT')} ${warn['type'].upper()} ${warn['message']}
templating: use .mako as extensions for template files.
r1282 % endif
% endfor
SYSTEM SETTINGS
---------------
% for key, value in sorted(c.rhodecode_config['human_value'].items()):
system-snapshot: organize formatting more.
r3919 % if isinstance(value, dict):
<%
conf_file = value.pop('__file__', {})
server_main = value.pop('server:main', {})
%>
system-snapshot: nicer formatting == reads easier
r3891 [${key}]
system-snapshot: organize formatting more.
r3919 ${'{:<60}'.format('__file__')}: ${conf_file}
templating: use .mako as extensions for template files.
r1282
system-snapshot: nicer formatting == reads easier
r3891 % for key2, value2 in sorted(server_main.items()):
system-snapshot: organize formatting more.
r3919 ${'{:<60}'.format(key2)}: ${value2}
system-snapshot: nicer formatting == reads easier
r3891 % endfor
% for key2, value2 in sorted(value.items()):
${'{:<60}'.format(key2)}: ${value2}
templating: use .mako as extensions for template files.
r1282 % endfor
% else:
system-snapshot: organize formatting more.
r3919 [${key}]
system-snapshot: nicer formatting == reads easier
r3891 ${value}
templating: use .mako as extensions for template files.
r1282 % endif
system-snapshot: nicer formatting == reads easier
r3891
templating: use .mako as extensions for template files.
r1282 % endfor
system-snapshot: organize formatting more.
r3919 PYTHON PACKAGES
---------------
packages: updated package details with location info.
r4348 % for name, package_data in c.py_modules['human_value']:
${'{:<60}'.format(name)}: ${'{:<20}'.format(package_data['version'])} (${package_data['location']})
system-snapshot: organize formatting more.
r3919 % endfor
templating: use .mako as extensions for template files.
r1282 </pre>