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