Mercurial > kallithea
diff pylons_app/templates/admin/settings/settings.html @ 348:e8fc875467bd
implemented manual repo rescann and remapping
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 14 Jul 2010 16:51:19 +0200 |
parents | 51362853ac3b |
children | 664a5b8c551a |
line wrap: on
line diff
--- a/pylons_app/templates/admin/settings/settings.html Wed Jul 14 15:42:39 2010 +0200 +++ b/pylons_app/templates/admin/settings/settings.html Wed Jul 14 16:51:19 2010 +0200 @@ -16,6 +16,38 @@ <%def name="main()"> <div> <h2>${_('Settings administration')}</h2> - + + ${h.form(url('admin_setting', id='mapping'),method='put')} + <table class="table_disp"> + <tr class="header"> + <td colspan="2">${_('Remap andv rescan repositories')}</td> + </tr> + <tr align="right"> + <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.'))}"> + ${_('destroy old data')}</span> ${h.checkbox('destroy',True)}</td> + <td>${h.submit('rescan','rescan repositories')}</td> + </table> + ${h.end_form()} + <br/> + ${h.form(url('admin_setting', id='global'),method='put')} + <table class="table_disp"> + <tr class="header"> + <td colspan="3">${_('Global application settings')}</td> + </tr> + <tr> + <td>${_('Application name')}</td> + <td>${h.text('app_title')}</td> + </tr> + <tr> + <td>${_('Realm text')}</td> + <td>${h.text('app_auth_realm')}</td> + </tr> + <tr> + <td></td> + <td>${h.submit('save','save settings')}</td> + </tr> + </table> + ${h.end_form()} + </div> </%def>