phcscriptcdn 4.3.2 → 4.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/phcscriptcdn/script/authors/_form.html.erb +6 -1
  3. data/app/views/phcscriptcdn/script/authors/edit.html.erb +28 -27
  4. data/app/views/phcscriptcdn/script/authors/index.html.erb +52 -51
  5. data/app/views/phcscriptcdn/script/authors/new.html.erb +28 -27
  6. data/app/views/phcscriptcdn/script/authors/show.html.erb +31 -22
  7. data/app/views/phcscriptcdn/script/extensions/_form.html.erb +5 -0
  8. data/app/views/phcscriptcdn/script/extensions/edit.html.erb +28 -27
  9. data/app/views/phcscriptcdn/script/extensions/index.html.erb +46 -45
  10. data/app/views/phcscriptcdn/script/extensions/new.html.erb +28 -27
  11. data/app/views/phcscriptcdn/script/extensions/show.html.erb +31 -23
  12. data/app/views/phcscriptcdn/script/licences/_form.html.erb +7 -1
  13. data/app/views/phcscriptcdn/script/licences/edit.html.erb +29 -28
  14. data/app/views/phcscriptcdn/script/licences/index.html.erb +54 -53
  15. data/app/views/phcscriptcdn/script/licences/new.html.erb +29 -28
  16. data/app/views/phcscriptcdn/script/licences/show.html.erb +31 -22
  17. data/app/views/phcscriptcdn/script/listings/_form.html.erb +6 -1
  18. data/app/views/phcscriptcdn/script/listings/edit.html.erb +28 -27
  19. data/app/views/phcscriptcdn/script/listings/index.html.erb +48 -47
  20. data/app/views/phcscriptcdn/script/listings/new.html.erb +28 -27
  21. data/app/views/phcscriptcdn/script/listings/show.html.erb +29 -28
  22. data/app/views/phcscriptcdn/script/urls/_form.html.erb +6 -1
  23. data/app/views/phcscriptcdn/script/urls/edit.html.erb +27 -27
  24. data/app/views/phcscriptcdn/script/urls/index.html.erb +46 -46
  25. data/app/views/phcscriptcdn/script/urls/new.html.erb +28 -28
  26. data/app/views/phcscriptcdn/script/urls/show.html.erb +30 -30
  27. data/app/views/phcscriptcdn/script/versions/_form.html.erb +6 -1
  28. data/app/views/phcscriptcdn/script/versions/edit.html.erb +28 -27
  29. data/app/views/phcscriptcdn/script/versions/index.html.erb +43 -43
  30. data/app/views/phcscriptcdn/script/versions/new.html.erb +28 -27
  31. data/app/views/phcscriptcdn/script/versions/show.html.erb +30 -29
  32. data/lib/phcscriptcdn/version.rb +1 -1
  33. metadata +2 -2
@@ -1,7 +1,9 @@
1
1
  <%= form_for(script_listing) do |f| %>
2
2
 
3
+ <!-- PHCNotifi Render Validation -->
3
4
  <%= render 'phcnotifi/validations', :object => @script_listing %>
4
5
 
6
+ <!-- Form Input Fields -->
5
7
  <div class="form-group field_with_error">
6
8
  <%= f.label :scripttitle, "Script Title" %>
7
9
  <%= f.text_field :scripttitle, placeholder: "Script Title", class: "form-control" %>
@@ -54,9 +56,12 @@
54
56
  <%= f.label :scriptstatus, "Script Status" %>
55
57
  <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
56
58
  </div>
59
+ <!-- Form Input Fields -->
57
60
 
61
+ <!-- Form Submition Button -->
58
62
  <div class="form-group field_with_error">
59
63
  <%= f.submit class: "btn btn-primary" %>
60
64
  </div>
65
+ <!-- For Submition Button -->
61
66
 
62
- <% end %>
67
+ <% end %>
@@ -1,37 +1,38 @@
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
- <!-- Page Header -->
7
- <div class="row">
8
- <div class="col-lg-12">
9
-
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Listing Index", phcscriptcdn.script_listings_path %></li>
13
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
- </ol>
15
- <!-- Bread Crumbs -->
16
-
17
- <!-- Page Title -->
18
- <h3 class="page-title">
19
- <%= yield(:phc_title) %> </br>
20
- <small><%= yield(:phc_title_tagline) %></small>
21
- </h3>
22
- <!-- Page Title -->
23
-
24
- </div>
25
- </div>
26
- <!-- Page Header -->
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
27
19
 
28
20
  <!-- Main Content -->
29
- <div class="row">
30
- <div class="col-lg-12">
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
31
29
 
