phcscriptcdnpro 6.0.3 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +2 -2
  3. data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +5 -6
  4. data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +8 -15
  5. data/app/views/phcscriptcdnpro/script/authors/index.html.erb +6 -14
  6. data/app/views/phcscriptcdnpro/script/authors/new.html.erb +8 -15
  7. data/app/views/phcscriptcdnpro/script/authors/show.html.erb +8 -15
  8. data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +5 -6
  9. data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +6 -13
  10. data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +6 -14
  11. data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +8 -15
  12. data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +8 -15
  13. data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +5 -6
  14. data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +9 -16
  15. data/app/views/phcscriptcdnpro/script/licences/index.html.erb +6 -14
  16. data/app/views/phcscriptcdnpro/script/licences/new.html.erb +9 -16
  17. data/app/views/phcscriptcdnpro/script/licences/show.html.erb +8 -15
  18. data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +5 -6
  19. data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +8 -15
  20. data/app/views/phcscriptcdnpro/script/listings/index.html.erb +6 -15
  21. data/app/views/phcscriptcdnpro/script/listings/new.html.erb +8 -15
  22. data/app/views/phcscriptcdnpro/script/listings/show.html.erb +9 -16
  23. data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +5 -6
  24. data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +10 -15
  25. data/app/views/phcscriptcdnpro/script/urls/index.html.erb +6 -15
  26. data/app/views/phcscriptcdnpro/script/urls/new.html.erb +10 -15
  27. data/app/views/phcscriptcdnpro/script/urls/show.html.erb +9 -16
  28. data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +5 -6
  29. data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +9 -16
  30. data/app/views/phcscriptcdnpro/script/versions/index.html.erb +9 -15
  31. data/app/views/phcscriptcdnpro/script/versions/new.html.erb +10 -13
  32. data/app/views/phcscriptcdnpro/script/versions/show.html.erb +10 -13
  33. data/lib/phcscriptcdnpro/version.rb +1 -1
  34. metadata +21 -57
@@ -1,10 +1,9 @@
1
1
  <%= form_for(script_listing) do |f| %>
2
2
 
3
- <!-- For Validation by PHCNotifi -->
3
+ <!-- PHCNotifi Render Validation -->
4
4
  <%= render 'phcnotifi/validations', :object => @script_listing %>
5
- <!-- For Validation by PHCNotifi -->
6
5
 
7
- <!-- Form Fields -->
6
+ <!-- Form Input Fields -->
8
7
  <div class="form-group field_with_error">
9
8
  <%= f.label :scripttitle, "Script Title" %>
10
9
  <%= f.text_field :scripttitle, placeholder: "Script Title", class: "form-control" %>
@@ -57,12 +56,12 @@
57
56
  <%= f.label :scriptstatus, "Script Status" %>
58
57
  <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
59
58
  </div>
60
- <!-- Form Fields -->
59
+ <!-- Form Input Fields -->
61
60
 
62
- <!-- Form Button -->
61
+ <!-- Form Submition Button -->
63
62
  <div class="actions">
64
63
  <%= f.submit class: "btn btn-primary" %>
65
64
  </div>
66
- <!-- Form Button -->
65
+ <!-- For Submition Button -->
67
66
 
68
67
  <% end %>
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Update Script Listing" %>
4
+ <% phc_breadcrumb_one link_to "Listing Index", phcscriptcdnpro.script_listings_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- Back to Listings Index Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Back to Listing Index
28
23
  <% end %>
29
24
  </div>
30
- <!-- Back to Listings Index Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -1,34 +1,25 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Listing Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
4
5
  <!-- Title System -->
5
6
 
6
7
  <!-- Page Header -->
7
8
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
9
+ <div class="col-sm-8">
11
10
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
11
+ <!-- Bread Crumb -->
15
12
  <ol class="breadcrumb">
16
- <li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
13
+ <li class="active"><%= yield(:phc_breadcrumb_one) %></li>
18
14
  </ol>
19
- <!-- Bread Crumbs -->
20
-
15
+ <!-- Bread Crumb -->
21
16
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- New Listings Button -->
17
+ <div class="col-sm-4">
25
18
  <div class="title-action">
26
19
  <%= link_to phcscriptcdnpro.new_script_listing_path, class: "btn btn-primary" do %>
27
20
  <i class="fa fa-plus"></i> Create a New Listing
28
21
  <% end %>
29
22
  </div>
30
- <!-- New Listings Button -->
31
-
32
23
  </div>
33
24
  </div>
34
25
  <!-- Page Header -->
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Create a New Script Listing" %>
4
+ <% phc_breadcrumb_one link_to "Listing Index", phcscriptcdnpro.script_listings_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- Back to Listings Index Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Back to Listing Index
28
23
  <% end %>
29
24
  </div>
30
- <!-- Back to Listings Index Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Script Listings" %>
3
+ <% phc_title_tagline "Script Listing Details" %>
4
+ <% phc_breadcrumb_one link_to "Listing Index", phcscriptcdnpro.script_listings_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- Back to Listings Index Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Back to Listing Index
28
23
  <% end %>
