##// END OF EJS Templates
style: drop form-horizontal - our style is much closer to plain Bootstrap forms...
Mads Kiilerich -
r6658:ee3343f3 default
parent child Browse files
Show More
@@ -609,12 +609,12 b' div.panel.panel-default div.panel-headin'
609 color: #4e6100;
609 color: #4e6100;
610 }
610 }
611
611
612 #content div.panel div.form div.form-horizontal div.form-group {
612 #content div.panel div.form div.form-group {
613 border-bottom: 1px solid #DDD;
613 border-bottom: 1px solid #DDD;
614 clear: both;
614 clear: both;
615 }
615 }
616
616
617 #content div.panel div.form div.form-horizontal div.form-group > label {
617 #content div.panel div.form div.form-group > label {
618 color: #393939;
618 color: #393939;
619 font-weight: 700;
619 font-weight: 700;
620 }
620 }
@@ -789,7 +789,7 b' div.panel.panel-default div.panel-headin'
789 position: relative;
789 position: relative;
790 }
790 }
791
791
792 #content div.panel div#summary-panel-body.form div.form-horizontal div.form-group > div {
792 #content div.panel div#summary-panel-body.form div.form-group > div {
793 margin: 0 0 10px 150px;
793 margin: 0 0 10px 150px;
794 }
794 }
795
795
@@ -1073,21 +1073,16 b' a.metatag[data-tag="license"]:hover {'
1073 #quick_login .links .logout {
1073 #quick_login .links .logout {
1074 }
1074 }
1075
1075
1076 #quick_login div.form div.form-horizontal {
1076 #quick_login div.form div.form-group {
1077 padding-top: 2px;
1078 padding-left: 10px;
1079 }
1080
1081 #quick_login div.form div.form-horizontal div.form-group {
1082 padding: 5px;
1077 padding: 5px;
1083 }
1078 }
1084
1079
1085 #quick_login div.form div.form-horizontal div.form-group > label {
1080 #quick_login div.form div.form-group > label {
1086 color: #fff;
1081 color: #fff;
1087 padding-bottom: 3px;
1082 padding-bottom: 3px;
1088 }
1083 }
1089
1084
1090 #quick_login div.form div.form-horizontal div.form-group > div input {
1085 #quick_login div.form div.form-group > div input {
1091 width: 236px;
1086 width: 236px;
1092 background: #FFF;
1087 background: #FFF;
1093 border-top: 1px solid #b3b3b3;
1088 border-top: 1px solid #b3b3b3;
@@ -1100,7 +1095,7 b' a.metatag[data-tag="license"]:hover {'
1100 padding: 5px 7px 4px;
1095 padding: 5px 7px 4px;
1101 }
1096 }
1102
1097
1103 #quick_login div.form div.form-horizontal div.buttons {
1098 #quick_login div.form div.buttons {
1104 clear: both;
1099 clear: both;
1105 overflow: hidden;
1100 overflow: hidden;
1106 text-align: right;
1101 text-align: right;
@@ -1139,7 +1134,7 b' a.metatag[data-tag="license"]:hover {'
1139 background-color: inherit !important;
1134 background-color: inherit !important;
1140 }
1135 }
1141
1136
1142 #register div.form div.form-horizontal div.form-group > label {
1137 #register div.form div.form-group > label {
1143 width: 135px;
1138 width: 135px;
1144 float: left;
1139 float: left;
1145 text-align: right;
1140 text-align: right;
@@ -1147,11 +1142,11 b' a.metatag[data-tag="license"]:hover {'
1147 padding: 5px 0 0 5px;
1142 padding: 5px 0 0 5px;
1148 }
1143 }
1149
1144
1150 #register div.form div.form-horizontal div.form-group > div input {
1145 #register div.form div.form-group > div input {
1151 width: 300px;
1146 width: 300px;
1152 }
1147 }
1153
1148
1154 #register div.form div.form-horizontal div.buttons {
1149 #register div.form div.buttons {
1155 border-top: 1px solid #DDD;
1150 border-top: 1px solid #DDD;
1156 margin: 0;
1151 margin: 0;
1157 padding: 10px 0 0 145px;
1152 padding: 10px 0 0 145px;
@@ -2342,9 +2337,9 b' nav.navbar #quick .select2-container .se'
2342
2337
2343
2338
2344 /* formencode htmlfill adds 'error' to failing input fields */
2339 /* formencode htmlfill adds 'error' to failing input fields */
2345 #content div.panel div.form div.form-horizontal div.form-group > div input.error,
2340 #content div.panel div.form div.form-group > div input.error,
2346 #login div.form div.form-horizontal div.form-group > div input.error,
2341 #login div.form div.form-group > div input.error,
2347 #register div.form div.form-horizontal div.form-group > div input.error {
2342 #register div.form div.form-group > div input.error {
2348 background: #FBE3E4;
2343 background: #FBE3E4;
2349 border-top: 1px solid #e1b2b3;
2344 border-top: 1px solid #e1b2b3;
2350 border-left: 1px solid #e1b2b3;
2345 border-left: 1px solid #e1b2b3;
@@ -2353,9 +2348,9 b' nav.navbar #quick .select2-container .se'
2353 }
2348 }
2354
2349
2355 /* formencode htmlfill injects 'error-message' */
2350 /* formencode htmlfill injects 'error-message' */
2356 #content div.panel div.form div.form-horizontal div.form-group span.error-message,
2351 #content div.panel div.form div.form-group span.error-message,
2357 #login div.form div.form-horizontal div.form-group span.error-message,
2352 #login div.form div.form-group span.error-message,
2358 #register div.form div.form-horizontal div.form-group span.error-message {
2353 #register div.form div.form-group span.error-message {
2359 display: inline-block;
2354 display: inline-block;
2360 color: red;
2355 color: red;
2361 margin: 4px 0 0;
2356 margin: 4px 0 0;
@@ -2366,38 +2361,38 b' nav.navbar #quick .select2-container .se'
2366 margin: 0;
2361 margin: 0;
2367 }
2362 }
2368
2363
2369 #content div.panel div.form div.form-horizontal div.form-group > div {
2364 #content div.panel div.form div.form-group > div {
2370 margin: 0 0 10px 200px;
2365 margin: 0 0 10px 200px;
2371 }
2366 }
2372
2367
2373 #content div.panel div.form div.form-horizontal div.form-group > div a:hover,
2368 #content div.panel div.form div.form-group > div a:hover,
2374 #content div.panel div.form div.form-horizontal div.form-group > div a.ui-selectmenu:hover,
2369 #content div.panel div.form div.form-group > div a.ui-selectmenu:hover,
2375 #content div.panel div.action a:hover {
2370 #content div.panel div.action a:hover {
2376 color: #000;
2371 color: #000;
2377 text-decoration: none;
2372 text-decoration: none;
2378 }
2373 }
2379
2374
2380 #content div.panel div.form div.form-horizontal div.form-group > div a.ui-selectmenu-focus,
2375 #content div.panel div.form div.form-group > div a.ui-selectmenu-focus,
2381 #content div.panel div.action a.ui-selectmenu-focus {
2376 #content div.panel div.action a.ui-selectmenu-focus {
2382 border: 1px solid #666;
2377 border: 1px solid #666;
2383 }
2378 }
2384
2379
2385 div.form div.form-horizontal div.form-group div.button input,
2380 div.form div.form-group div.button input,
2386 #content div.panel div.form div.form-horizontal div.buttons input,
2381 #content div.panel div.form div.buttons input,
2387 div.form div.form-horizontal div.buttons input,
2382 div.form div.buttons input,
2388 #content div.panel div.action div.button input {
2383 #content div.panel div.action div.button input {
2389 font-size: 11px;
2384 font-size: 11px;
2390 font-weight: 700;
2385 font-weight: 700;
2391 margin: 0;
2386 margin: 0;
2392 }
2387 }
2393
2388
2394 div.form div.form-horizontal div.form-group div.highlight,
2389 div.form div.form-group div.highlight,
2395 #content div.panel div.form div.form-horizontal div.buttons div.highlight {
2390 #content div.panel div.form div.buttons div.highlight {
2396 display: inline;
2391 display: inline;
2397 }
2392 }
2398
2393
2399 #content div.panel div.form div.form-horizontal div.buttons,
2394 #content div.panel div.form div.buttons,
2400 div.form div.form-horizontal div.buttons {
2395 div.form div.buttons {
2401 margin: 10px 10px 0 200px;
2396 margin: 10px 10px 0 200px;
2402 padding: 0;
2397 padding: 0;
2403 }
2398 }
@@ -2421,7 +2416,7 b' div.form div.form-horizontal div.buttons'
2421 padding: 0;
2416 padding: 0;
2422 }
2417 }
2423
2418
2424 #register div.form div.form-horizontal div.form-group span.error-message {
2419 #register div.form div.form-group span.error-message {
2425 height: 1%;
2420 height: 1%;
2426 display: block;
2421 display: block;
2427 color: red;
2422 color: red;
@@ -25,7 +25,6 b''
25
25
26 ## enabled auth plugins
26 ## enabled auth plugins
27 <h1>${_('Authentication Plugins')}</h1>
27 <h1>${_('Authentication Plugins')}</h1>
28 <div class="form-horizontal">
29 <div class="form-group">
28 <div class="form-group">
30 <label class="control-label" for="auth_plugins">${_("Enabled Plugins")}</label>
29 <label class="control-label" for="auth_plugins">${_("Enabled Plugins")}</label>
31 <div>
30 <div>
@@ -48,12 +47,10 b''
48 </ul>
47 </ul>
49 </div>
48 </div>
50 </div>
49 </div>
51 </div>
52
50
53 %for cnt, module in enumerate(c.enabled_plugin_names):
51 %for cnt, module in enumerate(c.enabled_plugin_names):
54 <% pluginName = c.plugin_shortnames[module] %>
52 <% pluginName = c.plugin_shortnames[module] %>
55 <h1>${_('Plugin')}: ${pluginName}</h1>
53 <h1>${_('Plugin')}: ${pluginName}</h1>
56 <div class="form-horizontal">
57 ## autoform generation, based on plugin definition from it's settings
54 ## autoform generation, based on plugin definition from it's settings
58 %for setting in c.plugin_settings[module]:
55 %for setting in c.plugin_settings[module]:
59 <% fullsetting = "auth_%s_%s" % (pluginName, setting["name"]) %>
56 <% fullsetting = "auth_%s_%s" % (pluginName, setting["name"]) %>
@@ -98,15 +95,12 b''
98 </div>
95 </div>
99 %endif
96 %endif
100 %endfor
97 %endfor
101 </div>
102 %endfor
98 %endfor
103 <div class="form-horizontal">
104 <div class="form-group">
99 <div class="form-group">
105 <div class="buttons">
100 <div class="buttons">
106 ${h.submit('save',_('Save'),class_="btn btn-default")}
101 ${h.submit('save',_('Save'),class_="btn btn-default")}
107 </div>
102 </div>
108 </div>
103 </div>
109 </div>
110 ${h.end_form()}
104 ${h.end_form()}
111 </div>
105 </div>
112 </div>
106 </div>
@@ -23,8 +23,6 b''
23
23
24 ${h.form(url('defaults_update', id='defaults'))}
24 ${h.form(url('defaults_update', id='defaults'))}
25 <div class="form panel-body settings">
25 <div class="form panel-body settings">
26 <div class="form-horizontal">
27
28 <div class="form-group">
26 <div class="form-group">
29 <label class="control-label" for="default_repo_type">${_('Type')}:</label>
27 <label class="control-label" for="default_repo_type">${_('Type')}:</label>
30 <div>
28 <div>
@@ -69,7 +67,6 b''
69 ${h.submit('save',_('Save'),class_="btn btn-default")}
67 ${h.submit('save',_('Save'),class_="btn btn-default")}
70 </div>
68 </div>
71 </div>
69 </div>
72 </div>
73 </div>
70 </div>
74 ${h.end_form()}
71 ${h.end_form()}
75
72
@@ -52,7 +52,6 b''
52 <div>
52 <div>
53 ${h.form(url('my_account_api_keys'), method='post')}
53 ${h.form(url('my_account_api_keys'), method='post')}
54 <div class="form">
54 <div class="form">
55 <div class="form-horizontal">
56 <div class="form-group">
55 <div class="form-group">
57 <label class="control-label">${_('New API key')}</label>
56 <label class="control-label">${_('New API key')}</label>
58 </div>
57 </div>
@@ -74,7 +73,6 b''
74 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
73 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
75 </div>
74 </div>
76 </div>
75 </div>
77 </div>
78 </div>
76 </div>
79 ${h.end_form()}
77 ${h.end_form()}
80 </div>
78 </div>
@@ -35,7 +35,6 b''
35 <div>
35 <div>
36 ${h.form(url('my_account_emails'), method='post')}
36 ${h.form(url('my_account_emails'), method='post')}
37 <div class="form">
37 <div class="form">
38 <div class="form-horizontal">
39 <div class="form-group">
38 <div class="form-group">
40 <label class="control-label" for="new_email">${_('New email address')}:</label>
39 <label class="control-label" for="new_email">${_('New email address')}:</label>
41 <div>
40 <div>
@@ -48,7 +47,6 b''
48 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
47 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
49 </div>
48 </div>
50 </div>
49 </div>
51 </div>
52 </div>
50 </div>
53 ${h.end_form()}
51 ${h.end_form()}
54 </div>
52 </div>
@@ -4,7 +4,6 b''
4
4
5 ${h.form(url('my_account_password'), method='post')}
5 ${h.form(url('my_account_password'), method='post')}
6 <div class="form">
6 <div class="form">
7 <div class="form-horizontal">
8 <div class="form-group">
7 <div class="form-group">
9 <label class="control-label" for="current_password">${_('Current password')}:</label>
8 <label class="control-label" for="current_password">${_('Current password')}:</label>
10 <div>
9 <div>
@@ -32,7 +31,6 b''
32 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
31 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
33 </div>
32 </div>
34 </div>
33 </div>
35 </div>
36 </div>
34 </div>
37 ${h.end_form()}
35 ${h.end_form()}
38
36
@@ -1,6 +1,5 b''
1 ${h.form(url('my_account'), method='post')}
1 ${h.form(url('my_account'), method='post')}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label">${_('Gravatar')}:</label>
4 <label class="control-label">${_('Gravatar')}:</label>
6 <div class="gravatar_box clearfix">
5 <div class="gravatar_box clearfix">
@@ -49,6 +48,5 b''
49 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
48 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
50 </div>
49 </div>
51 </div>
50 </div>
52 </div>
53 </div>
51 </div>
54 ${h.end_form()}
52 ${h.end_form()}
@@ -1,6 +1,5 b''
1 ${h.form(url('admin_permissions'), method='post')}
1 ${h.form(url('admin_permissions'), method='post')}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label" for="anonymous">${_('Anonymous access')}:</label>
4 <label class="control-label" for="anonymous">${_('Anonymous access')}:</label>
6 <div class="form-inline">
5 <div class="form-inline">
@@ -96,6 +95,5 b''
96 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
95 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
97 </div>
96 </div>
98 </div>
97 </div>
99 </div>
100 </div>
98 </div>
101 ${h.end_form()}
99 ${h.end_form()}
@@ -21,7 +21,6 b''
21
21
22 ${h.form(url('edit_user_ips_update', id=c.user.user_id))}
22 ${h.form(url('edit_user_ips_update', id=c.user.user_id))}
23 <div class="form">
23 <div class="form">
24 <div class="form-horizontal">
25 <div class="form-group">
24 <div class="form-group">
26 <label class="control-label" for="new_ip">${_('New IP address')}:</label>
25 <label class="control-label" for="new_ip">${_('New IP address')}:</label>
27 <div>
26 <div>
@@ -35,6 +34,5 b''
35 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
34 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
36 </div>
35 </div>
37 </div>
36 </div>
38 </div>
39 </div>
37 </div>
40 ${h.end_form()}
38 ${h.end_form()}
@@ -24,7 +24,6 b''
24 </div>
24 </div>
25 ${h.form(url('repos_groups'))}
25 ${h.form(url('repos_groups'))}
26 <div class="form panel-body settings">
26 <div class="form panel-body settings">
27 <div class="form-horizontal">
28 <div class="form-group">
27 <div class="form-group">
29 <label class="control-label" for="group_name">${_('Group name')}:</label>
28 <label class="control-label" for="group_name">${_('Group name')}:</label>
30 <div>
29 <div>
@@ -59,7 +58,6 b''
59 ${h.submit('save',_('Save'),class_="btn btn-default")}
58 ${h.submit('save',_('Save'),class_="btn btn-default")}
60 </div>
59 </div>
61 </div>
60 </div>
62 </div>
63 </div>
61 </div>
64 ${h.end_form()}
62 ${h.end_form()}
65 </div>
63 </div>
@@ -1,7 +1,6 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 ${h.form(url('update_repos_group',group_name=c.repo_group.group_name))}
2 ${h.form(url('update_repos_group',group_name=c.repo_group.group_name))}
3 <div class="form">
3 <div class="form">
4 <div class="form-horizontal">
5 <div class="form-group">
4 <div class="form-group">
6 <label class="control-label" for="group_name">${_('Group name')}:</label>
5 <label class="control-label" for="group_name">${_('Group name')}:</label>
7 <div>
6 <div>
@@ -37,19 +36,16 b''
37 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
36 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
38 </div>
37 </div>
39 </div>
38 </div>
40 </div>
41 </div>
39 </div>
42 ${h.end_form()}
40 ${h.end_form()}
43
41
44 ${h.form(url('delete_repo_group', group_name=c.repo_group.group_name))}
42 ${h.form(url('delete_repo_group', group_name=c.repo_group.group_name))}
45 <div class="form">
43 <div class="form">
46 <div class="form-horizontal">
47 <div class="form-group">
44 <div class="form-group">
48 <div class="buttons">
45 <div class="buttons">
49 ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn btn-danger",onclick="return confirm('"+_('Confirm to delete this group')+"');")}
46 ${h.submit('remove_%s' % c.repo_group.group_name,_('Remove this group'),class_="btn btn-danger",onclick="return confirm('"+_('Confirm to delete this group')+"');")}
50 </div>
47 </div>
51 </div>
48 </div>
52 </div>
53 </div>
49 </div>
54 ${h.end_form()}
50 ${h.end_form()}
55
51
@@ -2,7 +2,6 b''
2
2
3 ${h.form(url('repos'))}
3 ${h.form(url('repos'))}
4 <div class="form">
4 <div class="form">
5 <div class="form-horizontal">
6 <div class="form-group">
5 <div class="form-group">
7 <label class="control-label" for="repo_name">${_('Name')}:</label>
6 <label class="control-label" for="repo_name">${_('Name')}:</label>
8 <div>
7 <div>
@@ -65,7 +64,6 b''
65 ${h.submit('add',_('Add'),class_="btn btn-default")}
64 ${h.submit('add',_('Add'),class_="btn btn-default")}
66 </div>
65 </div>
67 </div>
66 </div>
68 </div>
69 </div>
67 </div>
70 <script>
68 <script>
71 $(document).ready(function(){
69 $(document).ready(function(){
@@ -27,7 +27,6 b''
27 %endif
27 %endif
28 ${h.form(url('create_repo_fields', repo_name=c.repo_name))}
28 ${h.form(url('create_repo_fields', repo_name=c.repo_name))}
29 <div class="form">
29 <div class="form">
30 <div class="form-horizontal">
31 <div class="form-group">
30 <div class="form-group">
32 <label class="control-label" for="new_field_key">${_('New field key')}:</label>
31 <label class="control-label" for="new_field_key">${_('New field key')}:</label>
33 <div>
32 <div>
@@ -55,7 +54,6 b''
55 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
54 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
56 </div>
55 </div>
57 </div>
56 </div>
58 </div>
59 </div>
57 </div>
60 ${h.end_form()}
58 ${h.end_form()}
61 %else:
59 %else:
@@ -1,6 +1,5 b''
1 ${h.form(url('edit_repo_perms_update', repo_name=c.repo_name))}
1 ${h.form(url('edit_repo_perms_update', repo_name=c.repo_name))}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 ${h.hidden('repo_private')}
4 ${h.hidden('repo_private')}
6 <table id="permissions_manage" class="table table-condensed">
5 <table id="permissions_manage" class="table table-condensed">
@@ -85,7 +84,6 b''
85 ${h.submit('save',_('Save'),class_="btn btn-default")}
84 ${h.submit('save',_('Save'),class_="btn btn-default")}
86 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
85 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
87 </div>
86 </div>
88 </div>
89 </div>
87 </div>
90 ${h.end_form()}
88 ${h.end_form()}
91
89
@@ -1,6 +1,5 b''
1 ${h.form(url('update_repo', repo_name=c.repo_info.repo_name))}
1 ${h.form(url('update_repo', repo_name=c.repo_info.repo_name))}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label" for="repo_name">${_('Name')}:</label>
4 <label class="control-label" for="repo_name">${_('Name')}:</label>
6 <div>
5 <div>
@@ -106,7 +105,6 b''
106 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
105 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
107 </div>
106 </div>
108 </div>
107 </div>
109 </div>
110 </div>
108 </div>
111 ${h.end_form()}
109 ${h.end_form()}
112
110
@@ -1,6 +1,5 b''
1 ${h.form(url('edit_repo_statistics_update', repo_name=c.repo_info.repo_name))}
1 ${h.form(url('edit_repo_statistics_update', repo_name=c.repo_info.repo_name))}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group text-muted">
3 <div class="form-group text-muted">
5 <ul class="list-unstyled">
4 <ul class="list-unstyled">
6 <li>${_('Processed commits')}: ${c.stats_revision}/${c.repo_last_rev}</li>
5 <li>${_('Processed commits')}: ${c.stats_revision}/${c.repo_last_rev}</li>
@@ -10,6 +9,5 b''
10 <div class="form-group">
9 <div class="form-group">
11 ${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset Statistics'),class_="btn btn-default btn-sm",onclick="return confirm('"+_('Confirm to remove current statistics.')+"');")}
10 ${h.submit('reset_stats_%s' % c.repo_info.repo_name,_('Reset Statistics'),class_="btn btn-default btn-sm",onclick="return confirm('"+_('Confirm to remove current statistics.')+"');")}
12 </div>
11 </div>
13 </div>
14 </div>
12 </div>
15 ${h.end_form()}
13 ${h.end_form()}
@@ -1,7 +1,5 b''
1 ${h.form(url('admin_settings_email'), method='post')}
1 ${h.form(url('admin_settings_email'), method='post')}
2 <div class="form">
2 <div class="form">
3
4 <div class="form-horizontal">
5 <div class="form-group">
3 <div class="form-group">
6 <label class="control-label" for="test_email">${_('Send test email to')}:</label>
4 <label class="control-label" for="test_email">${_('Send test email to')}:</label>
7 <div>
5 <div>
@@ -14,6 +12,5 b''
14 ${h.submit('send',_('Send'),class_="btn btn-default")}
12 ${h.submit('send',_('Send'),class_="btn btn-default")}
15 </div>
13 </div>
16 </div>
14 </div>
17 </div>
18 </div>
15 </div>
19 ${h.end_form()}
16 ${h.end_form()}
@@ -1,8 +1,5 b''
1 ${h.form(url('admin_settings_global'), method='post')}
1 ${h.form(url('admin_settings_global'), method='post')}
2 <div class="form">
2 <div class="form">
3
4 <div class="form-horizontal">
5
6 <div class="form-group">
3 <div class="form-group">
7 <label class="control-label" for="title">${_('Site branding')}:</label>
4 <label class="control-label" for="title">${_('Site branding')}:</label>
8 <div>
5 <div>
@@ -53,6 +50,5 b''
53 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
50 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
54 </div>
51 </div>
55 </div>
52 </div>
56 </div>
57 </div>
53 </div>
58 ${h.end_form()}
54 ${h.end_form()}
@@ -1,5 +1,4 b''
1 <div class="form">
1 <div class="form">
2 <div class="form-horizontal">
3 <div class="form-group">
2 <div class="form-group">
4 <h4>${_('Built-in Mercurial Hooks (Read-Only)')}</h4>
3 <h4>${_('Built-in Mercurial Hooks (Read-Only)')}</h4>
5 % for hook in c.hooks:
4 % for hook in c.hooks:
@@ -11,13 +10,11 b''
11 % endfor
10 % endfor
12 <span class="help-block">${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')}</span>
11 <span class="help-block">${_('Hooks can be used to trigger actions on certain events such as push / pull. They can trigger Python functions or external applications.')}</span>
13 </div>
12 </div>
14 </div>
15 </div>
13 </div>
16
14
17 % if c.visual.allow_custom_hooks_settings:
15 % if c.visual.allow_custom_hooks_settings:
18 ${h.form(url('admin_settings_hooks'), method='post')}
16 ${h.form(url('admin_settings_hooks'), method='post')}
19 <div class="form">
17 <div class="form">
20 <div class="form-horizontal">
21 <div class="form-group form-inline" id="${'id%s' % hook.ui_id }">
18 <div class="form-group form-inline" id="${'id%s' % hook.ui_id }">
22 <h4>${_('Custom Hooks')}</h4>
19 <h4>${_('Custom Hooks')}</h4>
23 %for hook in c.custom_hooks:
20 %for hook in c.custom_hooks:
@@ -49,7 +46,6 b''
49 ${h.submit('save',_('Save'),class_="btn btn-default")}
46 ${h.submit('save',_('Save'),class_="btn btn-default")}
50 </div>
47 </div>
51 </div>
48 </div>
52 </div>
53 </div>
49 </div>
54 ${h.end_form()}
50 ${h.end_form()}
55 % endif
51 % endif
@@ -1,6 +1,5 b''
1 ${h.form(url('admin_settings_mapping'), method='post')}
1 ${h.form(url('admin_settings_mapping'), method='post')}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label" for="destroy">${_('Rescan options')}:</label>
4 <label class="control-label" for="destroy">${_('Rescan options')}:</label>
6 <div>
5 <div>
@@ -42,6 +41,5 b''
42 ${h.submit('rescan',_('Rescan Repositories'),class_="btn btn-default")}
41 ${h.submit('rescan',_('Rescan Repositories'),class_="btn btn-default")}
43 </div>
42 </div>
44 </div>
43 </div>
45 </div>
46 </div>
44 </div>
47 ${h.end_form()}
45 ${h.end_form()}
@@ -1,7 +1,5 b''
1 ${h.form(url('admin_settings_search'), method='post')}
1 ${h.form(url('admin_settings_search'), method='post')}
2 <div class="form">
2 <div class="form">
3
4 <div class="form-horizontal">
5 <div class="form-group">
3 <div class="form-group">
6 <label class="control-label">${_('Index build option')}:</label>
4 <label class="control-label">${_('Index build option')}:</label>
7 <div>
5 <div>
@@ -20,6 +18,5 b''
20 ${h.submit('reindex',_('Reindex'),class_="btn btn-default")}
18 ${h.submit('reindex',_('Reindex'),class_="btn btn-default")}
21 </div>
19 </div>
22 </div>
20 </div>
23 </div>
24 </div>
21 </div>
25 ${h.end_form()}
22 ${h.end_form()}
@@ -1,6 +1,5 b''
1 ${h.form(url('admin_settings'), method='post')}
1 ${h.form(url('admin_settings'), method='post')}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label">${_('Hooks')}:</label>
4 <label class="control-label">${_('Hooks')}:</label>
6 <div>
5 <div>
@@ -79,7 +78,6 b''
79 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
78 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
80 </div>
79 </div>
81 </div>
80 </div>
82 </div>
83 </div>
81 </div>
84 ${h.end_form()}
82 ${h.end_form()}
85
83
@@ -1,8 +1,5 b''
1 ${h.form(url('admin_settings_visual'), method='post')}
1 ${h.form(url('admin_settings_visual'), method='post')}
2 <div class="form">
2 <div class="form">
3
4 <div class="form-horizontal">
5
6 <div class="form-group">
3 <div class="form-group">
7 <label class="control-label">${_('General')}:</label>
4 <label class="control-label">${_('General')}:</label>
8 <div>
5 <div>
@@ -119,7 +116,5 b''
119 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
116 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
120 </div>
117 </div>
121 </div>
118 </div>
122
123 </div>
124 </div>
119 </div>
125 ${h.end_form()}
120 ${h.end_form()}
@@ -23,7 +23,6 b''
23 </div>
23 </div>
24 ${h.form(url('users_groups'))}
24 ${h.form(url('users_groups'))}
25 <div class="form panel-body settings">
25 <div class="form panel-body settings">
26 <div class="form-horizontal">
27 <div class="form-group">
26 <div class="form-group">
28 <label class="control-label" for="users_group_name">${_('Group name')}:</label>
27 <label class="control-label" for="users_group_name">${_('Group name')}:</label>
29 <div>
28 <div>
@@ -49,7 +48,6 b''
49 ${h.submit('save',_('Save'),class_="btn btn-default")}
48 ${h.submit('save',_('Save'),class_="btn btn-default")}
50 </div>
49 </div>
51 </div>
50 </div>
52 </div>
53 </div>
51 </div>
54 ${h.end_form()}
52 ${h.end_form()}
55 </div>
53 </div>
@@ -1,6 +1,5 b''
1 ${h.form(url('update_users_group', id=c.user_group.users_group_id), id='edit_users_group')}
1 ${h.form(url('update_users_group', id=c.user_group.users_group_id), id='edit_users_group')}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label" for="users_group_name">${_('Group name')}:</label>
4 <label class="control-label" for="users_group_name">${_('Group name')}:</label>
6 <div>
5 <div>
@@ -47,7 +46,6 b''
47 ${h.submit('Save',_('Save'),class_="btn btn-default")}
46 ${h.submit('Save',_('Save'),class_="btn btn-default")}
48 </div>
47 </div>
49 </div>
48 </div>
50 </div>
51 </div>
49 </div>
52 ${h.end_form()}
50 ${h.end_form()}
53 <script type="text/javascript">
51 <script type="text/javascript">
@@ -23,7 +23,6 b''
23 </div>
23 </div>
24 ${h.form(url('new_user'))}
24 ${h.form(url('new_user'))}
25 <div class="form panel-body settings">
25 <div class="form panel-body settings">
26 <div class="form-horizontal">
27 <div class="form-group">
26 <div class="form-group">
28 <label class="control-label" for="username">${_('Username')}:</label>
27 <label class="control-label" for="username">${_('Username')}:</label>
29 <div>
28 <div>
@@ -81,7 +80,6 b''
81 ${h.submit('save',_('Save'),class_="btn btn-default")}
80 ${h.submit('save',_('Save'),class_="btn btn-default")}
82 </div>
81 </div>
83 </div>
82 </div>
84 </div>
85 </div>
83 </div>
86 ${h.end_form()}
84 ${h.end_form()}
87 </div>
85 </div>
@@ -52,7 +52,6 b''
52 <div>
52 <div>
53 ${h.form(url('edit_user_api_keys_update', id=c.user.user_id))}
53 ${h.form(url('edit_user_api_keys_update', id=c.user.user_id))}
54 <div class="form">
54 <div class="form">
55 <div class="form-horizontal">
56 <div class="form-group">
55 <div class="form-group">
57 <label class="control-label">${_('New API key')}</label>
56 <label class="control-label">${_('New API key')}</label>
58 </div>
57 </div>
@@ -74,7 +73,6 b''
74 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
73 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
75 </div>
74 </div>
76 </div>
75 </div>
77 </div>
78 </div>
76 </div>
79 ${h.end_form()}
77 ${h.end_form()}
80 </div>
78 </div>
@@ -35,7 +35,6 b''
35 <div>
35 <div>
36 ${h.form(url('edit_user_emails_update', id=c.user.user_id))}
36 ${h.form(url('edit_user_emails_update', id=c.user.user_id))}
37 <div class="form">
37 <div class="form">
38 <div class="form-horizontal">
39 <div class="form-group">
38 <div class="form-group">
40 <label class="control-label" for="new_email">${_('New email address')}:</label>
39 <label class="control-label" for="new_email">${_('New email address')}:</label>
41 <div>
40 <div>
@@ -48,7 +47,6 b''
48 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
47 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
49 </div>
48 </div>
50 </div>
49 </div>
51 </div>
52 </div>
50 </div>
53 ${h.end_form()}
51 ${h.end_form()}
54 </div>
52 </div>
@@ -33,7 +33,6 b''
33 <div>
33 <div>
34 ${h.form(url('edit_user_ips_update', id=c.user.user_id))}
34 ${h.form(url('edit_user_ips_update', id=c.user.user_id))}
35 <div class="form">
35 <div class="form">
36 <div class="form-horizontal">
37 <div class="form-group">
36 <div class="form-group">
38 <label class="control-label" for="new_ip">${_('New IP address')}:</label>
37 <label class="control-label" for="new_ip">${_('New IP address')}:</label>
39 <div>
38 <div>
@@ -46,7 +45,6 b''
46 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
45 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
47 </div>
46 </div>
48 </div>
47 </div>
49 </div>
50 </div>
48 </div>
51 ${h.end_form()}
49 ${h.end_form()}
52 </div>
50 </div>
@@ -1,6 +1,5 b''
1 ${h.form(url('update_user', id=c.user.user_id))}
1 ${h.form(url('update_user', id=c.user.user_id))}
2 <div class="form">
2 <div class="form">
3 <div class="form-horizontal">
4 <div class="form-group">
3 <div class="form-group">
5 <label class="control-label">${_('Gravatar')}:</label>
4 <label class="control-label">${_('Gravatar')}:</label>
6 <div class="gravatar_box clearfix">
5 <div class="gravatar_box clearfix">
@@ -91,6 +90,5 b''
91 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
90 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
92 </div>
91 </div>
93 </div>
92 </div>
94 </div>
95 </div>
93 </div>
96 ${h.end_form()}
94 ${h.end_form()}
@@ -7,7 +7,6 b''
7 <%def name="default_perms_box(form_url)">
7 <%def name="default_perms_box(form_url)">
8 ${h.form(form_url)}
8 ${h.form(form_url)}
9 <div class="form">
9 <div class="form">
10 <div class="form-horizontal">
11 <div class="form-group">
10 <div class="form-group">
12 <label class="control-label" for="inherit_default_permissions">${_('Inherit defaults')}:</label>
11 <label class="control-label" for="inherit_default_permissions">${_('Inherit defaults')}:</label>
13 <div>
12 <div>
@@ -58,7 +57,6 b''
58 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
57 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
59 </div>
58 </div>
60 </div>
59 </div>
61 </div>
62 </div>
60 </div>
63 ${h.end_form()}
61 ${h.end_form()}
64
62
@@ -34,7 +34,7 b''
34 </div>
34 </div>
35 <div class="panel-body" id="edit">
35 <div class="panel-body" id="edit">
36 <div id="files_data">
36 <div id="files_data">
37 ${h.form(h.url.current(),method='post',id='eform',enctype="multipart/form-data", class_="form-horizontal form-inline")}
37 ${h.form(h.url.current(),method='post',id='eform',enctype="multipart/form-data", class_="form-inline")}
38 <h3 class="files_location">
38 <h3 class="files_location">
39 ${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cs.raw_id,c.f_path)} /
39 ${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cs.raw_id,c.f_path)} /
40 <span id="filename_container" class="file reviewer_ac">
40 <span id="filename_container" class="file reviewer_ac">
@@ -25,7 +25,7 b''
25 </div>
25 </div>
26 <div class="panel-body" id="edit">
26 <div class="panel-body" id="edit">
27 <div id="files_data">
27 <div id="files_data">
28 ${h.form(h.url.current(),method='post',class_="form-horizontal")}
28 ${h.form(h.url.current(),method='post')}
29 <h3 class="files_location">
29 <h3 class="files_location">
30 ${_('Delete file')}: ${h.files_breadcrumbs(c.repo_name,c.cs.raw_id,c.f_path)}
30 ${_('Delete file')}: ${h.files_breadcrumbs(c.repo_name,c.cs.raw_id,c.f_path)}
31 </h3>
31 </h3>
@@ -21,8 +21,6 b''
21 </div>
21 </div>
22 ${h.form(url('repo_fork_create_home',repo_name=c.repo_info.repo_name))}
22 ${h.form(url('repo_fork_create_home',repo_name=c.repo_info.repo_name))}
23 <div class="form panel-body settings">
23 <div class="form panel-body settings">
24 <div class="form-horizontal">
25
26 <div class="form-group">
24 <div class="form-group">
27 <label class="control-label" for="repo_name">${_('Fork name')}:</label>
25 <label class="control-label" for="repo_name">${_('Fork name')}:</label>
28 <div>
26 <div>
@@ -87,7 +85,6 b''
87 ${h.submit('fork-submit',_('Fork this Repository'),class_="btn btn-default")}
85 ${h.submit('fork-submit',_('Fork this Repository'),class_="btn btn-default")}
88 </div>
86 </div>
89 </div>
87 </div>
90 </div>
91 </div>
88 </div>
92 ${h.end_form()}
89 ${h.end_form()}
93 </div>
90 </div>
@@ -19,7 +19,6 b''
19 <div class="form">
19 <div class="form">
20 <i class="icon-lock"></i>
20 <i class="icon-lock"></i>
21
21
22 <div class="form-horizontal">
23 <div class="form-group">
22 <div class="form-group">
24 <label class="control-label col-sm-5" for="username">${_('Username')}:</label>
23 <label class="control-label col-sm-5" for="username">${_('Username')}:</label>
25 <div class="col-sm-7">
24 <div class="col-sm-7">
@@ -42,7 +41,6 b''
42 </div>
41 </div>
43 </div>
42 </div>
44 </div>
43 </div>
45 </div>
46
44
47 <div class="links">
45 <div class="links">
48 ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))}
46 ${h.link_to(_('Forgot your password ?'),h.url('reset_password'))}
@@ -17,8 +17,6 b''
17 <div class="panel-body">
17 <div class="panel-body">
18 ${h.form(url('password_reset'))}
18 ${h.form(url('password_reset'))}
19 <div class="form">
19 <div class="form">
20 <div class="form-horizontal">
21
22 <div class="form-group">
20 <div class="form-group">
23 <label class="control-label" for="email">${_('Email Address')}:</label>
21 <label class="control-label" for="email">${_('Email Address')}:</label>
24 <div>
22 <div>
@@ -45,7 +43,6 b''
45 <div class="alert alert-info">
43 <div class="alert alert-info">
46 ${_('A password reset link will be sent to the specified email address if it is registered in the system.')}
44 ${_('A password reset link will be sent to the specified email address if it is registered in the system.')}
47 </div>
45 </div>
48 </div>
49 </div>
46 </div>
50 ${h.end_form()}
47 ${h.end_form()}
51 %if c.captcha_active:
48 %if c.captcha_active:
@@ -22,7 +22,6 b''
22 ${h.hidden('email')}
22 ${h.hidden('email')}
23 ${h.hidden('timestamp')}
23 ${h.hidden('timestamp')}
24 <div class="form">
24 <div class="form">
25 <div class="form-horizontal">
26 <div class="form-group">
25 <div class="form-group">
27 <label class="control-label" for="token">${_('Code you received in the email')}:</label>
26 <label class="control-label" for="token">${_('Code you received in the email')}:</label>
28 <div>
27 <div>
@@ -51,7 +50,6 b''
51 </div>
50 </div>
52 </div>
51 </div>
53 </div>
52 </div>
54 </div>
55 </div>
53 </div>
56 ${h.end_form()}
54 ${h.end_form()}
57 </div>
55 </div>
@@ -22,8 +22,6 b''
22 ${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')}
22 ${h.form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')}
23 <div class="form panel-body">
23 <div class="form panel-body">
24 <div class="settings clearfix">
24 <div class="settings clearfix">
25 <div class="form-horizontal">
26
27 <div class="form-group">
25 <div class="form-group">
28 <label class="control-label" for="pullrequest_title">${_('Title')}:</label>
26 <label class="control-label" for="pullrequest_title">${_('Title')}:</label>
29 <div>
27 <div>
@@ -80,8 +78,6 b''
80 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
78 ${h.reset('reset',_('Reset'),class_="btn btn-default")}
81 </div>
79 </div>
82 </div>
80 </div>
83
84 </div>
85 </div>
81 </div>
86
82
87 <div>
83 <div>
@@ -32,7 +32,7 b''
32 %endif
32 %endif
33 </h3>
33 </h3>
34 </div>
34 </div>
35 <div id="pr-summary" class="form-horizontal">
35 <div id="pr-summary">
36
36
37 <div class="pr-not-edit form-group">
37 <div class="pr-not-edit form-group">
38 <label>${_('Description')}:</label>
38 <label>${_('Description')}:</label>
@@ -18,7 +18,6 b''
18 <div class="panel-body">
18 <div class="panel-body">
19 ${h.form(url('register'))}
19 ${h.form(url('register'))}
20 <div class="form">
20 <div class="form">
21 <div class="form-horizontal">
22 <div class="form-group">
21 <div class="form-group">
23 <label class="control-label" for="username">${_('Username')}:</label>
22 <label class="control-label" for="username">${_('Username')}:</label>
24 <div>
23 <div>
@@ -81,7 +80,6 b''
81 %endif
80 %endif
82 </div>
81 </div>
83 </div>
82 </div>
84 </div>
85 </div>
83 </div>
86 ${h.end_form()}
84 ${h.end_form()}
87 %if c.captcha_active:
85 %if c.captcha_active:
@@ -43,7 +43,6 b''
43 ${h.form(h.url('search'),method='get')}
43 ${h.form(h.url('search'),method='get')}
44 %endif
44 %endif
45
45
46 <div class="form-horizontal">
47 <div class="form-group">
46 <div class="form-group">
48 <label class="control-label" for="q">${_('Search term')}:</label>
47 <label class="control-label" for="q">${_('Search term')}:</label>
49 <div>
48 <div>
@@ -73,7 +72,6 b''
73 ## <label>${_('Status')}:</label>
72 ## <label>${_('Status')}:</label>
74 <div>${c.runtime}</div>
73 <div>${c.runtime}</div>
75 </div>
74 </div>
76 </div>
77 ${h.end_form()}
75 ${h.end_form()}
78 </div>
76 </div>
79 <div class="panel-body">
77 <div class="panel-body">
@@ -57,7 +57,7 b''
57 ${self.breadcrumbs()}
57 ${self.breadcrumbs()}
58 </div>
58 </div>
59 <div id="summary-panel-body" class="form panel-body">
59 <div id="summary-panel-body" class="form panel-body">
60 <div id="summary" class="form-horizontal pull-left">
60 <div id="summary" class="pull-left">
61 <div class="form-group form-inline">
61 <div class="form-group form-inline">
62 <label>${_('Clone URL')}:</label>
62 <label>${_('Clone URL')}:</label>
63 <div id="clone-url">
63 <div id="clone-url">
General Comments 0
You need to be logged in to leave comments. Login now