phcmemberspro 57.0.0 → 58.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/phcmemberspro/application.js +17 -2
  3. data/app/assets/stylesheets/phcmemberspro/application.scss +1 -1
  4. data/app/controllers/phcmemberspro/member/profiles_controller.rb +3 -2
  5. data/app/views/layouts/phcmemberspro/application.html.erb +2 -2
  6. data/app/views/layouts/phcmemberspro/application_full_width.html.erb +82 -0
  7. data/app/views/layouts/phcmemberspro/components/backend/navigation/_top_menu.html.erb +1 -1
  8. data/app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb +1 -1
  9. data/app/views/phcmemberspro/directory/categories/_form.html.erb +11 -7
  10. data/app/views/phcmemberspro/directory/categories/edit.html.erb +11 -43
  11. data/app/views/phcmemberspro/directory/categories/index.html.erb +20 -49
  12. data/app/views/phcmemberspro/directory/categories/new.html.erb +11 -43
  13. data/app/views/phcmemberspro/member/addresses/_form.html.erb +23 -23
  14. data/app/views/phcmemberspro/member/addresses/edit.html.erb +11 -43
  15. data/app/views/phcmemberspro/member/addresses/index.html.erb +37 -66
  16. data/app/views/phcmemberspro/member/addresses/new.html.erb +11 -43
  17. data/app/views/phcmemberspro/member/listings/_form.html.erb +31 -36
  18. data/app/views/phcmemberspro/member/listings/edit.html.erb +11 -43
  19. data/app/views/phcmemberspro/member/listings/index.html.erb +41 -70
  20. data/app/views/phcmemberspro/member/listings/new.html.erb +11 -43
  21. data/app/views/phcmemberspro/member/profiles/_form.html.erb +20 -14
  22. data/app/views/phcmemberspro/member/profiles/components/_profile_addresses_table.html.erb +1 -0
  23. data/app/views/phcmemberspro/member/profiles/components/{_profile_audits.html.erb → _profile_audits_table.html.erb} +0 -0
  24. data/app/views/phcmemberspro/member/profiles/components/_profile_header.html.erb +29 -0
  25. data/app/views/phcmemberspro/member/profiles/components/_profile_listings_table.html.erb +1 -0
  26. data/app/views/phcmemberspro/member/profiles/edit.html.erb +11 -42
  27. data/app/views/phcmemberspro/member/profiles/index.html.erb +33 -62
  28. data/app/views/phcmemberspro/member/profiles/new.html.erb +11 -42
  29. data/app/views/phcmemberspro/member/profiles/show.html.erb +74 -27
  30. data/lib/phcmemberspro/version.rb +1 -1
  31. metadata +5 -4
  32. data/app/views/phcmemberspro/member/profiles/components/_profile_main.html.erb +0 -52
@@ -6,51 +6,19 @@
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Header -->
10
- <div class="row wrapper border-bottom white-bg page-heading">
11
- <div class="col-sm-8">
12
- <h2><%= yield(:phc_title) %></h2>
13
- <!-- Bread Crumb -->
14
- <ol class="breadcrumb">
15
- <li><%= yield(:phc_breadcrumb_one) %></li>
16
- <li><%= yield(:phc_breadcrumb_two) %></li>
17
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
18
- </ol>
19
- <!-- Bread Crumb -->
20
- </div>
21
- <div class="col-sm-4">
22
- <div class="title-action">
23
- <%= link_to phcmemberspro.member_profile_addresses_path, class: "btn btn-primary" do %>
24
- <i class="fa fa-address-book"></i> <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Address Index
25
- <% end %>
26
- </div>
27
- </div>
28
- </div>
29
- <!-- Page Header -->
30
-
31
9
  <!-- Page Content -->
32
- <div class="wrapper wrapper-content animated fadeInRight">
33
- <div class="row">
34
- <div class="col-lg-12">
35
-
36
- <div class="ibox float-e-margins">
37
- <div class="ibox-title">
38
- <h5><%= yield(:phc_title_tagline) %></h5>
39
- <div class="ibox-tools">
40
- <a class="collapse-link">
41
- <i class="fa fa-chevron-up"></i>
42
- </a>
43
- <a class="close-link">
44
- <i class="fa fa-times"></i>
45
- </a>
46
- </div>
47
- </div>
48
- <div class="ibox-content">
49
- <%= render 'form', { form_url: member_profile_address_path } %>
50
- </div>
51
- </div>
52
-
10
+ <div class="panel panel-inverse">
11
+ <div class="panel-heading">
12
+ <div class="panel-heading-btn">
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
16
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
53
17
  </div>
