Mercurial > kallithea
diff 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 |
line wrap: on
line diff
--- a/rhodecode/templates/admin/settings/settings.html Tue Jan 22 23:44:38 2013 +0100 +++ b/rhodecode/templates/admin/settings/settings.html Tue Jan 22 23:44:38 2013 +0100 @@ -10,7 +10,7 @@ </%def> <%def name="page_nav()"> - ${self.menu('admin')} + ${self.menu('admin')} </%def> <%def name="main()"> @@ -27,20 +27,20 @@ <!-- 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="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.'))}"> - ${_('destroy old data')}</span> </label> - </div> + <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="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.'))}"> + ${_('destroy old data')}</span> </label> + </div> <span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span> - </div> - </div> + </div> + </div> <div class="buttons"> ${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")} @@ -196,12 +196,12 @@ <label>${_('Web')}:</label> </div> <div class="checkboxes"> - <div class="checkbox"> - ${h.checkbox('web_push_ssl', 'True')} - <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> - </div> + <div class="checkbox"> + ${h.checkbox('web_push_ssl', 'True')} + <label for="web_push_ssl">${_('require ssl for vcs operations')}</label> + </div> <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> - </div> + </div> </div> <div class="field"> @@ -209,14 +209,14 @@ <label>${_('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 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 class="checkbox"> ${h.checkbox('hooks_changegroup_push_logger','True')} <label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label> @@ -225,7 +225,7 @@ ${h.checkbox('hooks_outgoing_pull_logger','True')} <label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label> </div> - </div> + </div> <div class="input" style="margin-top:10px"> ${h.link_to(_('advanced setup'),url('admin_edit_setting',setting_id='hooks'),class_="ui-btn")} </div> @@ -257,9 +257,9 @@ </div> <div class="input"> ${h.text('paths_root_path',size=30,readonly="readonly")} - <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.'))}"> - ${_('unlock')}</span> + <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.'))}"> + ${_('unlock')}</span> <span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span> </div> </div> @@ -329,8 +329,8 @@ <script type="text/javascript"> YUE.on('expand_modules','click',function(e){ - YUD.setStyle('expand_modules_table','display',''); - YUD.setStyle('expand_modules','display','none'); + YUD.setStyle('expand_modules_table','display',''); + YUD.setStyle('expand_modules','display','none'); }) </script>