app/views/chaltron/users/self_show.html.erb in chaltron-0.3.2 vs app/views/chaltron/users/self_show.html.erb in chaltron-1.0.0

- old
+ new

@@ -1,13 +1,13 @@ <div class='container-fluid'> - <h3 class='page-header'><%= t '.title' %></h3> + <h3 class='pt-4'><%= t '.title' %></h3> <div class='row'> <div class='col-md-9'> - <div class='panel panel-default'> - <div class='panel-heading'><%= t '.headers.details' %></div> - <ul class='list-group'> + <div class='card'> + <div class='card-header'><%= t '.headers.details' %></div> + <ul class='list-group list-group-flush'> <li class='list-group-item'> <span><%= User.human_attribute_name(:username) %>: </span> <strong><%= current_user.username %></strong> </li> <li class='list-group-item'> @@ -27,13 +27,13 @@ </ul> </div> </div> <div class='col-md-3'> - <div class='panel panel-default'> - <div class='panel-heading'><%= t '.headers.activity' %></div> - <ul class='list-group'> + <div class='card'> + <div class='card-header'><%= t '.headers.activity' %></div> + <ul class='list-group list-group-flush'> <% unless current_user.last_sign_in_at.nil? %> <li class='list-group-item'> <span><%= User.human_attribute_name(:last_sign_in_at) %>: </span> <strong><%= l current_user.last_sign_in_at, format: :short %> </strong> </li> @@ -45,10 +45,10 @@ </li> <% end %> </ul> </div> - <%= link_to self_edit_users_path, class: 'btn btn-primary' do %> + <%= link_to self_edit_users_path, class: 'btn btn-primary mt-4' do %> <%= icon 'edit', t('.edit') %> <% end %> </div> </div>