aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb12
1 files changed, 6 insertions, 6 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb
index b0be2583ba5..7c724973203 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/roles/edit_users.html.erb
@@ -20,15 +20,15 @@
<table>
<tbody>
<tr>
- <td style="padding: 5px 0pt;" valign="top">
+ <td style="padding: 5px 0;" valign="top">
<h2>Ungranted users</h2>
- <select name="from" id="from" size="30" style="margin: 5px 0pt; width: 300px;" multiple="multiple">
- <% ungranted_users.sort.each do |user| %>
+ <select name="from" id="from" size="30" style="margin: 5px 0; width: 300px;" multiple="multiple">
+ <% ungranted_users.each do |user| %>
<option value="<%= user.id -%>"><%= user.name -%></option>
<% end %>
</select>
</td>
- <td style="padding: 0pt 10px;" align="center">
+ <td style="padding: 0 10px;" align="center">
<button id="select_right" onclick="SelectBox.move('from', 'to');SelectBox.sort('to');SelectBox.redisplay('to');return false;">select >></button><br>
<button id="select_right_all" onclick="SelectBox.move_all('from', 'to');return false;">select all >></button><br><br>
<button id="select_left" onclick="SelectBox.move('to', 'from');return false;"><< unselect</button><br>
@@ -37,11 +37,11 @@
<td class="box" style="padding: 5px 10px;" valign="top">
<h2>Role: <%= role_name(@role) -%></h2>
- <select name="users[]" id="to" size="30" multiple="multiple" style="margin: 5px 0pt; width: 300px;">
+ <select name="users[]" id="to" size="30" multiple="multiple" style="margin: 5px 0; width: 300px;">
<%= options_from_collection_for_select(granted_users, "id", "name") %>
</select><br>
- <div style="padding: 5px 0pt;">
+ <div style="padding: 5px 0;">
<input id="save" value="Save" onclick="SelectBox.select_all('to');submit();return false;" type="submit">
</div>
</td>