phcscriptcdnpro 3.3.1 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +22 -3
  3. data/app/views/phcscriptcdnpro/script/authors/index.html.erb +46 -25
  4. data/app/views/phcscriptcdnpro/script/authors/new.html.erb +20 -1
  5. data/app/views/phcscriptcdnpro/script/authors/show.html.erb +28 -4
  6. data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +19 -1
  7. data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +38 -25
  8. data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +19 -1
  9. data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +27 -3
  10. data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +19 -1
  11. data/app/views/phcscriptcdnpro/script/licences/index.html.erb +52 -29
  12. data/app/views/phcscriptcdnpro/script/licences/new.html.erb +19 -1
  13. data/app/views/phcscriptcdnpro/script/licences/show.html.erb +27 -3
  14. data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +20 -1
  15. data/app/views/phcscriptcdnpro/script/listings/index.html.erb +46 -24
  16. data/app/views/phcscriptcdnpro/script/listings/new.html.erb +20 -1
  17. data/app/views/phcscriptcdnpro/script/listings/show.html.erb +27 -3
  18. data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +20 -1
  19. data/app/views/phcscriptcdnpro/script/urls/index.html.erb +42 -21
  20. data/app/views/phcscriptcdnpro/script/urls/new.html.erb +20 -1
  21. data/app/views/phcscriptcdnpro/script/urls/show.html.erb +28 -4
  22. data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +19 -1
  23. data/app/views/phcscriptcdnpro/script/versions/index.html.erb +40 -17
  24. data/app/views/phcscriptcdnpro/script/versions/new.html.erb +19 -1
  25. data/app/views/phcscriptcdnpro/script/versions/show.html.erb +27 -3
  26. data/lib/phcscriptcdnpro/version.rb +1 -1
  27. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6dd27bac01ef873ab32e3750e5b4170b5947eb6e
4
- data.tar.gz: 435921691f90c8460e39414ce5906380aa3a5e03
3
+ metadata.gz: e107d2e04d829ee8efffafde11f901df1244e4c8
4
+ data.tar.gz: 453f2f623b56751342640041fb9a9c7b99a82ee8
5
5
  SHA512:
6
- metadata.gz: a804ee54bd2e2763d0c43fe7d8fe18d0fd6d1085643da90b13094be486e1ee16d1fbea0bc82c7cc276d661ea927d9f1a157f72755d59eda3711777a9a3928e4c
7
- data.tar.gz: b9251cb847b3c5021aedd0186711475fa86d459abc8e9a4a8909ab31ff525917dedaa469e6920561b4e56648fcb4faae2fb5f8c588fc83a13f4d8e7ed1c2fdbb
6
+ metadata.gz: fe10c2c084cdd42e52dac45a6f1a86cff5cd96c4837665ceab14c539c773a01cb2be670d2505e7e50261c0e57e4327c8b0c8a9592f387cee6dc3bbc6234c1576
7
+ data.tar.gz: 43407e779e2cd67587d6e62deed8a004ad7e3b3904307b4871a580e42c309ea2a56c57de541b84f361b26186d248953c673d01c7efa2a200e1ae9322d58848ca
@@ -1,6 +1,6 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Extension" %>
3
- <% phc_title_tagline "Update Script Extension" %>
2
+ <% phc_title "Script Author" %>
3
+ <% phc_title_tagline "Update Script Author" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
@@ -23,7 +23,26 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', { form_url: script_listing_author_path } %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <!-- Form Requries URL to Function Properly -->
41
+ <%= render 'form', { form_url: script_listing_author_path } %>
42
+
43
+ </div>
44
+
45
+ </div>
27
46
 
28
47
  </div>
29
48
  </div>
@@ -22,31 +22,52 @@
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
24
 
