app/views/spree/admin/menus/index.html.erb in spree_backend-4.4.1 vs app/views/spree/admin/menus/index.html.erb in spree_backend-4.5.0
- old
+ new
@@ -38,25 +38,25 @@
<% end %>
</div>
<% end %>
<% if @menus.any? %>
-<div class="table-responsive">
+<div class="table-responsive border rounded bg-white">
<table class="table" id="menusTable">
- <thead>
+ <thead class="text-muted">
<th scope="col"><%= Spree.t(:name) %></th>
<th scope="col"><%= Spree.t('location') %></th>
<th scope="col"><%= Spree.t('language') %></th>
- <th class="text-center" scope="col"><%= Spree.t('default') %>
+ <th class="text-center" scope="col" class="text-center"><%= Spree.t('default') %>
<span data-show-info
data-alert-kind="info"
data-alert-title="<%= Spree.t('admin.navigation.default_menus_info.title') %>"
data-alert-html="<%= Spree.t('admin.navigation.default_menus_info.body') %>">
<%= svg_icon name: "info.svg", width: '15', height: '15' %>
</span>
</th>
- <th scope="col"></th>
+ <th scope="col" class="text-center"></th>
</thead>
<tbody>
<% @menus.each do |menu| %>
<tr>
<td>
@@ -82,9 +82,9 @@
</tbody>
</table>
</div>
<%= render 'spree/admin/shared/index_table_options', collection: @menus, simple: true %>
<% else %>
- <div class="alert alert-info no-objects-found">
+ <div class="text-center no-objects-found m-5">
<%= Spree.t('admin.navigation.you_have_no_menus') %>
</div>
<% end %>