Show More
@@ -1,63 +1,63 b'' | |||||
1 |
|
1 | |||
2 |
<div id="update_notice" style="display: none; margin: |
|
2 | <div id="update_notice" style="display: none; margin: 0px 0px 30px 0px"> | |
3 | <div>${_('Checking for updates...')}</div> |
|
3 | <div>${_('Checking for updates...')}</div> | |
4 | </div> |
|
4 | </div> | |
5 |
|
5 | |||
6 |
|
6 | |||
7 | <div class="panel panel-default"> |
|
7 | <div class="panel panel-default"> | |
8 | <div class="panel-heading"> |
|
8 | <div class="panel-heading"> | |
9 | <h3 class="panel-title">${_('System Info')}</h3> |
|
9 | <h3 class="panel-title">${_('System Info')}</h3> | |
10 | % if c.allowed_to_snapshot: |
|
10 | % if c.allowed_to_snapshot: | |
11 | <a href="${h.route_path('admin_settings_system', _query={'snapshot':1})}" class="panel-edit">${_('create summary snapshot')}</a> |
|
11 | <a href="${h.route_path('admin_settings_system', _query={'snapshot':1})}" class="panel-edit">${_('create summary snapshot')}</a> | |
12 | % endif |
|
12 | % endif | |
13 | </div> |
|
13 | </div> | |
14 | <div class="panel-body"> |
|
14 | <div class="panel-body"> | |
15 | <dl class="dl-horizontal settings dt-400"> |
|
15 | <dl class="dl-horizontal settings dt-400"> | |
16 | % for dt, dd, warn in c.data_items: |
|
16 | % for dt, dd, warn in c.data_items: | |
17 | <dt>${dt}${':' if dt else '---'}</dt> |
|
17 | <dt>${dt}${':' if dt else '---'}</dt> | |
18 | <dd>${dd}${'' if dt else '---'} |
|
18 | <dd>${dd}${'' if dt else '---'} | |
19 | % if warn and warn['message']: |
|
19 | % if warn and warn['message']: | |
20 | <div class="alert-${warn['type']}"> |
|
20 | <div class="alert-${warn['type']}"> | |
21 | <strong>${warn['message']}</strong> |
|
21 | <strong>${warn['message']}</strong> | |
22 | </div> |
|
22 | </div> | |
23 | % endif |
|
23 | % endif | |
24 | </dd> |
|
24 | </dd> | |
25 | % endfor |
|
25 | % endfor | |
26 | </dl> |
|
26 | </dl> | |
27 | </div> |
|
27 | </div> | |
28 | </div> |
|
28 | </div> | |
29 |
|
29 | |||
30 | <div class="panel panel-default"> |
|
30 | <div class="panel panel-default"> | |
31 | <div class="panel-heading"> |
|
31 | <div class="panel-heading"> | |
32 | <h3 class="panel-title">${_('VCS Server')}</h3> |
|
32 | <h3 class="panel-title">${_('VCS Server')}</h3> | |
33 | </div> |
|
33 | </div> | |
34 | <div class="panel-body"> |
|
34 | <div class="panel-body"> | |
35 | <dl class="dl-horizontal settings dt-400"> |
|
35 | <dl class="dl-horizontal settings dt-400"> | |
36 | % for dt, dd in c.vcsserver_data_items: |
|
36 | % for dt, dd in c.vcsserver_data_items: | |
37 | <dt>${dt}${':' if dt else '---'}</dt> |
|
37 | <dt>${dt}${':' if dt else '---'}</dt> | |
38 | <dd>${dd}${'' if dt else '---'}</dd> |
|
38 | <dd>${dd}${'' if dt else '---'}</dd> | |
39 | % endfor |
|
39 | % endfor | |
40 | </dl> |
|
40 | </dl> | |
41 | </div> |
|
41 | </div> | |
42 | </div> |
|
42 | </div> | |
43 |
|
43 | |||
44 | <div class="panel panel-default"> |
|
44 | <div class="panel panel-default"> | |
45 | <div class="panel-heading"> |
|
45 | <div class="panel-heading"> | |
46 | <h3 class="panel-title">${_('Python Packages')}</h3> |
|
46 | <h3 class="panel-title">${_('Python Packages')}</h3> | |
47 | </div> |
|
47 | </div> | |
48 | <div class="panel-body"> |
|
48 | <div class="panel-body"> | |
49 | <dl class="dl-horizontal settings dt-400"> |
|
49 | <dl class="dl-horizontal settings dt-400"> | |
50 | % for dt, dd in c.py_modules['human_value']: |
|
50 | % for dt, dd in c.py_modules['human_value']: | |
51 | <dt>${dt}${':' if dt else '---'}</dt> |
|
51 | <dt>${dt}${':' if dt else '---'}</dt> | |
52 | <dd>${dd}${'' if dt else '---'}</dd> |
|
52 | <dd>${dd}${'' if dt else '---'}</dd> | |
53 | % endfor |
|
53 | % endfor | |
54 | </dl> |
|
54 | </dl> | |
55 | </div> |
|
55 | </div> | |
56 | </div> |
|
56 | </div> | |
57 |
|
57 | |||
58 | <script> |
|
58 | <script> | |
59 | $('#check_for_update').click(function(e){ |
|
59 | $('#check_for_update').click(function(e){ | |
60 | $('#update_notice').show(); |
|
60 | $('#update_notice').show(); | |
61 | $('#update_notice').load("${h.route_path('admin_settings_system_update')}"); |
|
61 | $('#update_notice').load("${h.route_path('admin_settings_system_update')}"); | |
62 | }) |
|
62 | }) | |
63 | </script> |
|
63 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now