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,38 +1,38 @@
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
- <!-- 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>
38
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,40 +1,40 @@
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
- <!-- 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", phcscriptcdnpro.script_listings_path %></li>
13
- <li><%= link_to "Script URLs", phcscriptcdnpro.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
- <div class="btn-group" role="group" aria-label="url_button_group">
34
- <%= link_to 'Edit', edit_script_listing_url_path, class: "btn btn-primary" %>
35
- <%= link_to 'Destroy', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
36
- </div>
30
+ <div class="btn-group" role="group" aria-label="url_button_group">
31
+ <%= link_to 'Edit', edit_script_listing_url_path, class: "btn btn-primary" %>
32
+ <%= link_to 'Destroy', script_listing_url_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
33
+ </div>
37
34
 
35
+ </div>
36
+ </div>
37
+ </div>
38
38
  </div>
39
- </div>
40
- <!-- Main Content -->
39
+ </section>
40
+ <!-- Main Content -->
@@ -1,14 +1,19 @@
1
1
  <%= form_for(script_version) do |f| %>
2
2
 
3
+ <!-- PHCNotifi Render Validation -->
3
4
  <%= render 'phcnotifi/validations', :object => @script_version %>
4
5
 
6
+ <!-- Form Input Fields -->
5
7
  <div class="form-group field_with_error">
6
8
  <%= f.label :scriptversion, "Version Number" %>
7
9
  <%= f.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %>
8
10
  </div>
11
+ <!-- Form Input Fields -->
9
12
 
13
+ <!-- Form Submition Button -->
10
14
  <div class="actions">
11
15
  <%= f.submit class: "btn btn-primary" %>
12
16
  </div>
17
+ <!-- For Submition Button -->
13
18
 
14
- <% end %>
19
+ <% end %>
@@ -1,37 +1,38 @@
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
- <!-- 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 Version Index", phcscriptcdn.script_versions_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_version: @script_version %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_version: @script_version %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,51 +1,51 @@
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
- <!-- 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 Version Index", phcscriptcdn.script_versions_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 Version</th>
36
- </tr>
37
- </thead>
38
- <tbody>
39
- <% @script_versions.each do |script_version| %>
40
- <tr>
41
- <td><%= link_to script_version.scriptversion, script_version %></td>
42
- </tr>
43
- <% end %>
44
- </tbody>
45
- </table>
46
-
47
- <%= link_to 'New Script Version', new_script_version_path, class: "btn btn-primary" %>
48
-
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 Version</th>
33
+ </tr>
34
+ </thead>
35
+ <tbody>
36
+ <% @script_versions.each do |script_version| %>
37
+ <tr>
38
+ <td><%= link_to script_version.scriptversion, script_version %></td>
39
+ </tr>
40
+ <% end %>
41
+ </tbody>
42
+ </table>
43
+
44
+ <%= link_to 'New Script Version', new_script_version_path, class: "btn btn-primary" %>
45
+
46
+ </div>
47
+ </div>
48
+ </div>
49
49
  </div>
50
- </div>
51
- <!-- Main Content -->
50
+ </section>
51
+ <!-- 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 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
- <!-- 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 Version Index", phcscriptcdn.script_versions_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_version: @script_version %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_version: @script_version %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,39 +1,40 @@
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
- <!-- 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 Version Index", phcscriptcdn.script_versions_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
- <div class="btn-group" role="group" aria-label="version_button_group">
33
- <%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
34
- <%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
35
- </div>
30
+ <div class="btn-group" role="group" aria-label="version_button_group">
31
+ <%= link_to 'Edit', edit_script_version_path(@script_version), class: "btn btn-primary" %>
32
+ <%= link_to 'Destroy', script_version_path(@script_version), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
33
+ </div>
36
34
 
35
+ </div>
36
+ </div>
37
+ </div>
37
38
  </div>
38
- </div>
39
- <!-- Main Content -->
39
+ </section>
40
+ <!-- Main Content -->