25
- <table class="table table-striped table-bordered table-advance table-hover">
26
- <thead>
27
- <tr>
28
- <th>Author Firstname</th>
29
- <th>Author Lastname</th>
30
- <th>Author Website</th>
31
- <th>Author Github</th>
32
- <th>Author Twitter</th>
33
- </tr>
34
- </thead>
35
-
36
- <tbody>
37
- <% @script_authors.each do |script_author| %>
38
- <tr>
39
- <td><%= link_to script_author.authorfirstname, script_listing_author_path(script_author.listing, script_author) %></td>
40
- <td><%= link_to script_author.authorlastname, script_listing_author_path(script_author.listing, script_author) %></td>
41
- <td><%= link_to script_author.authorwebsite, script_listing_author_path(script_author.listing, script_author) %></td>
42
- <td><%= link_to script_author.authorgithub, script_listing_author_path(script_author.listing, script_author) %></td>
43
- <td><%= link_to script_author.authortwitter, script_listing_author_path(script_author.listing, script_author) %></td>
44
- </tr>
45
- <% end %>
46
- </tbody>
47
- </table>
48
-
49
- <%= link_to 'New Script Author', new_script_listing_author_path, class: "btn btn-primary" %>
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ <%= link_to phcscriptcdnpro.new_script_listing_author_path, class: "btn blue-chambray" do %>
34
+ <i class="fa fa-plus"></i> Create an Author
35
+ <% end %>
36
+ </div>
37
+
38
+ </div>
39
+
40
+ <div class="portlet-body">
41
+ <div class="table-responsive">
42
+
43
+ <table class="table table-striped table-bordered table-hover table-header-fixed">
44
+ <thead>
45
+ <tr>
46
+ <th>Author Firstname</th>
47
+ <th>Author Lastname</th>
48
+ <th>Author Website</th>
49
+ <th>Author Github</th>
50
+ <th>Author Twitter</th>
51
+ </tr>
52
+ </thead>
53
+
54
+ <tbody>
55
+ <% @script_authors.each do |script_author| %>
56
+ <tr>
57
+ <td><%= link_to script_author.authorfirstname, script_listing_author_path(script_author.listing, script_author) %></td>
58
+ <td><%= link_to script_author.authorlastname, script_listing_author_path(script_author.listing, script_author) %></td>
59
+ <td><%= link_to script_author.authorwebsite, script_listing_author_path(script_author.listing, script_author) %></td>
60
+ <td><%= link_to script_author.authorgithub, script_listing_author_path(script_author.listing, script_author) %></td>
61
+ <td><%= link_to script_author.authortwitter, script_listing_author_path(script_author.listing, script_author) %></td>
62
+ </tr>
63
+ <% end %>
64
+ </tbody>
65
+ </table>
66
+
67
+ </div>
68
+ </div>
69
+
70
+ </div>
50
71
 
51
72
  </div>
52
73
  </div>
@@ -23,7 +23,26 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', { form_url: script_listing_authors_path } %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <!-- Form Requries URL to Function Properly -->
41
+ <%= render 'form', { form_url: script_listing_authors_path } %>
42
+
43
+ </div>
44
+
45
+ </div>
27
46
 
28
47
  </div>
29
48
  </div>
@@ -1,6 +1,6 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Author" %>
3
- <% phc_title_tagline "Script Author" %>
3
+ <% phc_title_tagline "Script Author Profile" %>
4
4
 
5
5
  <!-- Bread Crumb -->
6
6
  <div class="page-bar">
@@ -20,7 +20,31 @@
20
20
  </h3>
21
21
 
22
22
  <!-- Main Content -->
23
- <div class="btn-group" role="group" aria-label="author_button_group">
24
- <%= link_to 'Edit', edit_script_listing_author_path(@script_author), class: "btn btn-primary" %>
25
- <%= link_to 'Destroy', script_listing_author_path(@script_author), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <div class="btn-group" role="group" aria-label="author_button_group">
41
+ <%= link_to 'Edit', edit_script_listing_author_path(@script_author), class: "btn btn-primary" %>
42
+ <%= link_to 'Destroy', script_listing_author_path(@script_author), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
43
+ </div>
44
+
45
+ </div>
46
+
47
+ </div>
48
+
49
+ </div>
26
50
  </div>
@@ -23,7 +23,25 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', script_extension: @script_extension %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <%= render 'form', script_extension: @script_extension %>
41
+
42
+ </div>
43
+
44
+ </div>
27
45
 
28
46
  </div>
29
47
  </div>
