Mercurial > kallithea
view kallithea/templates/admin/settings/settings_mapping.html @ 6284:d1923cd0521c
style: refactor form label styling to prepare for Bootstrap and get rid of wrapping with 'label' class
Based on work by Dominik Ruf.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 27 Oct 2016 16:01:57 +0200 |
parents | d27572fa323c |
children | be204b0afed4 |
line wrap: on
line source
${h.form(url('admin_settings_mapping'), method='post')} <div class="form"> <div class="form-horizontal"> <div class="form-group"> <label class="control-label" for="destroy">${_('Rescan option')}:</label> <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()}