Show More
@@ -1,82 +1,84 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="/base/base.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('Settings administration')} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <%def name="breadcrumbs_links()"> |
|
9 | 9 | ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Settings')} |
|
10 | 10 | </%def> |
|
11 | 11 | |
|
12 | 12 | <%def name="page_nav()"> |
|
13 | 13 | ${self.menu('admin')} |
|
14 | 14 | </%def> |
|
15 | 15 | |
|
16 | 16 | <%def name="main()"> |
|
17 | 17 | <div class="box"> |
|
18 | 18 | <!-- box / title --> |
|
19 | 19 | <div class="title"> |
|
20 | 20 | ${self.breadcrumbs()} |
|
21 | 21 | </div> |
|
22 | 22 | <!-- end box / title --> |
|
23 | 23 | |
|
24 | <h3>${_('Remap and rescan repositories')}</h3> | |
|
24 | 25 | ${h.form(url('admin_setting', setting_id='mapping'),method='put')} |
|
25 | 26 | <div class="form"> |
|
26 | 27 | <!-- fields --> |
|
27 | <h3>${_('Remap and rescan repositories')}</h3> | |
|
28 | ||
|
28 | 29 | <div class="fields"> |
|
29 | 30 | <div class="field"> |
|
30 | 31 | <div class="label label-checkbox"> |
|
31 | 32 | <label for="destroy">${_('rescan option')}:</label> |
|
32 | 33 | </div> |
|
33 | 34 | <div class="checkboxes"> |
|
34 | 35 | <div class="checkbox"> |
|
35 | 36 | ${h.checkbox('destroy',True)} |
|
36 | 37 | <label for="checkbox-1"> |
|
37 | 38 | <span class="tooltip" tooltip_title="${h.tooltip(_('In case a repository was deleted from filesystem and there are leftovers in the database check this option to scan obsolete data in database and remove it.'))}"> |
|
38 | 39 | ${_('destroy old data')}</span> </label> |
|
39 | 40 | </div> |
|
40 | 41 | </div> |
|
41 | 42 | </div> |
|
42 | 43 | |
|
43 | 44 | <div class="buttons"> |
|
44 | 45 | ${h.submit('rescan','rescan repositories',class_="ui-button ui-widget ui-state-default ui-corner-all")} |
|
45 | 46 | </div> |
|
46 | 47 | </div> |
|
47 | 48 | </div> |
|
48 | 49 | ${h.end_form()} |
|
49 | 50 | |
|
51 | <h3>${_('Global application settings')}</h3> | |
|
50 | 52 | ${h.form(url('admin_setting', setting_id='global'),method='put')} |
|
51 | 53 | <div class="form"> |
|
52 | 54 | <!-- fields --> |
|
53 | <h3>${_('Global application settings')}</h3> | |
|
55 | ||
|
54 | 56 | <div class="fields"> |
|
55 | 57 | |
|
56 | 58 | <div class="field"> |
|
57 | 59 | <div class="label"> |
|
58 | 60 | <label for="input-small">${_('Application name')}:</label> |
|
59 | 61 | </div> |
|
60 | 62 | <div class="input"> |
|
61 | 63 | ${h.text('hg_app_title',size=30)} |
|
62 | 64 | </div> |
|
63 | 65 | </div> |
|
64 | 66 | |
|
65 | 67 | <div class="field"> |
|
66 | 68 | <div class="label"> |
|
67 | 69 | <label for="input-small">${_('Realm text')}:</label> |
|
68 | 70 | </div> |
|
69 | 71 | <div class="input"> |
|
70 | 72 | ${h.text('hg_app_realm',size=30)} |
|
71 | 73 | </div> |
|
72 | 74 | </div> |
|
73 | 75 | |
|
74 | 76 | <div class="buttons"> |
|
75 | 77 | ${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")} |
|
76 | 78 | </div> |
|
77 | 79 | </div> |
|
78 | 80 | </div> |
|
79 | 81 | ${h.end_form()} |
|
80 | 82 | |
|
81 | 83 | </div> |
|
82 | 84 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now