Mercurial > kallithea
comparison rhodecode/templates/admin/settings/settings.html @ 2776:63e58ef80ef1
Merge beta branch into stable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 02 Sep 2012 21:19:54 +0200 |
parents | a437a986d399 aa17c7a1b8a5 |
children | f7a52d548fd0 |
comparison
equal
deleted
inserted
replaced
2301:9d097c2592d3 | 2776:63e58ef80ef1 |
---|---|
36 ${h.checkbox('destroy',True)} | 36 ${h.checkbox('destroy',True)} |
37 <label for="destroy"> | 37 <label for="destroy"> |
38 <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.'))}"> | 38 <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.'))}"> |
39 ${_('destroy old data')}</span> </label> | 39 ${_('destroy old data')}</span> </label> |
40 </div> | 40 </div> |
41 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span> | |
41 </div> | 42 </div> |
42 </div> | 43 </div> |
43 | 44 |
44 <div class="buttons"> | 45 <div class="buttons"> |
45 ${h.submit('rescan',_('Rescan repositories'),class_="ui-button")} | 46 ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")} |
46 </div> | 47 </div> |
47 </div> | 48 </div> |
48 </div> | 49 </div> |
49 ${h.end_form()} | 50 ${h.end_form()} |
50 | 51 |
65 </div> | 66 </div> |
66 </div> | 67 </div> |
67 </div> | 68 </div> |
68 | 69 |
69 <div class="buttons"> | 70 <div class="buttons"> |
70 ${h.submit('reindex',_('Reindex'),class_="ui-button")} | 71 ${h.submit('reindex',_('Reindex'),class_="ui-btn large")} |
71 </div> | 72 </div> |
72 </div> | 73 </div> |
73 </div> | 74 </div> |
74 ${h.end_form()} | 75 ${h.end_form()} |
75 | 76 |
106 ${h.text('rhodecode_ga_code',size=30)} | 107 ${h.text('rhodecode_ga_code',size=30)} |
107 </div> | 108 </div> |
108 </div> | 109 </div> |
109 | 110 |
110 <div class="buttons"> | 111 <div class="buttons"> |
111 ${h.submit('save',_('Save settings'),class_="ui-button")} | 112 ${h.submit('save',_('Save settings'),class_="ui-btn large")} |
112 ${h.reset('reset',_('Reset'),class_="ui-button")} | 113 ${h.reset('reset',_('Reset'),class_="ui-btn large")} |
113 </div> | 114 </div> |
114 </div> | 115 </div> |
115 </div> | 116 </div> |
116 ${h.end_form()} | 117 ${h.end_form()} |
117 | 118 |
118 <h3>${_('Mercurial settings')}</h3> | 119 <h3>${_('Visualisation settings')}</h3> |
119 ${h.form(url('admin_setting', setting_id='mercurial'),method='put')} | 120 ${h.form(url('admin_setting', setting_id='visual'),method='put')} |
121 <div class="form"> | |
122 <!-- fields --> | |
123 | |
124 <div class="fields"> | |
125 | |
126 <div class="field"> | |
127 <div class="label label-checkbox"> | |
128 <label>${_('Icons')}:</label> | |
129 </div> | |
130 <div class="checkboxes"> | |
131 <div class="checkbox"> | |
132 ${h.checkbox('rhodecode_show_public_icon','True')} | |
133 <label for="rhodecode_show_public_icon">${_('Show public repo icon on repositories')}</label> | |
134 </div> | |
135 <div class="checkbox"> | |
136 ${h.checkbox('rhodecode_show_private_icon','True')} | |
137 <label for="rhodecode_show_private_icon">${_('Show private repo icon on repositories')}</label> | |
138 </div> | |
139 </div> | |
140 </div> | |
141 | |
142 <div class="field"> | |
143 <div class="label label-checkbox"> | |
144 <label>${_('Meta-Tagging')}:</label> | |
145 </div> | |
146 <div class="checkboxes"> | |
147 <div class="checkbox"> | |
148 ${h.checkbox('rhodecode_stylify_metatags','True')} | |
149 <label for="rhodecode_stylify_metatags">${_('Stylify recognised metatags:')}</label> | |
150 </div> | |
151 <div style="padding-left: 20px;"> | |
152 <ul> <!-- Fix style here --> | |
153 <li>[featured] <span class="metatag" tag="featured">featured</span></li> | |
154 <li>[stale] <span class="metatag" tag="stale">stale</span></li> | |
155 <li>[dead] <span class="metatag" tag="dead">dead</span></li> | |
156 <li>[lang => lang] <span class="metatag" tag="lang" >lang</span></li> | |
157 <li>[license => License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li> | |
158 <li>[requires => Repo] <span class="metatag" tag="requires" >requires => <a href="#" >Repo</a></span></li> | |
159 <li>[recommends => Repo] <span class="metatag" tag="recommends" >recommends => <a href="#" >Repo</a></span></li> | |
160 <li>[see => URI] <span class="metatag" tag="see">see => <a href="#">URI</a> </span></li> | |
161 </ul> | |
162 </div> | |
163 </div> | |
164 </div> | |
165 | |
166 <div class="buttons"> | |
167 ${h.submit('save',_('Save settings'),class_="ui-btn large")} | |
168 ${h.reset('reset',_('Reset'),class_="ui-btn large")} | |
169 </div> | |
170 | |
171 </div> | |
172 </div> | |
173 ${h.end_form()} | |
174 | |
175 | |
176 <h3>${_('VCS settings')}</h3> | |
177 ${h.form(url('admin_setting', setting_id='vcs'),method='put')} | |
120 <div class="form"> | 178 <div class="form"> |
121 <!-- fields --> | 179 <!-- fields --> |
122 | 180 |
123 <div class="fields"> | 181 <div class="fields"> |
124 | 182 |
127 <label>${_('Web')}:</label> | 185 <label>${_('Web')}:</label> |
128 </div> | 186 </div> |
129 <div class="checkboxes"> | 187 <div class="checkboxes"> |
130 <div class="checkbox"> | 188 <div class="checkbox"> |
131 ${h.checkbox('web_push_ssl','true')} | 189 ${h.checkbox('web_push_ssl','true')} |
132 <label for="web_push_ssl">${_('require ssl for pushing')}</label> | 190 <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> |
133 </div> | 191 </div> |
192 <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> | |
134 </div> | 193 </div> |
135 </div> | 194 </div> |
136 | 195 |
137 <div class="field"> | 196 <div class="field"> |
138 <div class="label label-checkbox"> | 197 <div class="label label-checkbox"> |
146 <div class="checkbox"> | 205 <div class="checkbox"> |
147 ${h.checkbox('hooks_changegroup_repo_size','True')} | 206 ${h.checkbox('hooks_changegroup_repo_size','True')} |
148 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> | 207 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> |
149 </div> | 208 </div> |
150 <div class="checkbox"> | 209 <div class="checkbox"> |
151 ${h.checkbox('hooks_pretxnchangegroup_push_logger','True')} | 210 ${h.checkbox('hooks_changegroup_push_logger','True')} |
152 <label for="hooks_pretxnchangegroup_push_logger">${_('Log user push commands')}</label> | 211 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> |
153 </div> | 212 </div> |
154 <div class="checkbox"> | 213 <div class="checkbox"> |
155 ${h.checkbox('hooks_preoutgoing_pull_logger','True')} | 214 ${h.checkbox('hooks_outgoing_pull_logger','True')} |
156 <label for="hooks_preoutgoing_pull_logger">${_('Log user pull commands')}</label> | 215 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> |
157 </div> | 216 </div> |
158 </div> | 217 </div> |
159 <div class="input" style="margin-top:10px"> | 218 <div class="input" style="margin-top:10px"> |
160 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} | 219 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} |
161 </div> | 220 </div> |
162 </div> | 221 </div> |
222 <div class="field"> | |
223 <div class="label label-checkbox"> | |
224 <label>${_('Mercurial Extensions')}:</label> | |
225 </div> | |
226 <div class="checkboxes"> | |
227 <div class="checkbox"> | |
228 ${h.checkbox('extensions_largefiles','True')} | |
229 <label for="extensions_hgsubversion">${_('largefiles extensions')}</label> | |
230 </div> | |
231 <div class="checkbox"> | |
232 ${h.checkbox('extensions_hgsubversion','True')} | |
233 <label for="extensions_hgsubversion">${_('hgsubversion extensions')}</label> | |
234 </div> | |
235 <span class="help-block">${_('Requires hgsubversion library installed. Allows clonning from svn remote locations')}</span> | |
236 ##<div class="checkbox"> | |
237 ## ${h.checkbox('extensions_hggit','True')} | |
238 ## <label for="extensions_hggit">${_('hg-git extensions')}</label> | |
239 ##</div> | |
240 ##<span class="help-block">${_('Requires hg-git library installed. Allows clonning from git remote locations')}</span> | |
241 </div> | |
242 </div> | |
163 <div class="field"> | 243 <div class="field"> |
164 <div class="label"> | 244 <div class="label"> |
165 <label for="paths_root_path">${_('Repositories location')}:</label> | 245 <label for="paths_root_path">${_('Repositories location')}:</label> |
166 </div> | 246 </div> |
167 <div class="input"> | 247 <div class="input"> |
168 ${h.text('paths_root_path',size=30,readonly="readonly")} | 248 ${h.text('paths_root_path',size=30,readonly="readonly")} |
169 <span id="path_unlock" class="tooltip" | 249 <span id="path_unlock" class="tooltip" |
170 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.'))}"> | 250 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.'))}"> |
171 ${_('unlock')}</span> | 251 ${_('unlock')}</span> |
172 </div> | 252 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> |
173 </div> | 253 </div> |
174 | 254 </div> |
175 <div class="buttons"> | 255 |
176 ${h.submit('save',_('Save settings'),class_="ui-button")} | 256 <div class="buttons"> |
177 ${h.reset('reset',_('Reset'),class_="ui-button")} | 257 ${h.submit('save',_('Save settings'),class_="ui-btn large")} |
258 ${h.reset('reset',_('Reset'),class_="ui-btn large")} | |
178 </div> | 259 </div> |
179 </div> | 260 </div> |
180 </div> | 261 </div> |
181 ${h.end_form()} | 262 ${h.end_form()} |
182 | 263 |
202 ${h.text('test_email',size=30)} | 283 ${h.text('test_email',size=30)} |
203 </div> | 284 </div> |
204 </div> | 285 </div> |
205 | 286 |
206 <div class="buttons"> | 287 <div class="buttons"> |
207 ${h.submit('send',_('Send'),class_="ui-button")} | 288 ${h.submit('send',_('Send'),class_="ui-btn large")} |
208 </div> | 289 </div> |
209 </div> | 290 </div> |
210 </div> | 291 </div> |
211 ${h.end_form()} | 292 ${h.end_form()} |
212 | 293 |