18
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
19
+ </div>
20
+ <div class="panel-body">
21
+ <%= render 'form', { form_url: member_profile_listing_path } %>
54
22
  </div>
55
23
  </div>
56
24
  <!-- Page Content -->
@@ -5,75 +5,46 @@
5
5
  <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
6
  <!-- Title System -->
7
7
 
8
- <!-- Page Header -->
9
- <div class="row wrapper border-bottom white-bg page-heading">
10
- <div class="col-sm-8">
11
- <h2><%= yield(:phc_title) %></h2>
12
- <!-- Bread Crumb -->
13
- <ol class="breadcrumb">
14
- <li><%= yield(:phc_breadcrumb_one) %></li>
15
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
16
- </ol>
17
- <!-- Bread Crumb -->
18
- </div>
19
- <div class="col-sm-4">
20
- <div class="title-action">
21
- <%= link_to phcmemberspro.new_member_profile_address_path, class: "btn btn-primary" do %>
22
- <i class="fa fa-plus"></i> Creat a New Address for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %>
23
- <% end %>
8
+ <!-- Page Content -->
9
+ <div class="panel panel-inverse">
10
+ <div class="panel-heading">
11
+ <div class="panel-heading-btn">
12
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
24
16
  </div>
17
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
18
  </div>
26
- </div>
27
- <!-- Page Header -->
28
-
29
- <!-- Page Content -->
30
- <div class="wrapper wrapper-content animated fadeInRight">
31
- <div class="row">
32
- <div class="col-lg-12">
33
-
34
- <div class="ibox float-e-margins">
35
- <div class="ibox-title">
36
- <h5><%= yield(:phc_title_tagline) %></h5>
37
- <div class="ibox-tools">
38
- <a class="collapse-link">
39
- <i class="fa fa-chevron-up"></i>
40
- </a>
41
- <a class="close-link">
42
- <i class="fa fa-times"></i>
43
- </a>
44
- </div>
45
- </div>
46
- <div class="ibox-content">
47
- <div class="table-responsive">
48
- <table class="table table-striped table-bordered table-hover">
49
- <thead>
50
- <tr>
51
- <th>Address Line 1</th>
52
- <th>City</th>
53
- <th>Country</th>
54
- <th>PostalCode</th>
55
- <th>Type</th>
56
- <th></th>
57
- </tr>
58
- </thead>
59
- <tbody>
60
- <% @member_addresses.each do |member_address| %>
61
- <tr>
62
- <td><%= link_to member_address.mcaddressl1, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
63
- <td><%= link_to member_address.mccity, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
64
- <td><%= link_to member_address.mccountry, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
65
- <td><%= link_to member_address.mcpostalcode, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
66
- <td><%= link_to member_address.mctype, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
67
- <td><%= link_to 'Remove', member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %></td>
68
- </tr>
69
- <% end %>
70
- </tbody>
71
- </table>
72
- </div>
73
- </div>
74
- </div>
75
-
19
+ <div class="panel-body">
20
+ <!-- Table - Members Address -->
21
+ <div class="table-responsive">
22
+ <table class="table table-striped table-bordered table-hover">
23
+ <thead>
24
+ <tr>
25
+ <th>Address Line 1</th>
26
+ <th>City</th>
27
+ <th>Country</th>
28
+ <th>PostalCode</th>
29
+ <th>Type</th>
30
+ <th></th>
31
+ </tr>
32
+ </thead>
33
+ <tbody>
34
+ <% @member_addresses.each do |member_address| %>
35
+ <tr>
36
+ <td><%= link_to member_address.mcaddressl1, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
37
+ <td><%= link_to member_address.mccity, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
38
+ <td><%= link_to member_address.mccountry, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
39
+ <td><%= link_to member_address.mcpostalcode, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
40
+ <td><%= link_to member_address.mctype, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
41
+ <td><%= link_to 'Remove', member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %></td>
42
+ </tr>
43
+ <% end %>
44
+ </tbody>
45
+ </table>
76
46
  </div>
47
+ <!-- Table - Members Address -->
77
48
  </div>
78
49
  </div>
79
50
  <!-- Page Content -->
