##// END OF EJS Templates
#56 hacking on forms, and model for users groups
#56 hacking on forms, and model for users groups

File last commit:

r904:82aaf4e7 beta
r1013:d2a840b2 beta
Show More
settings.html
189 lines | 7.0 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Settings administration')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
<h3>${_('Remap and rescan repositories')}</h3>
${h.form(url('admin_setting', setting_id='mapping'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label for="destroy">${_('rescan option')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('destroy',True)}
<label for="checkbox-1">
reimplemented tooltip, refactored tooltip_title into title for proper html,...
r904 <span class="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.'))}">
renamed project to rhodecode
r547 ${_('destroy old data')}</span> </label>
</div>
</div>
</div>
<div class="buttons">
css optimizations
r888 ${h.submit('rescan','Rescan repositories',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
<h3>${_('Whoosh indexing')}</h3>
${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label for="destroy">${_('index build option')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('full_index',True)}
<label for="checkbox-1">${_('build from scratch')}</label>
</div>
</div>
</div>
<div class="buttons">
css optimizations
r888 ${h.submit('reindex','Reindex',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
<h3>${_('Global application settings')}</h3>
${h.form(url('admin_setting', setting_id='global'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
renamed hg_app to rhodecode
r548 <label for="rhodecode_title">${_('Application name')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
renamed hg_app to rhodecode
r548 ${h.text('rhodecode_title',size=30)}
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
renamed hg_app to rhodecode
r548 <label for="rhodecode_realm">${_('Realm text')}:</label>
renamed project to rhodecode
r547 </div>
<div class="input">
renamed hg_app to rhodecode
r548 ${h.text('rhodecode_realm',size=30)}
renamed project to rhodecode
r547 </div>
</div>
implemented #89 google analytics code
r890
<div class="field">
<div class="label">
<label for="ga_code">${_('Google analytics code')}:</label>
</div>
<div class="input">
fixes for #89 ga code
r891 ${h.text('rhodecode_ga_code',size=30)}
implemented #89 google analytics code
r890 </div>
</div>
renamed project to rhodecode
r547 <div class="buttons">
css optimizations
r888 ${h.submit('save','Save settings',class_="ui-button")}
${h.reset('reset','Reset',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
<h3>${_('Mercurial settings')}</h3>
${h.form(url('admin_setting', setting_id='mercurial'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label for="web_push_ssl">${_('Web')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('web_push_ssl','true')}
<label for="web_push_ssl">${_('require ssl for pushing')}</label>
</div>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label for="web_push_ssl">${_('Hooks')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('hooks_changegroup_update','True')}
<label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label>
</div>
<div class="checkbox">
${h.checkbox('hooks_changegroup_repo_size','True')}
<label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label>
added option to enable/disable of logger hooks from admin panel....
r661 </div>
<div class="checkbox">
${h.checkbox('hooks_pretxnchangegroup_push_logger','True')}
<label for="hooks_pretxnchangegroup_push_logger">${_('Log user push commands')}</label>
</div>
<div class="checkbox">
${h.checkbox('hooks_preoutgoing_pull_logger','True')}
<label for="hooks_preoutgoing_pull_logger">${_('Log user pull commands')}</label>
</div>
renamed project to rhodecode
r547 </div>
</div>
<div class="field">
<div class="label">
<label for="paths_root_path">${_('Repositories location')}:</label>
</div>
<div class="input">
${h.text('paths_root_path',size=30,readonly="readonly")}
<span id="path_unlock" class="tooltip"
reimplemented tooltip, refactored tooltip_title into title for proper html,...
r904 title="${h.tooltip(_('This a crucial application setting. If You really sure you need to change this, you must restart application in order to make this settings take effect. Click this label to unlock.'))}">
renamed project to rhodecode
r547 ${_('unlock')}</span>
</div>
</div>
<div class="buttons">
css optimizations
r888 ${h.submit('save','Save settings',class_="ui-button")}
${h.reset('reset','Reset',class_="ui-button")}
renamed project to rhodecode
r547 </div>
</div>
</div>
${h.end_form()}
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function(){
YAHOO.util.Event.addListener('path_unlock','click',function(){
YAHOO.util.Dom.get('paths_root_path').removeAttribute('readonly');
});
});
</script>
</div>
</%def>