29
24
  </div>
30
- <!-- Back to Listings Index Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -1,10 +1,9 @@
1
1
  <%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
2
2
 
3
- <!-- For Validation by PHCNotifi -->
3
+ <!-- PHCNotifi Render Validation -->
4
4
  <%= render 'phcnotifi/validations', :object => @script_url %>
5
- <!-- For Validation by PHCNotifi -->
6
5
 
7
- <!-- Form Fields -->
6
+ <!-- Form Input Fields -->
8
7
  <div class="form-group field_with_error">
9
8
  <%= f.label :scripturl, "Script URL" %>
10
9
  <%= f.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
@@ -25,12 +24,12 @@
25
24
  <label>Script Extensions</label>
26
25
  <%= collection_select(:script_url, :extension_id, Phcscriptcdnpro::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
27
26
  </div>
28
- <!-- Form Fields -->
27
+ <!-- Form Input Fields -->
29
28
 
30
- <!-- Form Button -->
29
+ <!-- Form Submition Button -->
31
30
  <div class="actions">
32
31
  <%= f.submit class: "btn btn-primary" %>
33
32
  </div>
34
- <!-- Form Button -->
33
+ <!-- For Submition Button -->
35
34
 
36
35
  <% end %>
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Update Script URL Information" %>
4
+ <% phc_breadcrumb_one link_to "Script Urls", phcscriptcdnpro.script_listing_urls_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Script URLs", phcscriptcdnpro.script_listing_urls_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- New URL Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.new_script_listing_url_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Create a New URL
28
23
  <% end %>
29
24
  </div>
30
- <!-- New URL Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -51,8 +44,10 @@
51
44
  </div>
52
45
  </div>
53
46
  <div class="ibox-content">
47
+
54
48
  <!-- Form Requries URL to Function Properly (Differnet than New) -->
55
49
  <%= render 'form', { form_url: script_listing_url_path } %>
50
+
56
51
  </div>
57
52
  </div>
58
53
 
@@ -1,34 +1,25 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script URL Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
4
5
  <!-- Title System -->
5
6
 
6
7
  <!-- Page Header -->
7
8
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
9
+ <div class="col-sm-8">
11
10
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
11
+ <!-- Bread Crumb -->
15
12
  <ol class="breadcrumb">
16
- <li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
13
+ <li class="active"><%= yield(:phc_breadcrumb_one) %></li>
18
14
  </ol>
19
- <!-- Bread Crumbs -->
20
-
15
+ <!-- Bread Crumb -->
21
16
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- New URL Button -->
17
+ <div class="col-sm-4">
25
18
  <div class="title-action">
26
19
  <%= link_to phcscriptcdnpro.new_script_listing_url_path, class: "btn btn-primary" do %>
27
20
  <i class="fa fa-plus"></i> Create a New URL
28
21
  <% end %>
29
22
  </div>
30
- <!-- New URL Button -->
31
-
32
23
  </div>
33
24
  </div>
34
25
  <!-- Page Header -->
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Create a New Script URL" %>
4
+ <% phc_breadcrumb_one link_to "Script Urls", phcscriptcdnpro.script_listing_urls_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Script URLs", phcscriptcdnpro.script_listing_urls_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- New URL Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.new_script_listing_url_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Create a New URL
28
23
  <% end %>
29
24
  </div>
30
- <!-- New URL Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -51,8 +44,10 @@
51
44
  </div>
52
45
  </div>
53
46
  <div class="ibox-content">
47
+
54
48
  <!-- Form Requries URL to Function Properly (Different Than Edit) -->
55
49
  <%= render 'form', { form_url: script_listing_urls_path } %>
50
+
56
51
  </div>
57
52
  </div>
58
53
 
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script URL Details" %>
4
+ <% phc_breadcrumb_one link_to "Script Urls", phcscriptcdnpro.script_listing_urls_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Script URLs", phcscriptcdnpro.script_listing_urls_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- New URL Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.new_script_listing_url_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Create a New URL
28
23
  <% end %>
29
24
  </div>
30
- <!-- New URL Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -63,4 +56,4 @@
63
56
  </div>
64
57
  </div>
65
58
  </div>
66
- <!-- Page Content -->
59
+ <!-- Page Content -->
@@ -1,20 +1,19 @@
1
1
  <%= form_for(script_version) do |f| %>
2
2
 
3
- <!-- For Validation by PHCNotifi -->
3
+ <!-- PHCNotifi Render Validation -->
4
4
  <%= render 'phcnotifi/validations', :object => @script_version %>
5
- <!-- For Validation by PHCNotifi -->
6
5
 
7
- <!-- Form Fields -->
6
+ <!-- Form Input Fields -->
8
7
  <div class="form-group field_with_error">
9
8
  <%= f.label :scriptversion, "Version Number" %>
10
9
  <%= f.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %>
11
10
  </div>
12
- <!-- Form Fields -->
11
+ <!-- Form Input Fields -->
13
12
 
14
- <!-- Form Button -->
13
+ <!-- Form Submition Button -->
15
14
  <div class="actions">
16
15
  <%= f.submit class: "btn btn-primary" %>
17
16
  </div>
18
- <!-- Form Button -->
17
+ <!-- For Submition Button -->
19
18
 
20
19
  <% end %>
@@ -1,34 +1,27 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Update Script Version Information" %>
4
+ <% phc_breadcrumb_one link_to "Script Version Index", phcscriptcdnpro.script_versions_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Script Version Index", phcscriptcdnpro.script_versions_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- Back to Version Index Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.script_versions_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Back to Script Version Index
28
23
  <% end %>
29
24
  </div>
30
- <!-- Back to Version Index Button -->
31
-
32
25
  </div>
33
26
  </div>
34
27
  <!-- Page Header -->
@@ -61,4 +54,4 @@
61
54
  </div>
62
55
  </div>
63
56
  </div>
64
- <!-- Page Content -->
57
+ <!-- Page Content -->
@@ -1,33 +1,25 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Version Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
4
5
  <!-- Title System -->
5
6
 
6
7
  <!-- Page Header -->
7
8
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
9
+ <div class="col-sm-8">
11
10
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
11
+ <!-- Bread Crumb -->
15
12
  <ol class="breadcrumb">
16
- <li class="active"><%= yield(:phc_title_tagline) %></li>
13
+ <li class="active"><%= yield(:phc_breadcrumb_one) %></li>
17
14
  </ol>
18
- <!-- Bread Crumbs -->
19
-
15
+ <!-- Bread Crumb -->
20
16
  </div>
21
- <div class="col-sm-8">
22
-
23
- <!-- New Version Button -->
17
+ <div class="col-sm-4">
24
18
  <div class="title-action">
25
19
  <%= link_to phcscriptcdnpro.new_script_version_path, class: "btn btn-primary" do %>
26
20
  <i class="fa fa-plus"></i> Create a New Script Version
27
21
  <% end %>
28
22
  </div>
29
- <!-- New Version Button -->
30
-
31
23
  </div>
32
24
  </div>
33
25
  <!-- Page Header -->
@@ -50,6 +42,7 @@
50
42
  </div>
51
43
  </div>
52
44
  <div class="ibox-content">
45
+
53
46
  <div class="table-responsive">
54
47
  <table class="table table-striped table-bordered table-hover dataTables-example">
55
48
  <thead>
@@ -66,10 +59,11 @@
66
59
  </tbody>
67
60
  </table>
68
61
  </div>
62
+
69
63
  </div>
70
64
  </div>
71
65
 
72
66
  </div>
73
67
  </div>
74
68
  </div>
75
- <!-- Page Content -->
69
+ <!-- Page Content -->
@@ -1,27 +1,22 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Create a New Version" %>
4
+ <% phc_breadcrumb_one link_to "Script Version Index", phcscriptcdnpro.script_versions_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Script Version Index", phcscriptcdnpro.script_versions_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- Back to Version Index Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.script_versions_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Back to Script Version Index
@@ -51,8 +46,10 @@
51
46
  </div>
52
47
  </div>
53
48
  <div class="ibox-content">
49
+
54
50
  <!-- Form Requries URL to Function Properly -->
55
51
  <%= render 'form', script_version: @script_version %>
52
+
56
53
  </div>
57
54
  </div>
58
55
 
@@ -1,27 +1,22 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Version Details" %>
4
+ <% phc_breadcrumb_one link_to "Script Version Index", phcscriptcdnpro.script_versions_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
4
6
  <!-- Title System -->
5
7
 
6
8
  <!-- Page Header -->
7
9
  <div class="row wrapper border-bottom white-bg page-heading">
8
- <div class="col-sm-4">
9
-
10
- <!-- Page Title -->
10
+ <div class="col-sm-8">
11
11
  <h2><%= yield(:phc_title) %></h2>
12
- <!-- Page Title -->
13
-
14
- <!-- Bread Crumbs -->
12
+ <!-- Bread Crumb -->
15
13
  <ol class="breadcrumb">
16
- <li><%= link_to "Script Version Index", phcscriptcdnpro.script_versions_path %></li>
17
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ <li><%= yield(:phc_breadcrumb_one) %></li>
15
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
18
16
  </ol>
19
- <!-- Bread Crumbs -->
20
-
17
+ <!-- Bread Crumb -->
21
18
  </div>
22
- <div class="col-sm-8">
23
-
24
- <!-- Back to Version Index Button -->
19
+ <div class="col-sm-4">
25
20
  <div class="title-action">
26
21
  <%= link_to phcscriptcdnpro.script_versions_path, class: "btn btn-primary" do %>
27
22
  <i class="fa fa-plus"></i> Back to Script Version Index
@@ -51,10 +46,12 @@
51
46
  </div>
52
47
  </div>
53
48
  <div class="ibox-content">
49
+
54
50
  <div class="btn-group" role="group" aria-label="url_button_group">
55
51
  <%= link_to 'Edit', edit_script_version_path, class: "btn btn-primary" %>
56
52
  <%= link_to 'Destroy', script_version_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
57
53
  </div>
54
+
58
55
  </div>
59
56
  </div>
60
57