@@ -6,51 +6,19 @@
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Header -->
10
- <div class="row wrapper border-bottom white-bg page-heading">
11
- <div class="col-sm-8">
12
- <h2><%= yield(:phc_title) %></h2>
13
- <!-- Bread Crumb -->
14
- <ol class="breadcrumb">
15
- <li><%= yield(:phc_breadcrumb_one) %></li>
16
- <li><%= yield(:phc_breadcrumb_two) %></li>
17
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
18
- </ol>
19
- <!-- Bread Crumb -->
20
- </div>
21
- <div class="col-sm-4">
22
- <div class="title-action">
23
- <%= link_to phcmemberspro.member_profile_addresses_path, class: "btn btn-primary" do %>
24
- <i class="fa fa-address-book"></i> <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Address Index
25
- <% end %>
26
- </div>
27
- </div>
28
- </div>
29
- <!-- Page Header -->
30
-
31
9
  <!-- Page Content -->
32
- <div class="wrapper wrapper-content animated fadeInRight">
33
- <div class="row">
34
- <div class="col-lg-12">
35
-
36
- <div class="ibox float-e-margins">
37
- <div class="ibox-title">
38
- <h5><%= yield(:phc_title_tagline) %></h5>
39
- <div class="ibox-tools">
40
- <a class="collapse-link">
41
- <i class="fa fa-chevron-up"></i>
42
- </a>
43
- <a class="close-link">
44
- <i class="fa fa-times"></i>
45
- </a>
46
- </div>
47
- </div>
48
- <div class="ibox-content">
49
- <%= render 'form', { form_url: member_profile_addresses_path } %>
50
- </div>
51
- </div>
52
-
10
+ <div class="panel panel-inverse">
11
+ <div class="panel-heading">
12
+ <div class="panel-heading-btn">
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
16
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
53
17
  </div>
18
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
19
+ </div>
20
+ <div class="panel-body">
21
+ <%= render 'form', { form_url: member_profile_listings_path } %>
54
22
  </div>
55
23
  </div>
56
24
  <!-- Page Content -->
@@ -1,72 +1,67 @@
1
- <%= form_for([@member_listing.profile, @member_listing], url: form_url) do |f| %>
1
+ <!-- PHCMembers Form - Web Directory Listings -->
2
+ <%= form_with(model: @member_listing, local: true) do |phc_members_pro_member_listings| %>
2
3
 
3
4
  <!-- PHCNotifi Render Validation -->
4
5
  <%= render 'phcnotifi/validations', :object => @member_listing %>
6
+ <!-- PHCNotifi Render Validation -->
5
7
 
8
+ <!-- PHCMembers Fields - Web Directory Listings -->
6
9
  <div class="form-group field_with_errors">
7
- <%= f.label :mbcompanyname, "Company Name" %>
8
- <%= f.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
10
+ <%= phc_members_pro_member_listings.label :mbcompanyname, "Company Name" %>
11
+ <%= phc_members_pro_member_listings.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
9
12
  </div>
10
-
11
13
  <div class="form-group field_with_errors">
12
- <%= f.label :mbcontactname, "Contact Name" %>
13
- <%= f.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
14
+ <%= phc_members_pro_member_listings.label :mbcontactname, "Contact Name" %>
15
+ <%= phc_members_pro_member_listings.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
14
16
  </div>
15
-
16
17
  <div class="form-group field_with_errors">
17
- <%= f.label :mbaddressl1, "Address Line 1" %>
18
- <%= f.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
18
+ <%= phc_members_pro_member_listings.label :mbaddressl1, "Address Line 1" %>
19
+ <%= phc_members_pro_member_listings.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
19
20
  </div>
20
-
21
21
  <div class="form-group field_with_errors">
22
- <%= f.label :mbaddressl2, "Address Line 2" %>
23
- <%= f.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
22
+ <%= phc_members_pro_member_listings.label :mbaddressl2, "Address Line 2" %>
23
+ <%= phc_members_pro_member_listings.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
24
24
  </div>
25
-
26
25
  <div class="form-group field_with_errors">
27
- <%= f.label :mbcity, "City" %>
28
- <%= f.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
26
+ <%= phc_members_pro_member_listings.label :mbcity, "City" %>
27
+ <%= phc_members_pro_member_listings.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
29
28
  </div>
30
-
31
29
  <div class="form-group field_with_errors">
32
- <%= f.label :mbprovince, "Province/State" %>
33
- <%= f.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
30
+ <%= phc_members_pro_member_listings.label :mbprovince, "Province/State" %>
31
+ <%= phc_members_pro_member_listings.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
34
32
  </div>