@@ -12,35 +12,48 @@
12
12
 
13
13
  </div>
14
14
 
15
- <!-- Page Title -->
16
- <h3 class="page-title">
17
- <%= yield(:phc_title) %> </br>
18
- <small><%= yield(:phc_title_tagline) %></small>
19
- </h3>
20
-
21
15
  <!-- Main Content -->
22
16
  <div class="row">
23
17
  <div class="col-lg-12">
24
18
 
25
- <table class="table table-striped table-bordered table-advance table-hover">
26
- <thead>
27
- <tr>
28
- <th>Script Extension Name</th>
29
- <th>Script Extension</th>
30
- </tr>
31
- </thead>
32
-
33
- <tbody>
34
- <% @script_extensions.each do |script_extension| %>
35
- <tr>
36
- <td><%= link_to script_extension.scriptextensionname, script_extension %></td>
37
- <td><%= link_to script_extension.scriptextension, script_extension %></td>
38
- </tr>
39
- <% end %>
40
- </tbody>
41
- </table>
42
-
43
- <%= link_to 'New Script Extension', new_script_extension_path, class: "btn btn-primary" %>
19
+ <div class="portlet light">
20
+
21
+ <div class="portlet-title">
22
+
23
+ <div class="caption">
24
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
25
+ </div>
26
+ <div class="actions">
27
+ <%= link_to phcscriptcdnpro.new_script_extension_path, class: "btn blue-chambray" do %>
28
+ <i class="fa fa-plus"></i> Add a New Extension
29
+ <% end %>
30
+ </div>
31
+
32
+ </div>
33
+
34
+ <div class="portlet-body">
35
+ <div class="table-responsive">
36
+ <table class="table table-striped table-bordered table-hover table-header-fixed">
37
+ <thead>
38
+ <tr>
39
+ <th>Script Extension Name</th>
40
+ <th>Script Extension</th>
41
+ </tr>
42
+ </thead>
43
+
44
+ <tbody>
45
+ <% @script_extensions.each do |script_extension| %>
46
+ <tr>
47
+ <td><%= link_to script_extension.scriptextensionname, script_extension %></td>
48
+ <td><%= link_to script_extension.scriptextension, script_extension %></td>
49
+ </tr>
50
+ <% end %>
51
+ </tbody>
52
+ </table>
53
+ </div>
54
+ </div>
55
+
56
+ </div>
44
57
 
45
58
  </div>
46
59
  </div>
@@ -23,7 +23,25 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', script_extension: @script_extension %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <%= render 'form', script_extension: @script_extension %>
41
+
42
+ </div>
43
+
44
+ </div>
27
45
 
28
46
  </div>
29
47
  </div>
@@ -20,7 +20,31 @@
20
20
  </h3>
21
21
 
22
22
  <!-- Main Content -->
23
- <div class="btn-group" role="group" aria-label="extension_button_group">
24
- <%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
25
- <%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <div class="btn-group" role="group" aria-label="extension_button_group">
41
+ <%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
42
+ <%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
43
+ </div>
44
+
45
+ </div>
46
+
47
+ </div>
48
+
49
+ </div>
26
50
  </div>
@@ -23,7 +23,25 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', script_licence: @script_licence %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <%= render 'form', script_licence: @script_licence %>
41
+
42
+ </div>
43
+
44
+ </div>
27
45
 
28
46
  </div>
29
47
  </div>
@@ -22,35 +22,58 @@
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
24
 
