app/views/phcmemberspro/members/contacts/index.html.erb in phcmemberspro-4.8.0 vs app/views/phcmemberspro/members/contacts/index.html.erb in phcmemberspro-4.8.4
- old
+ new
@@ -1,24 +1,36 @@
+<!-- Title System -->
+<% phc_title "PHCMembers - Member Addresses" %>
+<% phc_title_tagline "Address Index for " @members_main.mfirstname + ' ' + @members_main.mlastname %>
+
<!-- Bread Crumbs -->
-<header id="page-header">
- <h1>Private Address Index for <%= @members_main.mfirstname + ' ' + @members_main.mlastname %></h1>
- <ol class="breadcrumb">
- <li><%= link_to "Home", members_root_path %></li>
- <li><%= link_to "Members List", members_mains_path %></li>
- <li class="active"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Private Address Index</li>
- </ol>
-</header>
+<ul class="page-breadcrumb">
+ <li><%= link_to "Home", members_root_path %><i class="fa fa-circle"></i></li>
+ <li><%= link_to "Members List", members_mains_path %><i class="fa fa-circle"></i></li>
+ <li class="active"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Address Index</li>
+</ul>
+<!-- Action Button -->
+<div class="page-toolbar">
+ <div class="btn-group pull-right">
+ <button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown"> Member Address Actions
+ <i class="fa fa-angle-down"></i>
+ </button>
+ <ul class="dropdown-menu pull-right" role="menu">
+ </ul>
+ </div>
+</div>
+
+<!-- Main Content -->
<div id="content" class="padding-20">
- <!-- Main Content -->
<div class="row">
<div class="col-lg-12">
<div class="portlet box blue-chambray bordered">
<div class="portlet-title">
<div class="caption">
- <span class="caption-subject bold uppercase"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Private Address Index</span>
+ <span class="caption-subject bold uppercase"><%= @members_main.mfirstname + ' ' + @members_main.mlastname %> Address Index</span>
</div>
</div>
<div class="portlet-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover table-header-fixed">
@@ -38,21 +50,21 @@
<td><%= members_contact.mccontactname %></td>
<td><%= members_contact.mccompanyname %></td>
<td><%= members_contact.mccity %></td>
<td><%= members_contact.mcprovince %></td>
<td><%= members_contact.mccountry %></td>
- <td><div class="btn-group" role="group" aria-label="Member Adresses Group">
- <%= link_to 'Show', members_main_contact_path(members_contact.main, members_contact), class: "btn btn-primary" %>
- <%= link_to 'Edit', edit_members_main_contact_path(members_contact.main, members_contact), class: "btn btn-primary" %>
- <%= link_to 'Delete', members_main_contact_path(members_contact.main, members_contact), class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure?' } %>
+ <td><div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Member Adresses Group">
+ <%= link_to 'Show', members_main_contact_path(members_contact.main, members_contact), class: "btn blue-hoki" %>
+ <%= link_to 'Edit', edit_members_main_contact_path(members_contact.main, members_contact), class: "btn blue-hoki" %>
+ <%= link_to 'Delete', members_main_contact_path(members_contact.main, members_contact), class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure?' } %>
</div>
</td>
</tr>
<% end %>
</tbody>
</table>
</div>
- <%= link_to 'Add a Private Address', new_members_main_contact_path, class: "btn btn-primary" %>
+ <%= link_to 'Add a Private Address', new_members_main_contact_path, class: "btn blue-hoki" %>
</div>
</div>
</div>
</div>