app/views/archangel/backend/sites/show.html.erb in archangel-0.3.0 vs app/views/archangel/backend/sites/show.html.erb in archangel-0.4.0
- old
+ new
@@ -1,38 +1,32 @@
-<div class="card card-default">
+<div class="card card-default sticky-title rounded-0">
<div class="card-body">
- <h2><%= fa_icon("cog") %> <%= Archangel.t(:show_resource, resource: @site.model_name.human.titleize) %></h2>
+ <h2><%= Archangel.t(:show_resource, resource: @site.model_name.human.titleize) %></h2>
</div>
</div>
-<div class="container-fluid">
- <div class="row">
- <div class="col-lg-12">
- <div class="card pages-index">
- <div class="card-header">
- <%= render "buttons" %>
- </div>
+<div class="card sites-show">
+ <div class="card-header">
+ <%= render "buttons" %>
+ </div>
- <div class="card-body">
- <p>
- <%= image_tag(@site.logo.small.url, alt: @site.name) %>
- </p>
+ <div class="card-body">
+ <p>
+ <%= image_tag(@site.logo.small.url, alt: @site.name) %>
+ </p>
- <p>
- <strong><%= Archangel.t(:name) %>:</strong>
- <%= @site.name %>
- </p>
+ <p>
+ <strong><%= Archangel.t(:name) %>:</strong>
+ <%= @site.name %>
+ </p>
- <p>
- <strong><%= Archangel.t(:theme) %>:</strong>
- <%= @site.theme %>
- </p>
+ <p>
+ <strong><%= Archangel.t(:theme) %>:</strong>
+ <%= @site.theme %>
+ </p>
- <p>
- <strong><%= Archangel.t(:locale) %>:</strong>
- <%= @site.locale %>
- </p>
- </div>
- </div>
- </div>
+ <p>
+ <strong><%= Archangel.t(:locale) %>:</strong>
+ <%= @site.locale %>
+ </p>
</div>
</div>