32
- <!-- Form Requries URL to Function Properly -->
33
- <%= render 'form', script_listing: @script_listing %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_listing: @script_listing %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,56 +1,57 @@
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
- <!-- Page Header -->
7
- <div class="row">
8
- <div class="col-lg-12">
9
-
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li class="active"><%= yield(:phc_title_tagline) %></li>
13
- </ol>
14
- <!-- Bread Crumbs -->
15
-
16
- <!-- Page Title -->
17
- <h3 class="page-title">
18
- <%= yield(:phc_title) %> </br>
19
- <small><%= yield(:phc_title_tagline) %></small>
20
- </h3>
21
- <!-- Page Title -->
22
-
23
- </div>
24
- </div>
25
- <!-- Page Header -->
7
+ <!-- Page Title Bar -->
8
+ <section class="content-header">
9
+ <!-- Page Title and BreadCrumb -->
10
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
11
+ <ol class="breadcrumb">
12
+ <li><%= yield(:phc_breadcrumb_one) %></li>
13
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
14
+ </ol>
15
+ <!-- Page Title and BreadCrumb -->
16
+ </section>
17
+ <!-- Page Title Bar -->
26
18
 
27
19
  <!-- Main Content -->
28
- <div class="row">
29
- <div class="col-lg-12">
30
-
31
- <table class="table table-striped table-bordered table-advance table-hover">
32
- <thead>
33
- <tr>
34
- <th>Title</th>
35
- <th>Release Date</th>
36
- <th>Latest Release Date</th>
37
- <th>Beta Release Date</th>
38
- </tr>
39
- </thead>
40
- <tbody>
41
- <% @script_listings.each do |script_listing| %>
42
- <tr>
43
- <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td>
44
- <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td>
45
- <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td>
46
- <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td>
47
- </tr>
48
- <% end %>
49
- </tbody>
50
- </table>
51
-
52
- <%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %>
53
-
20
+ <section class="content">
21
+ <div class="row">
22
+ <div class="col-lg-12">
23
+ <div class="box">
24
+ <div class="box-header with-border">
25
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
26
+ </div>
27
+ <div class="box-body">
28
+
29
+ <table class="table table-striped table-bordered table-advance table-hover">
30
+ <thead>
31
+ <tr>
32
+ <th>Title</th>
33
+ <th>Release Date</th>
34
+ <th>Latest Release Date</th>
35
+ <th>Beta Release Date</th>
36
+ </tr>
37
+ </thead>
38
+ <tbody>
39
+ <% @script_listings.each do |script_listing| %>
40
+ <tr>
41
+ <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td>
42
+ <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td>
43
+ <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td>
44
+ <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td>
45
+ </tr>
46
+ <% end %>
47
+ </tbody>
48
+ </table>
49
+
50
+ <%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %>
51
+
52
+ </div>
53
+ </div>
54
+ </div>
54
55
  </div>
55
- </div>
56
+ </section>
56
57
  <!-- Main Content -->
@@ -1,37 +1,38 @@
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
- <!-- Page Header -->
7
- <div class="row">
8
- <div class="col-lg-12">
9
-
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Listing Index", phcscriptcdn.script_listings_path %></li>
13
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
- </ol>
15
- <!-- Bread Crumbs -->
16
-
17
- <!-- Page Title -->
18
- <h3 class="page-title">
19
- <%= yield(:phc_title) %> </br>
20
- <small><%= yield(:phc_title_tagline) %></small>
21
- </h3>
22
- <!-- Page Title -->
23
-
24
- </div>
25
- </div>
26
- <!-- Page Header -->
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
27
19
 
28
20
  <!-- Main Content -->
29
- <div class="row">
30
- <div class="col-lg-12">
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
31
29
 
32
- <!-- Form Requries URL to Function Properly -->
33
- <%= render 'form', script_listing: @script_listing %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_listing: @script_listing %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,37 +1,38 @@
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
- <!-- Page Header -->
7
- <div class="row">
8
- <div class="col-lg-12">
9
-
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Listing Index", phcscriptcdn.script_listings_path %></li>
13
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
- </ol>
15
- <!-- Bread Crumbs -->
16
-
17
- <!-- Page Title -->
18
- <h3 class="page-title">
19
- <%= yield(:phc_title) %> </br>
20
- <small><%= yield(:phc_title_tagline) %></small>
21
- </h3>
22
- <!-- Page Title -->
23
-
24
- </div>
25
- </div>
26
- <!-- Page Header -->
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
27
19
 
28
20
  <!-- Main Content -->
29
- <div class="row">
30
- <div class="col-lg-12">
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
31
29
 
32
- <%= link_to 'Edit', edit_script_listing_path(@script_listing) %> |
33
- <%= link_to 'Back', script_listings_path %>
30
+ <%= link_to 'Edit', edit_script_listing_path(@script_listing) %> |
31
+ <%= link_to 'Back', script_listings_path %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,7 +1,9 @@
1
1
  <%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
2
2
 
3
+ <!-- PHCNotifi Render Validation -->
3
4
  <%= render 'phcnotifi/validations', :object => @script_url %>
4
5
 
6
+ <!-- Form Input Fields -->
5
7
  <div class="form-group field_with_error">
6
8
  <%= f.label :scripturl, "Script URL" %>
7
9
  <%= f.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
@@ -22,9 +24,12 @@
22
24
  <label>Script Extensions</label>