25
- <table class="table table-striped table-bordered table-advance table-hover">
26
- <thead>
27
- <tr>
28
- <th>Licence Name</th>
29
- <th>GPLv3 Compatible</th>
30
- <th>FSF Approval</th>
31
- <th>OSI Approval</th>
32
- <th>CopyFree Approval</th>
33
- <th>Debian Approval</th>
34
- <th>Fedora Approval</th>
35
- </tr>
36
- </thead>
37
-
38
- <tbody>
39
- <% @script_licences.each do |script_licence| %>
40
- <tr>
41
- <td><%= link_to script_licence.lcncname, script_licence %></td>
42
- <td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
43
- <td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
44
- <td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
45
- <td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
46
- <td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
47
- <td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
48
- </tr>
49
- <% end %>
50
- </tbody>
51
- </table>
52
-
53
- <%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %>
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ <%= link_to phcscriptcdnpro.new_script_licence_path, class: "btn blue-chambray" do %>
34
+ <i class="fa fa-plus"></i> Add New Software Licence
35
+ <% end %>
36
+ </div>
37
+
38
+ </div>
39
+
40
+ <div class="portlet-body">
41
+ <div class="table-responsive">
42
+
43
+ <table class="table table-striped table-bordered table-hover table-header-fixed">
44
+
45
+ <thead>
46
+ <tr>
47
+ <th>Licence Name</th>
48
+ <th>GPLv3 Compatible</th>
49
+ <th>FSF Approval</th>
50
+ <th>OSI Approval</th>
51
+ <th>CopyFree Approval</th>
52
+ <th>Debian Approval</th>
53
+ <th>Fedora Approval</th>
54
+ </tr>
55
+ </thead>
56
+
57
+ <tbody>
58
+ <% @script_licences.each do |script_licence| %>
59
+ <tr>
60
+ <td><%= link_to script_licence.lcncname, script_licence %></td>
61
+ <td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
62
+ <td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
63
+ <td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
64
+ <td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
65
+ <td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
66
+ <td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
67
+ </tr>
68
+ <% end %>
69
+ </tbody>
70
+
71
+ </table>
72
+
73
+ </div>
74
+ </div>
75
+
76
+ </div>
54
77
 
55
78
  </div>
56
79
  </div>
@@ -23,7 +23,25 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', script_licence: @script_licence %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <%= render 'form', script_licence: @script_licence %>
41
+
42
+ </div>
43
+
44
+ </div>
27
45
 
28
46
  </div>
29
47
  </div>
@@ -20,7 +20,31 @@
20
20
  </h3>
21
21
 
22
22
  <!-- Main Content -->
23
- <div class="btn-group" role="group" aria-label="licence_button_group">
24
- <%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
25
- <%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <div class="btn-group" role="group" aria-label="licence_button_group">
41
+ <%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
42
+ <%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
43
+ </div>
44
+
45
+ </div>
46
+
47
+ </div>
48
+
49
+ </div>
26
50
  </div>
@@ -22,7 +22,26 @@
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
24
 
25
- <%= render 'form', script_listing: @script_listing %>
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ </div>
34
+
35
+ </div>
36
+
37
+ <div class="portlet-body">
38
+
39
+ <!-- Form Requries URL to Function Properly -->
40
+ <%= render 'form', script_listing: @script_listing %>
41
+
42
+ </div>
43
+
44
+ </div>
26
45
 
27
46
  </div>
28
47
  </div>
@@ -22,30 +22,52 @@
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
24
 
25
- <!-- Main Content -->
26
- <table class="table table-bordered table-striped table-hover">
27
- <thead>
28
- <tr>
29
- <th>Title</th>
30
- <th>Release Date</th>
31
- <th>Latest Release Date</th>
32
- <th>Beta Release Date</th>
33
- </tr>
34
- </thead>
35
-
36
- <tbody>
37
- <% @script_listings.each do |script_listing| %>
38
- <tr>
39
- <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td>
40
- <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td>
41
- <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td>
42
- <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td>
43
- </tr>
44
- <% end %>
45
- </tbody>
46
- </table>
47
-
48
- <%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %>
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ <%= link_to phcscriptcdnpro.new_script_listing_path, class: "btn blue-chambray" do %>
34
+ <i class="fa fa-plus"></i> Add New CDN Listing
35
+ <% end %>
36
+ </div>
37
+
38
+ </div>
39
+
40
+ <div class="portlet-body">
41
+
42
+ <div class="table-responsive">
43
+
44
+ <table class="table table-bordered table-striped table-hover">
45
+ <thead>
46
+ <tr>
47
+ <th>Title</th>
48
+ <th>Release Date</th>
49
+ <th>Latest Release Date</th>
50
+ <th>Beta Release Date</th>
51
+ </tr>
52
+ </thead>
53
+
54
+ <tbody>
55
+ <% @script_listings.each do |script_listing| %>
56
+ <tr>
57
+ <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td>
58
+ <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td>
59
+ <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td>
60
+ <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td>
61
+ </tr>
62
+ <% end %>
63
+ </tbody>
64
+ </table>
65
+
66
+ </div>
67
+
68
+ </div>
69
+
70
+ </div>
49
71
 
