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,37 +1,38 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Add a Script Extension" %>
4
+ <% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdnpro.script_extensions_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 Extension Index", phcscriptcdn.script_extensions_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_extension: @script_extension %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_extension: @script_extension %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,32 +1,40 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Extension Details" %>
4
+ <% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdnpro.script_extensions_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">
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 -->
9
19
 
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
13
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
- </ol>
15
- <!-- Bread Crumbs -->
20
+ <!-- Main Content -->
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">
16
29
 
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 -->
30
+ <div class="btn-group" role="group" aria-label="extension_button_group">
31
+ <%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
32
+ <%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
33
+ </div>
23
34
 
35
+ </div>
36
+ </div>
37
+ </div>
24
38
  </div>
25
- </div>
26
- <!-- Page Header -->
27
-
28
-
29
- <div class="btn-group" role="group" aria-label="extension_button_group">
30
- <%= link_to 'Edit', edit_script_extension_path(@script_extension), class: "btn btn-primary" %>
31
- <%= link_to 'Destroy', script_extension_path(@script_extension), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
32
- </div>
39
+ </section>
40
+ <!-- Main Content -->
@@ -1,7 +1,9 @@
1
1
  <%= form_for(script_licence) do |f| %>
2
2
 
3
+ <!-- PHCNotifi Render Validation -->
3
4
  <%= render 'phcnotifi/validations', :object => @script_licence %>
4
5
 
6
+ <!-- Form Input Fields -->
5
7
  <div class="form-group field_with_error">
6
8
  <%= f.label :lcncname, "Licence Name" %>
7
9
  <%= f.text_field :lcncname, placeholder: "Licence Name", class: "form-control" %>
@@ -34,8 +36,12 @@
34
36
  <%= f.label :lcncarvlfedora, "Fedora Approval" %>
35
37
  <%= f.select( :lcncarvlfedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
36
38
  </div>
39
+ <!-- Form Input Fields -->
40
+
41
+ <!-- Form Submition Button -->
37
42
  <div class="actions">
38
43
  <%= f.submit class: "btn btn-primary" %>
39
44
  </div>
45
+ <!-- For Submition Button -->
40
46
 
41
- <% end %>
47
+ <% end %>
@@ -1,37 +1,38 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Update Author Data" %>
3
+ <% phc_title_tagline "Update Script Licence Information" %>
4
+ <% phc_breadcrumb_one link_to "Script Licence Index", phcscriptcdnpro.script_licences_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 Licence Index", phcscriptcdn.script_licences_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_licence: @script_licence %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_licence: @script_licence %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,62 +1,63 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Licence 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>Licence Name</th>
35
- <th>GPLv3 Compatible</th>
36
- <th>FSF Approval</th>
37
- <th>OSI Approval</th>
38
- <th>CopyFree Approval</th>
39
- <th>Debian Approval</th>
40
- <th>Fedora Approval</th>
41
- </tr>
42
- </thead>
43
- <tbody>
44
- <% @script_licences.each do |script_licence| %>
45
- <tr>
46
- <td><%= link_to script_licence.lcncname, script_licence %></td>
47
- <td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
48
- <td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
49
- <td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
50
- <td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
51
- <td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
52
- <td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
53
- </tr>
54
- <% end %>
55
- </tbody>
56
- </table>
57
-
58
- <%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %>
59
-
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>Licence Name</th>
33
+ <th>GPLv3 Compatible</th>
34
+ <th>FSF Approval</th>
35
+ <th>OSI Approval</th>
36
+ <th>CopyFree Approval</th>
37
+ <th>Debian Approval</th>
38
+ <th>Fedora Approval</th>
39
+ </tr>
40
+ </thead>
41
+ <tbody>
42
+ <% @script_licences.each do |script_licence| %>
43
+ <tr>
44
+ <td><%= link_to script_licence.lcncname, script_licence %></td>
45
+ <td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
46
+ <td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
47
+ <td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
48
+ <td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
49
+ <td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
50
+ <td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
51
+ </tr>
52
+ <% end %>
53
+ </tbody>
54
+ </table>
55
+
56
+ <%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %>
57
+
58
+ </div>
59
+ </div>
60
+ </div>
60
61
  </div>
61
- </div>
62
+ </section>
62
63
  <!-- Main Content -->
@@ -1,37 +1,38 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Add a New Author" %>
3
+ <% phc_title_tagline "Create a New Script Licence" %>
4
+ <% phc_breadcrumb_one link_to "Script Licence Index", phcscriptcdnpro.script_licences_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 Licence Index", phcscriptcdn.script_licences_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_licence: @script_licence %>
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_licence: @script_licence %>
34
32
 
33
+ </div>
34
+ </div>
35
+ </div>
35
36
  </div>
36
- </div>
37
- <!-- Main Content -->
37
+ </section>
38
+ <!-- Main Content -->
@@ -1,31 +1,40 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Script Listings Manager" %>
3
3
  <% phc_title_tagline "Script Licence Details" %>
4
+ <% phc_breadcrumb_one link_to "Script Licence Index", phcscriptcdnpro.script_licences_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">
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 -->
9
19
 
10
- <!-- Bread Crumbs -->
11
- <ol class="breadcrumb">
12
- <li><%= link_to "Script Licence Index", phcscriptcdn.script_licences_path %></li>
13
- <li class="active"><%= yield(:phc_title_tagline) %></li>
14
- </ol>
15
- <!-- Bread Crumbs -->
20
+ <!-- Main Content -->
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">
16
29
 
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 -->
30
+ <div class="btn-group" role="group" aria-label="licence_button_group">
31
+ <%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
32
+ <%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
33
+ </div>
23
34
 
35
+ </div>
36
+ </div>
37
+ </div>
24
38
  </div>
25
- </div>
26
- <!-- Page Header -->
27
-
28
- <div class="btn-group" role="group" aria-label="licence_button_group">
29
- <%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
30
- <%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
31
- </div>
39
+ </section>
40
+ <!-- Main Content -->