app/views/phcmembers/member/profiles/index.html.erb in phcmembers-51.0.0 vs app/views/phcmembers/member/profiles/index.html.erb in phcmembers-52.0.0
- old
+ new
@@ -3,67 +3,43 @@
<% phc_title_tagline "Members List" %>
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- Title System -->
-<!-- Page Title Bar -->
-<section class="content-header">
- <!-- Page Title and BreadCrumb -->
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
- <ol class="breadcrumb">
- <li><%= yield(:phc_breadcrumb_one) %></li>
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
- </ol>
- <!-- Page Title and BreadCrumb -->
-</section>
-<!-- Page Title Bar -->
-
-<!-- Main Content -->
-<section class="content">
- <div class="row">
- <div class="col-lg-12">
- <div class="box">
- <div class="box-header with-border">
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
- </div>
- <div class="box-body">
-
- <!-- Index Table -->
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Email</th>
- <th>Phone</th>
- </tr>
- </thead>
- <tbody>
- <% @member_profiles.each do |member_profile| %>
- <tr>
- <td class="highlight"><%= link_to member_profile.mfirstname, member_profile %></td>
- <td class="highlight"><%= link_to member_profile.mlastname, member_profile %></td>
- <td class="highlight"><%= link_to member_profile.memail, member_profile %></td>
- <td class="highlight"><%= link_to member_profile.mphone, member_profile %></td>
- </tr>
- </tr>
- <% end %>
- </tbody>
- </table>
- </div>
- <!-- Index Table -->
-
- <!-- Panel Footer -->
- <div class="box-footer clearfix">
- <%= link_to new_member_profile_path, class: "btn btn-primary" do %>
- <i class="fa fa-plus"></i> Create a New Member
+<!-- Page Content -->
+<div class="panel panel-inverse">
+ <div class="panel-heading">
+ <div class="panel-heading-btn">
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
+ </div>
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
+ </div>
+ <div class="panel-body">
+ <!-- Table - Members Profile -->
+ <div class="table-responsive">
+ <table class="table table-striped table-bordered table-hover">
+ <thead>
+ <tr>
+ <th>First Name</th>
+ <th>Last Name</th>
+ <th>Email</th>
+ <th>Phone</th>
+ </tr>
+ </thead>
+ <tbody>
+ <% @member_profiles.each do |member_profile| %>
+ <tr>
+ <td><%= link_to member_profile.mfirstname, member_profile %></td>
+ <td><%= link_to member_profile.mlastname, member_profile %></td>
+ <td><%= link_to member_profile.memail, member_profile %></td>
+ <td><%= link_to member_profile.mphone, member_profile %></td>
+ </tr>
<% end %>
- </div>
- <!-- Panel Footer -->
-
- </div>
+ </tbody>
+ </table>
</div>
+ <!-- Table - Members Profile -->
</div>
</div>
-</section>
-<!-- Main Content -->
+<!-- Page Content -->