summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-09 04:53:56 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-09 04:53:56 +0200
commit3ae22916cd5fd0f63ffacc7a9e1aa97d311b83e6 (patch)
tree05fa25472040295c9a318e17a03d9496cf91d825 /app/views/users
parent332ffbeed90cf07342925b82ed3fda1762346be2 (diff)
Fix button height mismatch between bordered and pill button styles, extend table styling to assets/users/events
Fix button height mismatch, extend table styling to assets/users/events a.action_button (bordered) and the state_changing/destructive/computation pills (borderless) rendered at different heights, since each pill variant set its own padding at higher specificity than the shared rule meant to equalize them. Padding and border-radius now live only in one shared rule; also restores the #page_editor prefix on a.action_button, needed to outrank the #page_editor a wavy-underline rule. table.assets_table, table.user_table, and table.events_table now share table.node_table's border-collapse/header/hover treatment. tr min-height is dropped -- browsers don't honor height on <tr> -- in favor of cell padding, kept at zero for node_table (spacing already comes from its h4/p content) and set to 8px for the plain-text tables.
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/index.html.erb14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index cf00ef6..88868f5 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -2,13 +2,25 @@
2 <tr> 2 <tr>
3 <td><h1>Admins</h1></td> 3 <td><h1>Admins</h1></td>
4 </tr> 4 </tr>
5 <tr class="header">
6 <th>Login</th>
7 <th></th>
8 <th></th>
9 <th></th>
10 </tr>
5 <%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %> 11 <%= render :partial => "user", :locals => {:users => @users[:admin] ||= []} %>
6 <tr> 12 <tr>
7 <td><h1>Users</h1></td> 13 <td><h1>Users</h1></td>
8 </tr> 14 </tr>
15 <tr class="header">
16 <th>Login</th>
17 <th></th>
18 <th></th>
19 <th></th>
20 </tr>
9 <%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %> 21 <%= render :partial => "user", :locals => {:users => @users[:user] ||= []} %>
10</table> 22</table>
11 23
12<% content_for :subnavigation do %> 24<% content_for :subnavigation do %>
13 <%= link_to "create", new_user_path %> 25 <%= link_to "create", new_user_path %>
14<% end %> \ No newline at end of file 26<% end %>