##// END OF EJS Templates
templates: use safe md5 for str template rendering
templates: use safe md5 for str template rendering

File last commit:

r4743:9f402145 default
r4981:43b9c166 default
Show More
settings_system.mako
89 lines | 2.5 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282
system-updates: fixed UI problem with new version update info screen
r4229 <div id="update_notice" style="display: none; margin: 0px 0px 30px 0px">
templating: use .mako as extensions for template files.
r1282 <div>${_('Checking for updates...')}</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('System Info')}</h3>
% if c.allowed_to_snapshot:
settings: switched system-info to pyramid view.
r1306 <a href="${h.route_path('admin_settings_system', _query={'snapshot':1})}" class="panel-edit">${_('create summary snapshot')}</a>
templating: use .mako as extensions for template files.
r1282 % endif
</div>
<div class="panel-body">
system-info: fix styling for elements
r3974 <dl class="dl-horizontal settings dt-400">
templating: use .mako as extensions for template files.
r1282 % for dt, dd, warn in c.data_items:
<dt>${dt}${':' if dt else '---'}</dt>
<dd>${dd}${'' if dt else '---'}
% if warn and warn['message']:
<div class="alert-${warn['type']}">
<strong>${warn['message']}</strong>
</div>
% endif
</dd>
% endfor
</dl>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
dan
system-info: expose data about vcsserver.
r3943 <h3 class="panel-title">${_('VCS Server')}</h3>
</div>
<div class="panel-body">
system-info: fix styling for elements
r3974 <dl class="dl-horizontal settings dt-400">
dan
system-info: expose data about vcsserver.
r3943 % for dt, dd in c.vcsserver_data_items:
<dt>${dt}${':' if dt else '---'}</dt>
<dd>${dd}${'' if dt else '---'}</dd>
% endfor
</dl>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
templating: use .mako as extensions for template files.
r1282 <h3 class="panel-title">${_('Python Packages')}</h3>
</div>
<div class="panel-body">
packages: updated package details with location info.
r4348 <table>
<th></th>
<th></th>
<th></th>
% for name, package_data in c.py_modules['human_value']:
<tr>
<td>${name.lower()}</td>
<td>${package_data['version']}</td>
<td>(${package_data['location']})</td>
</tr>
% endfor
</table>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
system-info: expose env variables
r4743 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Env Variables')}</h3>
</div>
<div class="panel-body">
<table>
<th></th>
<th></th>
% for env_key, env_val in c.env_data:
<tr>
<td style="vertical-align: top">${env_key}</td>
<td>${env_val}</td>
</tr>
% endfor
</table>
</div>
</div>
templating: use .mako as extensions for template files.
r1282 <script>
$('#check_for_update').click(function(e){
$('#update_notice').show();
repo-summary: re-implemented summary view as pyramid....
r1785 $('#update_notice').load("${h.route_path('admin_settings_system_update')}");
templating: use .mako as extensions for template files.
r1282 })
</script>