35
-
36
33
  <div class="form-group field_with_errors">
37
- <%= f.label :mbcountry, "Country" %>
34
+ <%= phc_members_pro_member_listings.label :mbcountry, "Country" %>
38
35
  <%= country_select("member_listing", "mbcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
39
36
  </div>
40
-
41
37
  <div class="form-group field_with_errors">
42
- <%= f.label :mbpostalcode, "Postal Code" %><br>
43
- <%= f.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
38
+ <%= phc_members_pro_member_listings.label :mbpostalcode, "Postal Code" %><br>
39
+ <%= phc_members_pro_member_listings.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
44
40
  </div>
45
-
46
41
  <div class="form-group field_with_errors">
47
- <%= f.label :mbphone, "Business Phone Number" %>
48
- <%= f.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
42
+ <%= phc_members_pro_member_listings.label :mbphone, "Business Phone Number" %>
43
+ <%= phc_members_pro_member_listings.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
49
44
  </div>
50
-
51
45
  <div class="form-group field_with_errors">
52
- <%= f.label :mbcontactemail, "Business General Email" %>
53
- <%= f.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
46
+ <%= phc_members_pro_member_listings.label :mbcontactemail, "Business General Email" %>
47
+ <%= phc_members_pro_member_listings.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
54
48
  </div>
55
-
56
49
  <div class="form-group field_with_errors">
57
- <%= f.label :mbwebsite, "Business Website" %>
58
- <%= f.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
50
+ <%= phc_members_pro_member_listings.label :mbwebsite, "Business Website" %>
51
+ <%= phc_members_pro_member_listings.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
59
52
  </div>
60
-
61
53
  <div class="form-group field_with_errors">
62
- <%= f.collection_check_boxes :category_ids, Phcmemberspro::Directory::Category.all, :id, :catname do |listing_category| %>
54
+ <%= phc_members_pro_member_listings.collection_check_boxes :category_ids, Phcmemberspro::Directory::Category.all, :id, :catname do |listing_category| %>
63
55
  <%= listing_category.check_box %>
64
56
  <%= listing_category.label %></br>
65
57
  <% end %>
66
58
  </div>
67
-
59
+ <br>
68
60
  <div class="actions">
69
- <%= f.submit class: "btn blue-soft" %>
61
+ <%= phc_members_pro_member_listings.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>
70
62
  </div>
63
+ <br>
64
+ <!-- PHCMembers Fields - Web Directory Listings -->
71
65
 
72
66
  <% end %>
67
+ <!-- PHCMembers Form - Web Directory Listings -->
@@ -6,51 +6,19 @@
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Header -->
10
- <div class="row wrapper border-bottom white-bg page-heading">
11
- <div class="col-sm-8">
12
- <h2><%= yield(:phc_title) %></h2>
13
- <!-- Bread Crumb -->
14
- <ol class="breadcrumb">
15
- <li><%= yield(:phc_breadcrumb_one) %></li>
16
- <li><%= yield(:phc_breadcrumb_two) %></li>
17
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
18
- </ol>
19
- <!-- Bread Crumb -->
20
- </div>
21
- <div class="col-sm-4">
22
- <div class="title-action">
23
- <%= link_to phcmemberspro.member_profile_listings_path, class: "btn btn-primary" do %>
24
- <i class="fa fa-address-card"></i> <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Listing Index
25
- <% end %>
26
- </div>
27
- </div>
28
- </div>
29
- <!-- Page Header -->
30
-
31
9
  <!-- Page Content -->
32
- <div class="wrapper wrapper-content animated fadeInRight">
33
- <div class="row">
34
- <div class="col-lg-12">
35
-
36
- <div class="ibox float-e-margins">
37
- <div class="ibox-title">
38
- <h5><%= yield(:phc_title_tagline) %></h5>
39
- <div class="ibox-tools">
40
- <a class="collapse-link">
41
- <i class="fa fa-chevron-up"></i>
42
- </a>
43
- <a class="close-link">
44
- <i class="fa fa-times"></i>
45
- </a>
46
- </div>
47
- </div>
48
- <div class="ibox-content">
49
- <%= render 'form', { form_url: member_profile_listing_path } %>
50
- </div>
51
- </div>
52
-
10
+ <div class="panel panel-inverse">
11
+ <div class="panel-heading">
12
+ <div class="panel-heading-btn">
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
16
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
53
17
  </div>
18
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
19
+ </div>
20
+ <div class="panel-body">
21
+ <%= render 'form', { form_url: member_profile_address_path } %>
54
22
  </div>
55
23
  </div>
56
24
  <!-- Page Content -->
@@ -5,79 +5,50 @@
5
5
  <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
6
  <!-- Title System -->
7
7
 
8
- <!-- Page Header -->
9
- <div class="row wrapper border-bottom white-bg page-heading">
10
- <div class="col-sm-8">
11
- <h2><%= yield(:phc_title) %></h2>
12
- <!-- Bread Crumb -->
13
- <ol class="breadcrumb">
14
- <li><%= yield(:phc_breadcrumb_one) %></li>
15
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
16
- </ol>
17
- <!-- Bread Crumb -->
18
- </div>
19
- <div class="col-sm-4">
20
- <div class="title-action">
21
- <%= link_to new_member_profile_listing_path, class: "btn btn-primary" do %>
22
- <i class="fa fa-plus"></i> Create a New Listing for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %>
23
- <% end %>
8
+ <!-- Page Content -->
9
+ <div class="panel panel-inverse">
10
+ <div class="panel-heading">
11
+ <div class="panel-heading-btn">
12
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
24
16
  </div>
17
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
25
18
  </div>
26
- </div>
27
- <!-- Page Header -->
28
-
29
- <!-- Page Content -->
30
- <div class="wrapper wrapper-content animated fadeInRight">
31
- <div class="row">
32
- <div class="col-lg-12">
33
-
34
- <div class="ibox float-e-margins">
35
- <div class="ibox-title">
36
- <h5><%= yield(:phc_title_tagline) %></h5>
37
- <div class="ibox-tools">
38
- <a class="collapse-link">
39
- <i class="fa fa-chevron-up"></i>
40
- </a>
41
- <a class="close-link">
42
- <i class="fa fa-times"></i>
43
- </a>
44
- </div>
45
- </div>
46
- <div class="ibox-content">
47
- <div class="table-responsive">
48
- <table class="table table-striped table-bordered table-hover">
49
- <thead class="thead-inverse">
50
- <tr>
51
- <th>Company Name</th>
52
- <th>Conact Name</th>
53
- <th>City</th>
54
- <th>Country</th>
55
- <th>Listing Phone</th>
56
- <th>Listing Email</th>
57
- <th>Listing Website</th>
58
- <th></th>
59
- </tr>
60
- </thead>
61
- <tbody>
62
- <% @member_listings.each do |member_listing| %>
63
- <tr>
64
- <td class="highlight"><%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
65
- <td class="highlight"><%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
66
- <td class="highlight"><%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %></td>
67
- <td class="highlight"><%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %></td>
68
- <td class="highlight"><%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %></td>
69
- <td class="highlight"><%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %></td>
70
- <td class="highlight"><%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %></td>
71
- <td><%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove address information and cannot be reversed.' } %></td>
72
- </tr>
73
- <% end %>
74
- </tbody>
75
- </table>
76
- </div>
77
- </div>
78
- </div>
79
-
19
+ <div class="panel-body">
20
+ <!-- Table - Members Listings -->
21
+ <div class="table-responsive">
22
+ <table class="table table-striped table-bordered table-hover">
23
+ <thead class="thead-inverse">
24
+ <tr>
25
+ <th>Company Name</th>
26
+ <th>Conact Name</th>
27
+ <th>City</th>
28
+ <th>Country</th>
29
+ <th>Listing Phone</th>
30
+ <th>Listing Email</th>
31
+ <th>Listing Website</th>
32
+ <th></th>
33
+ </tr>
34
+ </thead>
35
+ <tbody>
36
+ <% @member_listings.each do |member_listing| %>
37
+ <tr>
38
+ <td class="highlight"><%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
39
+ <td class="highlight"><%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
40
+ <td class="highlight"><%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %></td>
41
+ <td class="highlight"><%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %></td>
42
+ <td class="highlight"><%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %></td>
43
+ <td class="highlight"><%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %></td>
44
+ <td class="highlight"><%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %></td>
45
+ <td><%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove address information and cannot be reversed.' } %></td>
46
+ </tr>
47
+ <% end %>
48
+ </tbody>
49
+ </table>
80
50
  </div>
51
+ <!-- Table - Members Listings -->
81
52
  </div>
82
53
  </div>
83
54
  <!-- Page Content -->