##// END OF EJS Templates
Reimplemented searching for speed on large files and added paging for search results...
Reimplemented searching for speed on large files and added paging for search results Updated setup requirements

File last commit:

r467:3fc3ce53 celery
r478:7010af6e celery
Show More
settings.html
170 lines | 6.2 KiB | text/html | HtmlLexer
added settings rest controllers for admin, updated routes with easier submodule handling
r346 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Settings administration')}
</%def>
version bump to 0.8...
r362
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')}
added settings rest controllers for admin, updated routes with easier submodule handling
r346 </%def>
version bump to 0.8...
r362
added settings rest controllers for admin, updated routes with easier submodule handling
r346 <%def name="page_nav()">
${self.menu('admin')}
</%def>
implemented manual repo rescann and remapping
r348
version bump to 0.8...
r362 <%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
implemented manual repo rescann and remapping
r348
fixed settings template
r383 <h3>${_('Remap and rescan repositories')}</h3>
routes python 2.5 compatible...
r371 ${h.form(url('admin_setting', setting_id='mapping'),method='put')}
version bump to 0.8...
r362 <div class="form">
<!-- fields -->
fixed settings template
r383
version bump to 0.8...
r362 <div class="fields">
<div class="field">
<div class="label label-checkbox">
cleared global application settings....
r381 <label for="destroy">${_('rescan option')}:</label>
version bump to 0.8...
r362 </div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('destroy',True)}
<label for="checkbox-1">
<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> </label>
</div>
</div>
</div>
<div class="buttons">
removed td tag
r378 ${h.submit('rescan','rescan repositories',class_="ui-button ui-widget ui-state-default ui-corner-all")}
version bump to 0.8...
r362 </div>
</div>
</div>
${h.end_form()}
starting celery branch
r467
<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">
${h.submit('reindex','reindex',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
fixed settings template
r383 <h3>${_('Global application settings')}</h3>
routes python 2.5 compatible...
r371 ${h.form(url('admin_setting', setting_id='global'),method='put')}
version bump to 0.8...
r362 <div class="form">
<!-- fields -->
fixed settings template
r383
version bump to 0.8...
r362 <div class="fields">
<div class="field">
<div class="label">
Added new application settings,Push ssl and repositories path
r388 <label for="hg_app_title">${_('Application name')}:</label>
version bump to 0.8...
r362 </div>
<div class="input">
cleared global application settings....
r381 ${h.text('hg_app_title',size=30)}
version bump to 0.8...
r362 </div>
</div>
<div class="field">
<div class="label">
Added new application settings,Push ssl and repositories path
r388 <label for="hg_app_realm">${_('Realm text')}:</label>
version bump to 0.8...
r362 </div>
<div class="input">
cleared global application settings....
r381 ${h.text('hg_app_realm',size=30)}
version bump to 0.8...
r362 </div>
</div>
<div class="buttons">
${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
Added new application settings,Push ssl and repositories path
r388
<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">
Added hooks managment into application settings
r395 <label for="web_push_ssl">${_('Web')}:</label>
Added new application settings,Push ssl and repositories path
r388 </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>
Added hooks managment into application settings
r395
<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>
</div>
</div>
</div>
Added new application settings,Push ssl and repositories path
r388
<div class="field">
<div class="label">
<label for="paths_root_path">${_('Repositories location')}:</label>
</div>
<div class="input">
some small template fixes
r409 ${h.text('paths_root_path',size=30,readonly="readonly")}
<span id="path_unlock" class="tooltip"
tooltip_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.'))}">
Added new application settings,Push ssl and repositories path
r388 ${_('unlock')}</span>
</div>
</div>
<div class="buttons">
${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function(){
YAHOO.util.Event.addListener('path_unlock','click',function(){
some small template fixes
r409 YAHOO.util.Dom.get('paths_root_path').removeAttribute('readonly');
Added new application settings,Push ssl and repositories path
r388 });
});
</script>
version bump to 0.8...
r362 </div>
added settings rest controllers for admin, updated routes with easier submodule handling
r346 </%def>