comparison rhodecode/templates/admin/settings/settings.html @ 3197:b4f401524060 beta

html: don't use tabs
author Mads Kiilerich <madski@unity3d.com>
date Tue, 22 Jan 2013 23:44:38 +0100
parents c0a6a2e6bb2e
children c20adbaf16af
comparison
equal deleted inserted replaced
3196:809fe2d392f8 3197:b4f401524060
8 <%def name="breadcrumbs_links()"> 8 <%def name="breadcrumbs_links()">
9 ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')} 9 ${h.link_to(_('Admin'),h.url('admin_home'))} &raquo; ${_('Settings')}
10 </%def> 10 </%def>
11 11
12 <%def name="page_nav()"> 12 <%def name="page_nav()">
13 ${self.menu('admin')} 13 ${self.menu('admin')}
14 </%def> 14 </%def>
15 15
16 <%def name="main()"> 16 <%def name="main()">
17 <div class="box"> 17 <div class="box">
18 <!-- box / title --> 18 <!-- box / title -->
25 ${h.form(url('admin_setting', setting_id='mapping'),method='put')} 25 ${h.form(url('admin_setting', setting_id='mapping'),method='put')}
26 <div class="form"> 26 <div class="form">
27 <!-- fields --> 27 <!-- fields -->
28 28
29 <div class="fields"> 29 <div class="fields">
30 <div class="field"> 30 <div class="field">
31 <div class="label label-checkbox"> 31 <div class="label label-checkbox">
32 <label for="destroy">${_('rescan option')}:</label> 32 <label for="destroy">${_('rescan option')}:</label>
33 </div> 33 </div>
34 <div class="checkboxes"> 34 <div class="checkboxes">
35 <div class="checkbox"> 35 <div class="checkbox">
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 <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span>
42 </div> 42 </div>
43 </div> 43 </div>
44 44
45 <div class="buttons"> 45 <div class="buttons">
46 ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")} 46 ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")}
47 </div> 47 </div>
48 </div> 48 </div>
194 <div class="field"> 194 <div class="field">
195 <div class="label label-checkbox"> 195 <div class="label label-checkbox">
196 <label>${_('Web')}:</label> 196 <label>${_('Web')}:</label>
197 </div> 197 </div>
198 <div class="checkboxes"> 198 <div class="checkboxes">
199 <div class="checkbox"> 199 <div class="checkbox">
200 ${h.checkbox('web_push_ssl', 'True')} 200 ${h.checkbox('web_push_ssl', 'True')}
201 <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> 201 <label for="web_push_ssl">${_('require ssl for vcs operations')}</label>
202 </div> 202 </div>
203 <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> 203 <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>
204 </div> 204 </div>
205 </div> 205 </div>
206 206
207 <div class="field"> 207 <div class="field">
208 <div class="label label-checkbox"> 208 <div class="label label-checkbox">
209 <label>${_('Hooks')}:</label> 209 <label>${_('Hooks')}:</label>
210 </div> 210 </div>
211 <div class="checkboxes"> 211 <div class="checkboxes">
212 <div class="checkbox"> 212 <div class="checkbox">
213 ${h.checkbox('hooks_changegroup_update','True')} 213 ${h.checkbox('hooks_changegroup_update','True')}
214 <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label> 214 <label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label>
215 </div> 215 </div>
216 <div class="checkbox"> 216 <div class="checkbox">
217 ${h.checkbox('hooks_changegroup_repo_size','True')} 217 ${h.checkbox('hooks_changegroup_repo_size','True')}
218 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label> 218 <label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label>
219 </div> 219 </div>
220 <div class="checkbox"> 220 <div class="checkbox">
221 ${h.checkbox('hooks_changegroup_push_logger','True')} 221 ${h.checkbox('hooks_changegroup_push_logger','True')}
222 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> 222 <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label>
223 </div> 223 </div>
224 <div class="checkbox"> 224 <div class="checkbox">
225 ${h.checkbox('hooks_outgoing_pull_logger','True')} 225 ${h.checkbox('hooks_outgoing_pull_logger','True')}
226 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> 226 <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label>
227 </div> 227 </div>
228 </div> 228 </div>
229 <div class="input" style="margin-top:10px"> 229 <div class="input" style="margin-top:10px">
230 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} 230 ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")}
231 </div> 231 </div>
232 </div> 232 </div>
233 <div class="field"> 233 <div class="field">
255 <div class="label"> 255 <div class="label">
256 <label for="paths_root_path">${_('Repositories location')}:</label> 256 <label for="paths_root_path">${_('Repositories location')}:</label>
257 </div> 257 </div>
258 <div class="input"> 258 <div class="input">
259 ${h.text('paths_root_path',size=30,readonly="readonly")} 259 ${h.text('paths_root_path',size=30,readonly="readonly")}
260 <span id="path_unlock" class="tooltip" 260 <span id="path_unlock" class="tooltip"
261 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.'))}"> 261 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.'))}">
262 ${_('unlock')}</span> 262 ${_('unlock')}</span>
263 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> 263 <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span>
264 </div> 264 </div>
265 </div> 265 </div>
266 266
267 <div class="buttons"> 267 <div class="buttons">
327 </div> 327 </div>
328 </div> 328 </div>
329 329
330 <script type="text/javascript"> 330 <script type="text/javascript">
331 YUE.on('expand_modules','click',function(e){ 331 YUE.on('expand_modules','click',function(e){
332 YUD.setStyle('expand_modules_table','display',''); 332 YUD.setStyle('expand_modules_table','display','');
333 YUD.setStyle('expand_modules','display','none'); 333 YUD.setStyle('expand_modules','display','none');
334 }) 334 })
335 </script> 335 </script>
336 336
337 </div> 337 </div>
338 </%def> 338 </%def>