Upgrade layout to grid+flex

This commit is contained in:
2023-12-04 20:36:03 +01:00
parent 8c6d296021
commit d98057caad
7 changed files with 178 additions and 136 deletions

View File

@@ -1,10 +1,10 @@
<table class="items" id="users">
<table class="main items" id="users">
<thead>
<tr>
<th><%= User.human_attribute_name(:email).capitalize %></th>
<th><%= User.human_attribute_name(:status).capitalize %></th>
<th><%= User.human_attribute_name(:confirmed_at).capitalize %></th>
<th><%= User.human_attribute_name(:created_at).capitalize %> <sup>UTC</sup></th>
<th><%= User.human_attribute_name(:created_at).capitalize %>&nbsp;<sup>UTC</sup></th>
<th><%= t :actions %></th>
</tr>
</thead>

View File

@@ -1,11 +1,11 @@
<% content_for :navigation, flush: true do %>
<div class="left">
<%= image_link_to t(:back), "arrow-left-bold-outline",
<%= image_link_to t(:back), 'arrow-left-bold-outline',
request.referer.present? ? :back : root_url %>
</div>
<div class="right">
<%= image_button_to t(".delete"), "account-remove-outline", user_registration_path,
class: "dangerous", method: :delete, onclick: {confirm: t(".confirm_delete")} %>
method: :delete, onclick: {confirm: t(".confirm_delete")} %>
</div>
<% end %>

View File

@@ -10,4 +10,4 @@
<% end %>
<%= content_tag :p, t(:or), style: "text-align: center;" %>
<%= image_link_to t(:recover_password), "lock-reset", new_user_password_path, class: "centered" %>
<%= image_link_to t(:recover_password), 'lock-reset', new_user_password_path, class: 'centered' %>