## -*- coding: utf-8 -*- <%inherit file="/base/base.html"/> <%def name="title()"> ${_('Settings administration')} <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.url('admin_home'))} » ${_('Settings')} <%def name="page_nav()"> ${self.menu('admin')} <%def name="main()">
${self.breadcrumbs()}

${_('Remap and rescan repositories')}

${h.form(url('admin_setting', setting_id='mapping'),method='put')}
${h.checkbox('destroy',True)}
${h.submit('rescan','rescan repositories',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}

${_('Whoosh indexing')}

${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
${h.checkbox('full_index',True)}
${h.submit('reindex','reindex',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}

${_('Global application settings')}

${h.form(url('admin_setting', setting_id='global'),method='put')}
${h.text('rhodecode_title',size=30)}
${h.text('rhodecode_realm',size=30)}
${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}

${_('Mercurial settings')}

${h.form(url('admin_setting', setting_id='mercurial'),method='put')}
${h.checkbox('web_push_ssl','true')}
${h.checkbox('hooks_changegroup_update','True')}
${h.checkbox('hooks_changegroup_repo_size','True')}
${h.text('paths_root_path',size=30,readonly="readonly")} ${_('unlock')}
${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
${h.end_form()}