Mercurial > kallithea
comparison pylons_app/templates/admin/settings/settings.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0
version bump to 0.8
hg app 0.8 new template.
Add yui flot and graph into summary page.
+ various tweeks and patches into look of application
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 24 Jul 2010 02:17:48 +0200 |
parents | 664a5b8c551a |
children | 5cd6616b8673 |
comparison
equal
deleted
inserted
replaced
361:3581656180b7 | 362:558eb7c5028f |
---|---|
2 <%inherit file="/base/base.html"/> | 2 <%inherit file="/base/base.html"/> |
3 | 3 |
4 <%def name="title()"> | 4 <%def name="title()"> |
5 ${_('Settings administration')} | 5 ${_('Settings administration')} |
6 </%def> | 6 </%def> |
7 <%def name="breadcrumbs()"> | 7 |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | 8 |
9 / | 9 |
10 ${_('Settings')} | 10 <%def name="breadcrumbs_links()"> |
11 ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Settings')} | |
11 </%def> | 12 </%def> |
13 | |
12 <%def name="page_nav()"> | 14 <%def name="page_nav()"> |
13 ${self.menu('admin')} | 15 ${self.menu('admin')} |
14 ${self.submenu('settings')} | |
15 </%def> | 16 </%def> |
17 | |
16 <%def name="main()"> | 18 <%def name="main()"> |
17 <div> | 19 <div class="box"> |
18 <h2>${_('Settings administration')}</h2> | 20 <!-- box / title --> |
19 | 21 <div class="title"> |
20 ${h.form(url('admin_setting', id='mapping'),method='put')} | 22 ${self.breadcrumbs()} |
21 <table class="table_disp"> | 23 </div> |
22 <tr class="header"> | 24 <!-- end box / title --> |
23 <td colspan="2">${_('Remap and rescan repositories')}</td> | |
24 </tr> | |
25 <tr align="right"> | |
26 <td><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.'))}"> | |
27 ${_('destroy old data')}</span> ${h.checkbox('destroy',True)}</td> | |
28 <td>${h.submit('rescan','rescan repositories')}</td> | |
29 </table> | |
30 ${h.end_form()} | |
31 <br/> | |
32 ${h.form(url('admin_setting', id='global'),method='put')} | |
33 <table class="table_disp"> | |
34 <tr class="header"> | |
35 <td colspan="3">${_('Global application settings')}</td> | |
36 </tr> | |
37 <tr> | |
38 <td>${_('Application name')}</td> | |
39 <td>${h.text('app_title',size=30)}${self.get_form_error('app_title')}</td> | |
40 </tr> | |
41 <tr> | |
42 <td>${_('Realm text')}</td> | |
43 <td>${h.text('app_auth_realm',size=30)}${self.get_form_error('app_auth_realm')}</td> | |
44 </tr> | |
45 <tr> | |
46 <td></td> | |
47 <td>${h.submit('save','save settings')}</td> | |
48 </tr> | |
49 </table> | |
50 ${h.end_form()} | |
51 | 25 |
52 </div> | 26 ${h.form(url('admin_setting', id='mapping'),method='put')} |
27 <div class="form"> | |
28 <!-- fields --> | |
29 <h3>${_('Remap and rescan repositories')}</h3> | |
30 <div class="fields"> | |
31 <div class="field"> | |
32 <div class="label label-checkbox"> | |
33 <label for="-button">${_('rescan option')}:</label> | |
34 </div> | |
35 <div class="checkboxes"> | |
36 <div class="checkbox"> | |
37 ${h.checkbox('destroy',True)} | |
38 <label for="checkbox-1"> | |
39 <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.'))}"> | |
40 ${_('destroy old data')}</span> </label> | |
41 </div> | |
42 </div> | |
43 </div> | |
44 | |
45 <div class="buttons"> | |
46 ${h.submit('rescan','rescan repositories',class_="ui-button ui-widget ui-state-default ui-corner-all")}</td> | |
47 </div> | |
48 </div> | |
49 </div> | |
50 ${h.end_form()} | |
51 | |
52 ${h.form(url('admin_setting', id='global'),method='put')} | |
53 <div class="form"> | |
54 <!-- fields --> | |
55 <h3>${_('Global application settings')}</h3> | |
56 <div class="fields"> | |
57 | |
58 <div class="field"> | |
59 <div class="label"> | |
60 <label for="input-small">${_('Application name')}:</label> | |
61 </div> | |
62 <div class="input"> | |
63 ${h.text('app_title',size=30)} | |
64 </div> | |
65 </div> | |
66 | |
67 <div class="field"> | |
68 <div class="label"> | |
69 <label for="input-small">${_('Realm text')}:</label> | |
70 </div> | |
71 <div class="input"> | |
72 ${h.text('app_auth_realm',size=30)} | |
73 </div> | |
74 </div> | |
75 | |
76 <div class="buttons"> | |
77 ${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")} | |
78 </div> | |
79 </div> | |
80 </div> | |
81 ${h.end_form()} | |
82 | |
83 </div> | |
53 </%def> | 84 </%def> |