app/views/phcmembers/member/profiles/index.html.erb in phcmembers-4.2.10 vs app/views/phcmembers/member/profiles/index.html.erb in phcmembers-5.0.0

- old
+ new

@@ -1,71 +1,61 @@ <!-- Title Variables --> <% phc_title "PHCMembers - Member Profile Manager" %> <% phc_title_tagline "Members Main Index" %> +<!-- Title System --> -<!-- Page Header --> -<div class="row"> - <div class="col-lg-12"> +<!-- Page Title Bar --> +<section class="content-header"> - <!-- Bread Crumbs --> - <ol class="breadcrumb"> - <li><%= link_to "Dashboard", member_root_path %></li> - <li class="active"><%= yield(:phc_title_tagline) %></li> - </ol> + <!-- Page Title and BreadCrumb --> + <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1> + <ol class="breadcrumb"> + <li><%= link_to "Dashboard", member_root_path %></li> + <li class="active"><%= yield(:phc_title_tagline) %></li> + </ol> + <!-- Page Title and BreadCrumb --> - <!-- Page Title --> - <h3 class="page-title"> - <%= yield(:phc_title) %> </br> - <small><%= yield(:phc_title_tagline) %></small> - </h3> +</section> +<!-- Page Title Bar --> - </div> -</div> - <!-- Main Content --> -<div class="row"> - <div class="col-lg-12"> +<section class="content"> + <div class="row"> + <div class="col-lg-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - - <div class="caption"> - <span class="caption-subject bold uppercase">Main Members List</span> + <div class="box"> + <div class="box-header with-border"> + <h3 class="box-title"><%= yield(:phc_title) %></h3> </div> - - </div> - <div class="panel-body"> - - <div class="table-scrollable"> + <div class="box-body"> <table class="table table-striped table-bordered table-advance 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> <% end %> </tbody> - </table> </div> + <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 + <% end %> + </div> </div> - </div> - <%= link_to new_member_profile_path, class: "btn btn-primary" do %> - <i class="fa fa-plus"></i> Create a New Member - <% end %> - + </div> </div> -</div> +</section> +<!-- Main Content -->