Changeset - f7cc6f446f5c
[Not reviewed]
default
0 3 0
Mads Kiilerich - 9 years ago 2016-11-23 01:37:12
madski@unity3d.com
style: fix some missed field refactorings
3 files changed with 7 insertions and 9 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/repo_groups/repo_group_add.html
Show inline comments
 
@@ -46,13 +46,13 @@
 
                <label class="control-label" for="parent_group_id">${_('Group parent')}:</label>
 
                <div class="input">
 
                    ${h.select('parent_group_id',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
 
                </div>
 
            </div>
 

	
 
            <div id="copy_perms" class="field">
 
            <div id="copy_perms" class="form-group">
 
                <label class="control-label" for="group_copy_permissions">${_('Copy parent group permissions')}:</label>
 
                <div class="checkboxes">
 
                    ${h.checkbox('group_copy_permissions',value="True")}
 
                    <span class="help-block">${_('Copy permission set from parent repository group.')}</span>
 
                </div>
 
            </div>
kallithea/templates/admin/repos/repo_add_base.html
Show inline comments
 
@@ -7,13 +7,13 @@ ${h.form(url('repos'))}
 
        <div class="form-group">
 
            <label class="control-label" for="repo_name">${_('Name')}:</label>
 
            <div class="input">
 
                ${h.text('repo_name',class_="small")}
 
            </div>
 
         </div>
 
        <div id="remote_clone" class="field">
 
        <div id="remote_clone" class="form-group">
 
            <label class="control-label" for="clone_uri">${_('Clone remote repository')}:</label>
 
            <div class="input">
 
                ${h.text('clone_uri',class_="small")}
 
                <span class="help-block">
 
                    ${_('Optional: URL of a remote repository. If set, the repository will be created as a clone from this URL.')}
 
                </span>
 
@@ -30,13 +30,13 @@ ${h.form(url('repos'))}
 
            <label class="control-label" for="repo_group">${_('Repository group')}:</label>
 
            <div class="input">
 
                ${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
 
                <span class="help-block">${_('Optionally select a group to put this repository into.')}</span>
 
            </div>
 
        </div>
 
        <div id="copy_perms" class="field">
 
        <div id="copy_perms" class="form-group">
 
            <label class="control-label" for="repo_copy_permissions">${_('Copy parent group permissions')}:</label>
 
            <div class="checkboxes">
 
                ${h.checkbox('repo_copy_permissions',value="True")}
 
                <span class="help-block">${_('Copy permission set from parent repository group.')}</span>
 
            </div>
 
        </div>
kallithea/templates/admin/settings/settings_hooks.html
Show inline comments
 
@@ -17,13 +17,13 @@
 
<h4>${_('Custom Hooks')}</h4>
 
${h.form(url('admin_settings_hooks'), method='post')}
 
<div class="form">
 
    <div class="form-horizontal">
 

	
 
        %for hook in c.custom_hooks:
 
            <div class="field"  id="${'id%s' % hook.ui_id }">
 
            <div class="form-group" id="${'id%s' % hook.ui_id }">
 
                <label class="control-label" for="${hook.ui_key}">${hook.ui_key}</label>
 
                <div class="input" style="margin-left:280px">
 
                    ${h.hidden('hook_ui_key',hook.ui_key)}
 
                    ${h.hidden('hook_ui_value',hook.ui_value)}
 
                    ${h.text('hook_ui_value_new',hook.ui_value,size=60)}
 
                    <span class="btn btn-default btn-xs"
 
@@ -33,17 +33,15 @@ ${h.form(url('admin_settings_hooks'), me
 
                    </span>
 
                </div>
 
            </div>
 
        %endfor
 

	
 
        <div class="form-group">
 
            <div class="input" style="margin-left:-135px;position: absolute;">
 
                <div class="input">
 
                    ${h.text('new_hook_ui_key',size=20)}
 
                </div>
 
            </div>
 
            <label>
 
                ${h.text('new_hook_ui_key',size=20)}
 
            </label>
 
            <div class="input" style="margin-left:280px">
 
                ${h.text('new_hook_ui_value',size=60)}
 
            </div>
 
        </div>
 
        <div class="form-group">
 
            <div class="buttons" style="margin-left:280px">
0 comments (0 inline, 0 general)