Show More
@@ -269,6 +269,33 b' form.rcform {' | |||
|
269 | 269 | |
|
270 | 270 | } |
|
271 | 271 | |
|
272 | .badged-field { | |
|
273 | .user-badge { | |
|
274 | line-height: 25px; | |
|
275 | padding: 10px 5px; | |
|
276 | border-radius: @border-radius; | |
|
277 | border-top: 1px solid @rclightblue; | |
|
278 | border-left: 1px solid @rclightblue; | |
|
279 | border-bottom: 1px solid @rclightblue; | |
|
280 | font-size: 14px; | |
|
281 | font-style: normal; | |
|
282 | color: @text-light; | |
|
283 | display: inline-block; | |
|
284 | vertical-align: top; | |
|
285 | cursor: default; | |
|
286 | margin-right: -2px; | |
|
287 | } | |
|
288 | .badge-input-container { | |
|
289 | display: flex; | |
|
290 | position: relative; | |
|
291 | } | |
|
292 | .user-disabled { | |
|
293 | text-decoration: line-through; | |
|
294 | } | |
|
295 | .badge-input-wrap { | |
|
296 | display: inline-block; | |
|
297 | } | |
|
298 | } | |
|
272 | 299 | |
|
273 | 300 | // for situations where we wish to display the form value but not the form input |
|
274 | 301 | input.input-valuedisplay { |
@@ -1,4 +1,6 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | <%namespace name="base" file="/base/base.html"/> | |
|
3 | ||
|
2 | 4 | <div class="panel panel-default"> |
|
3 | 5 | <div class="panel-heading"> |
|
4 | 6 | <h3 class="panel-title">${_('Settings for Repository Group: %s') % c.repo_group.name}</h3> |
@@ -16,15 +18,25 b'' | |||
|
16 | 18 | ${h.text('group_name',class_='medium')} |
|
17 | 19 | </div> |
|
18 | 20 | </div> |
|
19 | <div class="field"> | |
|
21 | ||
|
22 | <div class="field badged-field"> | |
|
20 | 23 | <div class="label"> |
|
21 | 24 | <label for="user">${_('Owner')}:</label> |
|
22 | 25 | </div> |
|
23 | 26 | <div class="input"> |
|
24 | ${h.text('user', class_="medium", autocomplete="off")} | |
|
25 | <span class="help-block">${_('Change Repository Group Owner.')}</span> | |
|
27 | <div class="badge-input-container"> | |
|
28 | <div class="user-badge"> | |
|
29 | ${base.gravatar_with_user(c.repo_group.user.email, show_disabled=not c.repo_group.user.active)} | |
|
30 | </div> | |
|
31 | <div class="badge-input-wrap"> | |
|
32 | ${h.text('user', class_="medium", autocomplete="off")} | |
|
33 | </div> | |
|
34 | </div> | |
|
35 | <form:error name="user"/> | |
|
36 | <p class="help-block">${_('Change owner of this repository group.')}</p> | |
|
26 | 37 | </div> |
|
27 | 38 | </div> |
|
39 | ||
|
28 | 40 | <div class="field"> |
|
29 | 41 | <div class="label label-textarea"> |
|
30 | 42 | <label for="group_description">${_('Description')}:</label> |
@@ -1,3 +1,6 b'' | |||
|
1 | ## -*- coding: utf-8 -*- | |
|
2 | <%namespace name="base" file="/base/base.html"/> | |
|
3 | ||
|
1 | 4 | <div class="panel panel-default"> |
|
2 | 5 | <div class="panel-heading"> |
|
3 | 6 | <h3 class="panel-title">${_('Settings for Repository: %s') % c.repo_info.repo_name}</h3> |
@@ -69,15 +72,25 b'' | |||
|
69 | 72 | <p class="help-block">${_('Default commit for files page, downloads, whoosh and readme')}</p> |
|
70 | 73 | </div> |
|
71 | 74 | </div> |
|
72 | <div class="field"> | |
|
75 | ||
|
76 | <div class="field badged-field"> | |
|
73 | 77 | <div class="label"> |
|
74 | 78 | <label for="user">${_('Owner')}:</label> |
|
75 | 79 | </div> |
|
76 | 80 | <div class="input"> |
|
77 | ${h.text('user', class_="medium", autocomplete="off")} | |
|
78 | <p class="help-block">${_('Change owner of this repository.')}</p> | |
|
81 | <div class="badge-input-container"> | |
|
82 | <div class="user-badge"> | |
|
83 | ${base.gravatar_with_user(c.repo_info.user.email, show_disabled=not c.repo_info.user.active)} | |
|
84 | </div> | |
|
85 | <div class="badge-input-wrap"> | |
|
86 | ${h.text('user', class_="medium", autocomplete="off")} | |
|
87 | </div> | |
|
88 | </div> | |
|
89 | <form:error name="user"/> | |
|
90 | <p class="help-block">${_('Change owner of this repository.')}</p> | |
|
79 | 91 | </div> |
|
80 |
|
|
|
92 | </div> | |
|
93 | ||
|
81 | 94 | <div class="field"> |
|
82 | 95 | <div class="label label-textarea"> |
|
83 | 96 | <label for="repo_description">${_('Description')}:</label> |
@@ -1,3 +1,6 b'' | |||
|
1 | ## -*- coding: utf-8 -*- | |
|
2 | <%namespace name="base" file="/base/base.html"/> | |
|
3 | ||
|
1 | 4 | <div class="panel panel-default"> |
|
2 | 5 | <div class="panel-heading"> |
|
3 | 6 | <h3 class="panel-title">${_('User Group: %s') % c.user_group.users_group_name}</h3> |
@@ -15,15 +18,25 b'' | |||
|
15 | 18 | ${h.text('users_group_name',class_='medium')} |
|
16 | 19 | </div> |
|
17 | 20 | </div> |
|
18 | <div class="field"> | |
|
21 | ||
|
22 | <div class="field badged-field"> | |
|
19 | 23 | <div class="label"> |
|
20 | 24 | <label for="user">${_('Owner')}:</label> |
|
21 | 25 | </div> |
|
22 | 26 | <div class="input"> |
|
23 | ${h.text('user', class_="medium", autocomplete="off")} | |
|
24 | <span class="help-block">${_('Change owner of this user group.')}</span> | |
|
27 | <div class="badge-input-container"> | |
|
28 | <div class="user-badge"> | |
|
29 | ${base.gravatar_with_user(c.user_group.user.email, show_disabled=not c.user_group.user.active)} | |
|
30 | </div> | |
|
31 | <div class="badge-input-wrap"> | |
|
32 | ${h.text('user', class_="medium", autocomplete="off")} | |
|
33 | </div> | |
|
34 | </div> | |
|
35 | <form:error name="user"/> | |
|
36 | <p class="help-block">${_('Change owner of this user group.')}</p> | |
|
25 | 37 | </div> |
|
26 |
|
|
|
38 | </div> | |
|
39 | ||
|
27 | 40 | <div class="field"> |
|
28 | 41 | <div class="label label-textarea"> |
|
29 | 42 | <label for="user_group_description">${_('Description')}:</label> |
General Comments 0
You need to be logged in to leave comments.
Login now