50
72
  </div>
51
73
  </div>
@@ -22,7 +22,26 @@
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
24
 
25
- <%= render 'form', script_listing: @script_listing %>
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ </div>
34
+
35
+ </div>
36
+
37
+ <div class="portlet-body">
38
+
39
+ <!-- Form Requries URL to Function Properly -->
40
+ <%= render 'form', script_listing: @script_listing %>
41
+
42
+ </div>
43
+
44
+ </div>
26
45
 
27
46
  </div>
28
47
  </div>
@@ -19,7 +19,31 @@
19
19
  </h3>
20
20
 
21
21
  <!-- Main Content -->
22
- <div class="btn-group" role="group" aria-label="url_button_group">
23
- <%= link_to 'Edit', edit_script_listing_path(@script_listing), class: "btn btn-primary" %>
24
- <%= link_to 'Back', script_listings_path, class: "btn btn-primary" %>
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ </div>
34
+
35
+ </div>
36
+
37
+ <div class="portlet-body">
38
+
39
+ <div class="btn-group" role="group" aria-label="url_button_group">
40
+ <%= link_to 'Edit', edit_script_listing_path(@script_listing), class: "btn btn-primary" %>
41
+ <%= link_to 'Destroy', script_listings_path(@script_listing), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
42
+ </div>
43
+
44
+ </div>
45
+
46
+ </div>
47
+
48
+ </div>
25
49
  </div>
@@ -23,7 +23,26 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', { form_url: script_listing_url_path } %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <!-- Form Requries URL to Function Properly -->
41
+ <%= render 'form', { form_url: script_listing_url_path } %>
42
+
43
+ </div>
44
+
45
+ </div>
27
46
 
28
47
  </div>
29
48
  </div>
@@ -22,27 +22,48 @@
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
24
 
25
- <table class="table table-striped table-bordered table-advance table-hover">
26
- <thead>
27
- <tr>
28
- <th>Script URL</th>
29
- <th>Release Date</th>
30
- <th>CDN Update Date</th>
31
- </tr>
32
- </thead>
33
-
34
- <tbody>
35
- <% @script_urls.each do |script_url| %>
36
- <tr>
37
- <td><%= link_to script_url.scripturl, script_listing_url_path(script_url.listing, script_url) %></td>
38
- <td><%= link_to script_url.scripturlrelease, script_listing_url_path(script_url.listing, script_url) %></td>
39
- <td><%= link_to script_url.scripturlcdnupdate, script_listing_url_path(script_url.listing, script_url) %></td>
40
- </tr>
41
- <% end %>
42
- </tbody>
43
- </table>
44
-
45
- <%= link_to 'New Script Url', new_script_listing_url_path, class: "btn btn-primary" %>
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ <%= link_to phcscriptcdnpro.new_script_listing_url_path, class: "btn blue-chambray" do %>
34
+ <i class="fa fa-plus"></i> Add New Script URL
35
+ <% end %>
36
+ </div>
37
+
38
+ </div>
39
+
40
+ <div class="portlet-body">
41
+
42
+ <div class="table-responsive">
43
+
44
+ <table class="table table-bordered table-striped table-hover">
45
+ <thead>
46
+ <tr>
47
+ <th>Script URL</th>
48
+ <th>Release Date</th>
49
+ <th>CDN Update Date</th>
50
+ </tr>
51
+ </thead>
52
+
53
+ <tbody>
54
+ <% @script_urls.each do |script_url| %>
55
+ <tr>
56
+ <td><%= link_to script_url.scripturl, script_listing_url_path(script_url.listing, script_url) %></td>
57
+ <td><%= link_to script_url.scripturlrelease, script_listing_url_path(script_url.listing, script_url) %></td>
58
+ <td><%= link_to script_url.scripturlcdnupdate, script_listing_url_path(script_url.listing, script_url) %></td>
59
+ </tr>
60
+ <% end %>
61
+ </tbody>
62
+ </table>
63
+ </div>
64
+ </div>
65
+
66
+ </div>
46
67
 
