##// END OF EJS Templates
Fix a lot of casings - use standard casing in most places
Fix a lot of casings - use standard casing in most places

File last commit:

r3654:ec635494 beta
r3654:ec635494 beta
Show More
settings.html
347 lines | 13.9 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
improved title consistency...
r3582 ${_('Settings administration')} &middot; ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
unified breadcrumbs display
r3392 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 ${_('Settings')}
renamed project to rhodecode
r547 </%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
renamed project to rhodecode
r547 </%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
renamed project to rhodecode
r547 </div>
<!-- end box / title -->
White-space cleanup
r1888
renamed project to rhodecode
r547 <h3>${_('Remap and rescan repositories')}</h3>
${h.form(url('admin_setting', setting_id='mapping'),method='put')}
<div class="form">
<!-- fields -->
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="fields">
Mads Kiilerich
html: don't use tabs
r3197 <div class="field">
<div class="label label-checkbox">
Mads Kiilerich
settings: improve texts
r3569 <label for="destroy">${_('Rescan option')}:</label>
Mads Kiilerich
html: don't use tabs
r3197 </div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('destroy',True)}
<label for="destroy">
<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.'))}">
Mads Kiilerich
settings: improve texts
r3569 ${_('Destroy old data')}</span> </label>
Mads Kiilerich
html: don't use tabs
r3197 </div>
Added some help text into settings page
r2669 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span>
Mads Kiilerich
html: don't use tabs
r3197 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
White-space cleanup
r1888
renamed project to rhodecode
r547 <h3>${_('Whoosh indexing')}</h3>
${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
<div class="form">
<!-- fields -->
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="fields">
<div class="field">
<div class="label label-checkbox">
Mads Kiilerich
settings: improve texts
r3569 <label>${_('Index build option')}:</label>
renamed project to rhodecode
r547 </div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('full_index',True)}
Mads Kiilerich
settings ui: improve texts
r3408 <label for="full_index">${_('Build from scratch')}</label>
renamed project to rhodecode
r547 </div>
</div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('reindex',_('Reindex'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
White-space cleanup
r1888
<h3>${_('Global application settings')}</h3>
renamed project to rhodecode
r547 ${h.form(url('admin_setting', setting_id='global'),method='put')}
<div class="form">
<!-- fields -->
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="fields">
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
Mads Kiilerich
settings ui: improve texts
r3408 <label for="rhodecode_title">${_('Site branding')}:</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>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="field">
<div class="label">
Mads Kiilerich
settings ui: improve texts
r3408 <label for="rhodecode_realm">${_('HTTP authentication realm')}:</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>
White-space cleanup
r1888
implemented #89 google analytics code
r890 <div class="field">
<div class="label">
Mads Kiilerich
settings ui: improve texts
r3408 <label for="rhodecode_ga_code">${_('Google Analytics code')}:</label>
implemented #89 google analytics code
r890 </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>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('save',_('Save settings'),class_="ui-btn large")}
${h.reset('reset',_('Reset'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
merged + fixed pull request #62: Implemented metatags and visualisation options....
r2674 <h3>${_('Visualisation settings')}</h3>
${h.form(url('admin_setting', setting_id='visual'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
Added lightweight dashboard option. ref #500
r2936 <div class="field">
<div class="label label-checkbox">
<label>${_('General')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_lightweight_dashboard','True')}
<label for="rhodecode_lightweight_dashboard">${_('Use lightweight dashboard')}</label>
</div>
repository extra fields implementation...
r3308 </div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_repository_fields','True')}
<label for="rhodecode_repository_fields">${_('Use repository extra fields')}</label>
</div>
whitespace cleanup
r3315 </div>
Added lightweight dashboard option. ref #500
r2936 </div>
merged + fixed pull request #62: Implemented metatags and visualisation options....
r2674
<div class="field">
<div class="label label-checkbox">
<label>${_('Icons')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_show_public_icon','True')}
<label for="rhodecode_show_public_icon">${_('Show public repo icon on repositories')}</label>
</div>
<div class="checkbox">
${h.checkbox('rhodecode_show_private_icon','True')}
<label for="rhodecode_show_private_icon">${_('Show private repo icon on repositories')}</label>
</div>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label>${_('Meta-Tagging')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_stylify_metatags','True')}
<label for="rhodecode_stylify_metatags">${_('Stylify recognised metatags:')}</label>
</div>
<div style="padding-left: 20px;">
<ul> <!-- Fix style here -->
<li>[featured] <span class="metatag" tag="featured">featured</span></li>
<li>[stale] <span class="metatag" tag="stale">stale</span></li>
<li>[dead] <span class="metatag" tag="dead">dead</span></li>
<li>[lang =&gt; lang] <span class="metatag" tag="lang" >lang</span></li>
White space cleanup
r2815 <li>[license =&gt; License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li>
merged + fixed pull request #62: Implemented metatags and visualisation options....
r2674 <li>[requires =&gt; Repo] <span class="metatag" tag="requires" >requires =&gt; <a href="#" >Repo</a></span></li>
<li>[recommends =&gt; Repo] <span class="metatag" tag="recommends" >recommends =&gt; <a href="#" >Repo</a></span></li>
<li>[see =&gt; URI] <span class="metatag" tag="see">see =&gt; <a href="#">URI</a> </span></li>
</ul>
</div>
</div>
</div>
<div class="buttons">
${h.submit('save',_('Save settings'),class_="ui-btn large")}
${h.reset('reset',_('Reset'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
sqlalchemy sessions cleanup in admin...
r2662 <h3>${_('VCS settings')}</h3>
${h.form(url('admin_setting', setting_id='vcs'),method='put')}
renamed project to rhodecode
r547 <div class="form">
<!-- fields -->
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="fields">
White-space cleanup
r1888
Mads Kiilerich
settings: improve texts
r3569 <div class="field">
renamed project to rhodecode
r547 <div class="label label-checkbox">
Augusto Herrmann
Corrected some label-input linking in templates
r1575 <label>${_('Web')}:</label>
renamed project to rhodecode
r547 </div>
<div class="checkboxes">
Mads Kiilerich
settings: improve texts
r3569 <div class="checkbox">
${h.checkbox('web_push_ssl', 'True')}
<label for="web_push_ssl">${_('Require SSL for vcs operations')}</label>
</div>
Added some help text into settings page
r2669 <span class="help-block">${_('RhodeCode will require SSL for pushing or pulling. If SSL is missing it will return HTTP Error 406: Not Acceptable')}</span>
Mads Kiilerich
settings: improve texts
r3569 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547
<div class="field">
<div class="label label-checkbox">
Augusto Herrmann
Corrected some label-input linking in templates
r1575 <label>${_('Hooks')}:</label>
renamed project to rhodecode
r547 </div>
<div class="checkboxes">
Mads Kiilerich
settings: improve texts
r3569 <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>
added option to enable/disable of logger hooks from admin panel....
r661 <div class="checkbox">
Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
r2407 ${h.checkbox('hooks_changegroup_push_logger','True')}
<label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label>
added option to enable/disable of logger hooks from admin panel....
r661 </div>
<div class="checkbox">
Implemented basic locking functionality....
r2726 ${h.checkbox('hooks_outgoing_pull_logger','True')}
<label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label>
White-space cleanup
r1888 </div>
Mads Kiilerich
settings: improve texts
r3569 </div>
ui fixes
r1706 <div class="input" style="margin-top:10px">
Mads Kiilerich
settings: 'Advanced setup' is a link to another form, it shouldn't look like a submit button
r3572 ${h.link_to(_('Advanced setup'),url('admin_edit_setting',setting_id='hooks'))}
White-space cleanup
r1888 </div>
</div>
Added form for controlling mercurial extensions...
r2708 <div class="field">
<div class="label label-checkbox">
<label>${_('Mercurial Extensions')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('extensions_largefiles','True')}
Mads Kiilerich
settings: improve texts
r3569 <label for="extensions_largefiles">${_('Enable largefiles extension')}</label>
Added form for controlling mercurial extensions...
r2708 </div>
<div class="checkbox">
${h.checkbox('extensions_hgsubversion','True')}
Mads Kiilerich
settings: improve texts
r3569 <label for="extensions_hgsubversion">${_('Enable hgsubversion extension')}</label>
Added form for controlling mercurial extensions...
r2708 </div>
Mads Kiilerich
settings: improve texts
r3569 <span class="help-block">${_('Requires hgsubversion library installed. Allows cloning from svn remote locations')}</span>
Added form for controlling mercurial extensions...
r2708 ##<div class="checkbox">
## ${h.checkbox('extensions_hggit','True')}
Mads Kiilerich
settings: improve texts
r3569 ## <label for="extensions_hggit">${_('Enable hg-git extension')}</label>
Added form for controlling mercurial extensions...
r2708 ##</div>
Mads Kiilerich
settings: improve texts
r3569 ##<span class="help-block">${_('Requires hg-git library installed. Allows cloning from git remote locations')}</span>
Added form for controlling mercurial extensions...
r2708 </div>
Mads Kiilerich
settings: improve texts
r3569 </div>
renamed project to rhodecode
r547 <div class="field">
<div class="label">
<label for="paths_root_path">${_('Repositories location')}:</label>
</div>
<div class="input">
White-space cleanup
r1888 ${h.text('paths_root_path',size=30,readonly="readonly")}
Mads Kiilerich
settings: improve texts
r3569 <span id="path_unlock" class="tooltip"
title="${h.tooltip(_('This a crucial application setting. If you are really sure you need to change this, you must restart application in order to make this setting take effect. Click this label to unlock.'))}">
Mads Kiilerich
Fix a lot of casings - use standard casing in most places
r3654 ${_('Unlock')}
Mads Kiilerich
settings: improve texts
r3569 </span>
Added some help text into settings page
r2669 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span>
renamed project to rhodecode
r547 </div>
</div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('save',_('Save settings'),class_="ui-btn large")}
${h.reset('reset',_('Reset'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </div>
renamed project to rhodecode
r547 ${h.end_form()}
White-space cleanup
r1888
renamed project to rhodecode
r547 <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>
White-space cleanup
r1888
Added email sending test site
r1673 <h3>${_('Test Email')}</h3>
${h.form(url('admin_setting', setting_id='email'),method='put')}
<div class="form">
<!-- fields -->
White-space cleanup
r1888
Added email sending test site
r1673 <div class="fields">
<div class="field">
<div class="label">
<label for="test_email">${_('Email to')}:</label>
</div>
<div class="input">
${h.text('test_email',size=30)}
</div>
</div>
White-space cleanup
r1888
Added email sending test site
r1673 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('send',_('Send'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
Added email sending test site
r1673 </div>
White-space cleanup
r1888 </div>
${h.end_form()}
added useful system info + packages to settings page.
r2192 <h3>${_('System Info and Packages')}</h3>
<div class="form">
Mads Kiilerich
settings: improve texts
r3569 <div>
<h5 id="expand_modules" style="cursor: pointer">&darr; ${_('Show')} &darr;</h5>
</div>
added useful system info + packages to settings page.
r2192 <div id="expand_modules_table" style="display:none">
<h5>Python - ${c.py_version}</h5>
<h5>System - ${c.platform}</h5>
white space cleanup
r2207
added useful system info + packages to settings page.
r2192 <table class="table" style="margin:0px 0px 0px 20px">
<colgroup>
<col style="width:220px">
</colgroup>
<tbody>
%for key, value in c.modules:
<tr>
fix ordering of system packages info
r2223 <th style="text-align: right;padding-right:5px;">${key}</th>
added useful system info + packages to settings page.
r2192 <td>${value}</td>
</tr>
%endfor
</tbody>
</table>
white space cleanup
r2207 </div>
added useful system info + packages to settings page.
r2192 </div>
white space cleanup
r2207
added useful system info + packages to settings page.
r2192 <script type="text/javascript">
YUE.on('expand_modules','click',function(e){
Mads Kiilerich
html: random indentation fixes
r3198 YUD.setStyle('expand_modules_table','display','');
YUD.setStyle('expand_modules','display','none');
added useful system info + packages to settings page.
r2192 })
</script>
white space cleanup
r2207
renamed project to rhodecode
r547 </div>
White-space cleanup
r1888 </%def>