23
25
  <%= collection_select(:script_url, :extension_id, Phcscriptcdnpro::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
24
26
  </div>
27
+ <!-- Form Input Fields -->
25
28
 
29
+ <!-- Form Submition Button -->
26
30
  <div class="actions">
27
31
  <%= f.submit class: "btn btn-primary" %>
28
32
  </div>
33
+ <!-- For Submition Button -->
29
34
 
30
- <% end %>
35
+ <% end %>
@@ -1,38 +1,38 @@
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
- <!-- Page Header -->
7
- <div class="row">
8
- <div class="col-lg-12">
9
-
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Script Listing Index", phcscriptcdn.script_listings_path %></li>
13
- <li><%= link_to "Script URLs", phcscriptcdn.script_listing_urls_path %></li>
14
- <li class="active"><%= yield(:phc_title_tagline) %></li>
15
- </ol>
16
- <!-- Bread Crumbs -->
17
-
18
- <!-- Page Title -->
19
- <h3 class="page-title">
20
- <%= yield(:phc_title) %> </br>
21
- <small><%= yield(:phc_title_tagline) %></small>
22
- </h3>
23
- <!-- Page Title -->
24
-
25
- </div>
26
- </div>
27
- <!-- Page Header -->
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
28
19
 
29
20
  <!-- Main Content -->
30
- <div class="row">
31
- <div class="col-lg-12">
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
32
29
 
33
- <!-- Form Requries URL to Function Properly -->
34
- <%= render 'form', { form_url: script_listing_url_path } %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', { form_url: script_listing_url_path } %>
35
32
 
33
+ </div>
34
+ </div>
35
+ </div>
36
36
  </div>
37
- </div>
37
+ </section>
38
38
  <!-- Main Content -->
@@ -1,55 +1,55 @@
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
- <!-- Page Header -->
7
- <div class="row">
8
- <div class="col-lg-12">
9
-
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Script Listing Index", phcscriptcdn.script_listings_path %></li>
13
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
- </ol>
15
- <!-- Bread Crumbs -->
16
-
17
- <!-- Page Title -->
18
- <h3 class="page-title">
19
- <%= yield(:phc_title) %> </br>
20
- <small><%= yield(:phc_title_tagline) %></small>
21
- </h3>
22
- <!-- Page Title -->
23
-
24
- </div>
25
- </div>
26
- <!-- Page Header -->
7
+ <!-- Page Title Bar -->
8
+ <section class="content-header">
9
+ <!-- Page Title and BreadCrumb -->
10
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
11
+ <ol class="breadcrumb">
12
+ <li><%= yield(:phc_breadcrumb_one) %></li>
13
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
14
+ </ol>
15
+ <!-- Page Title and BreadCrumb -->
16
+ </section>
17
+ <!-- Page Title Bar -->
27
18
 
28
19
  <!-- Main Content -->
29
- <div class="row">
30
- <div class="col-lg-12">
31
-
32
- <table class="table table-striped table-bordered table-advance table-hover">
33
- <thead>
34
- <tr>
35
- <th>Script URL</th>
36
- <th>Release Date</th>
37
- <th>CDN Update Date</th>
38
- </tr>
39
- </thead>
40
- <tbody>
41
- <% @script_urls.each do |script_url| %>
42
- <tr>
43
- <td><%= link_to script_url.scripturl, script_listing_url_path(script_url.listing, script_url) %></td>
44
- <td><%= link_to script_url.scripturlrelease, script_listing_url_path(script_url.listing, script_url) %></td>
45
- <td><%= link_to script_url.scripturlcdnupdate, script_listing_url_path(script_url.listing, script_url) %></td>
46
- </tr>
47
- <% end %>
48
- </tbody>
49
- </table>
50
-
51
- <%= link_to 'New Script Url', new_script_listing_url_path, class: "btn btn-primary" %>
52
-
20
+ <section class="content">
21
+ <div class="row">
22
+ <div class="col-lg-12">
23
+ <div class="box">
24
+ <div class="box-header with-border">
25
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
26
+ </div>
27
+ <div class="box-body">
28
+
29
+ <table class="table table-striped table-bordered table-advance table-hover">
30
+ <thead>
31
+ <tr>
32
+ <th>Script URL</th>
33
+ <th>Release Date</th>
34
+ <th>CDN Update Date</th>
35
+ </tr>
36
+ </thead>
37
+ <tbody>
38
+ <% @script_urls.each do |script_url| %>
39
+ <tr>
40
+ <td><%= link_to script_url.scripturl, script_listing_url_path(script_url.listing, script_url) %></td>
41
+ <td><%= link_to script_url.scripturlrelease, script_listing_url_path(script_url.listing, script_url) %></td>
42
+ <td><%= link_to script_url.scripturlcdnupdate, script_listing_url_path(script_url.listing, script_url) %></td>
43
+ </tr>
44
+ <% end %>
45
+ </tbody>
46
+ </table>
47
+
48
+ <%= link_to 'New Script Url', new_script_listing_url_path, class: "btn btn-primary" %>
49
+
50
+ </div>
51
+ </div>
52
+ </div>
53
53
  </div>
54
- </div>
54
+ </section>
55
55
  <!-- Main Content -->