47
68
  </div>
48
69
  </div>
@@ -23,7 +23,26 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', { form_url: script_listing_urls_path } %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <!-- Form Requries URL to Function Properly -->
41
+ <%= render 'form', { form_url: script_listing_urls_path } %>
42
+
43
+ </div>
44
+
45
+ </div>
27
46
 
28
47
  </div>
29
48
  </div>
@@ -20,7 +20,31 @@
20
20
  </h3>
21
21
 
22
22
  <!-- Main Content -->
23
- <div class="btn-group" role="group" aria-label="url_button_group">
24
- <%= link_to 'Edit', edit_script_listing_url_path, class: "btn btn-primary" %>
25
- <%= link_to 'Destroy', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
26
- </div>
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <div class="btn-group" role="group" aria-label="url_button_group">
41
+ <%= link_to 'Edit', edit_script_listing_url_path, class: "btn btn-primary" %>
42
+ <%= link_to 'Destroy', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
43
+ </div>
44
+
45
+ </div>
46
+
47
+ </div>
48
+
49
+ </div>
50
+ </div>
@@ -23,7 +23,25 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', script_version: @script_version %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <%= render 'form', script_version: @script_version %>
41
+
42
+ </div>
43
+
44
+ </div>
27
45
 
28
46
  </div>
29
47
  </div>
@@ -23,23 +23,46 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <table class="table table-striped table-bordered table-advance table-hover">
27
- <thead>
28
- <tr>
29
- <th>Script Version</th>
30
- </tr>
31
- </thead>
32
-
33
- <tbody>
34
- <% @script_versions.each do |script_version| %>
35
- <tr>
36
- <td><%= link_to script_version.scriptversion, script_version %></td>
37
- </tr>
38
- <% end %>
39
- </tbody>
40
- </table>
41
-
42
- <%= link_to 'New Script Version', new_script_version_path, class: "btn btn-primary" %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ <%= link_to phcscriptcdnpro.new_script_version_path, class: "btn blue-chambray" do %>
35
+ <i class="fa fa-plus"></i> Add New Version
36
+ <% end %>
37
+ </div>
38
+
39
+ </div>
40
+
41
+ <div class="portlet-body">
42
+
43
+ <div class="table-responsive">
44
+ <table class="table table-bordered table-striped table-hover">
45
+
46
+ <thead>
47
+ <tr>
48
+ <th>Script Version</th>
49
+ </tr>
50
+ </thead>
51
+
52
+ <tbody>
53
+ <% @script_versions.each do |script_version| %>
54
+ <tr>
55
+ <td><%= link_to script_version.scriptversion, script_version %></td>
56
+ </tr>
57
+ <% end %>
58
+ </tbody>
59
+
60
+ </table>
61
+ </div>
62
+
63
+ </div>
64
+
65
+ </div>
43
66
 
44
67
  </div>
45
68
  </div>
@@ -23,7 +23,25 @@
23
23
  <div class="row">
24
24
  <div class="col-lg-12">
25
25
 
26
- <%= render 'form', script_version: @script_version %>
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <%= render 'form', script_version: @script_version %>
41
+
42
+ </div>
43
+
44
+ </div>
27
45
 
28
46
  </div>
29
47
  </div>
@@ -20,7 +20,31 @@
20
20
  </h3>
21
21
 
22
22
  <!-- Main Content -->
23
- <div class="btn-group" role="group" aria-label="version_button_group">
24
- <%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
25
- <%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+
30
+ <div class="caption">
31
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
32
+ </div>
33
+ <div class="actions">
34
+ </div>
35
+
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+
40
+ <div class="btn-group" role="group" aria-label="version_button_group">
41
+ <%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
42
+ <%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
43
+ </div>
44
+
45
+ </div>
46
+
47
+ </div>
48
+
49
+ </div>
26
50
  </div>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "3.3.1"
2
+ VERSION = "3.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-22 00:00:00.000000000 Z
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails