Mercurial > kallithea
view kallithea/templates/admin/settings/settings_mapping.html @ 6283:d27572fa323c
style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Based on work by Dominik Ruf.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 24 Oct 2016 22:38:25 +0200 |
parents | 4304595d246c |
children | d1923cd0521c |
line wrap: on
line source
${h.form(url('admin_settings_mapping'), method='post')} <div class="form"> <div class="form-horizontal"> <div class="form-group"> <div class="label label-checkbox"> <label class="control-label" for="destroy">${_('Rescan option')}:</label> </div> <div class="checkboxes"> <div class="checkbox"> ${h.checkbox('destroy',True)} <label for="destroy">${_('Delete records of missing repositories')}</label> </div> <span class="help-block">${_('Check this option to remove all comments, pull requests and other records related to repositories that no longer exist in the filesystem.')}</span> <div class="checkbox"> ${h.checkbox('invalidate',True)} <label for="invalidate"> ${_('Invalidate cache for all repositories')}</label> </div> <span class="help-block">${_('Check this to reload data and clear cache keys for all repositories.')}</span> <div class="checkbox"> ${h.checkbox('hooks',True)} <label for="hooks"> ${_('Install Git hooks')} </label> </div> <span class="help-block">${_("Verify if Kallithea's Git hooks are installed for each repository. Current hooks will be updated to the latest version.")}</span> <div class="checkbox"> ${h.checkbox('hooks_overwrite', True)} <label for="hooks_overwrite"> ${_('Overwrite existing Git hooks')}</label> </div> <span class="help-block">${_("If installing Git hooks, overwrite any existing hooks, even if they do not seem to come from Kallithea. WARNING: This operation will destroy any custom git hooks you may have deployed by hand!")}</span> </div> </div> <div class="form-group"> <div class="buttons"> ${h.submit('rescan',_('Rescan Repositories'),class_="btn btn-default")} </div> </div> </div> </div> ${h.end_form()}