phcscriptcdnpro 4.5.9 → 4.5.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acdde0619bcb94bcd4eef673eae7ead40d616404
4
- data.tar.gz: 8a66795ec86a7779e24204e641602ba35d7930f9
3
+ metadata.gz: bb62d41b1bf3261b9e1a2fb06a7a20246a79f15a
4
+ data.tar.gz: c593d703d23f5cf1611d62e48f47c73fcfe3b471
5
5
  SHA512:
6
- metadata.gz: 011a390b06d93aae6b0acb3646cedbdfba1472711eba41538f89bbd67170b402e5876d63066edc23e15dbd0f2d9458a2d71f3adc74b89642fd10c8c2b1b76f1b
7
- data.tar.gz: 672d022a418b8119609e09ef8141df62f824bdc902cf8253f2e28f75fb01d13ac391419287ff4927a003f9c53ae48eda4f0d7cf1b21ebf8c659f60a1b312657c
6
+ metadata.gz: 34fc07ff05563a9ff3a66afadfd538eecd7698eec487ae6e613ee68d806bf2a33da1bdcfb6fbcc1e9df055389128e830d17189edbff85e44ee94cacef9404508
7
+ data.tar.gz: a35350fbfb26d40bf862106621f258d53f555a9d85e2b12a4467dcfd20e40aea9825e89ce24db225000b94eabb3fa3b1e821e7455331a3466d93f2d1943da4dc
@@ -1,48 +1,59 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Author" %>
2
+ <% phc_title "Script Listing Manager" %>
3
3
  <% phc_title_tagline "Update Script Author" %>
4
+ <!-- Title System -->
4
5
 
5
- <!-- Bread Crumb -->
6
- <div class="page-bar">
7
-
8
- <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Listings Index", script_listings_path %> <i class="fa fa-circle"></li>
10
- <li><%= link_to "Author Index", script_listing_authors_path %> <i class="fa fa-circle"></li>
11
- <li class="active"><%= yield(:phc_title_tagline) %></li>
12
- </ul>
13
-
6
+ <!-- Page Header -->
7
+ <div class="row wrapper border-bottom white-bg page-heading">
8
+ <div class="col-sm-4">
9
+ <h2><%= yield(:phc_title) %></h2>
10
+ <!-- Bread Crumb -->
11
+ <ol class="breadcrumb">
12
+ <li><%= link_to "Script Versions", phcscriptcdnpro.script_authors_path %></li>
13
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ </ol>
15
+ </div>
16
+ <div class="col-sm-8">
17
+ <div class="title-action">
18
+ <%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
19
+ <i class="fa fa-plus"></i> Back to Script Version Index
20
+ <% end %>
21
+ </div>
22
+ </div>
14
23
  </div>
15
-
16
- <!-- Page Title -->
17
- <h3 class="page-title">
18
- <%= yield(:phc_title) %> </br>
19
- <small><%= yield(:phc_title_tagline) %></small>
20
- </h3>
21
-
22
- <!-- Main Content -->
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">
24
+ <!-- Page Header -->
25
+
26
+ <!-- Page Content -->
27
+ <div class="wrapper wrapper-content animated fadeInRight">
28
+
29
+ <div class="row">
30
+ <div class="col-lg-12">
31
+
32
+ <div class="ibox float-e-margins">
33
+
34
+ <div class="ibox-title">
35
+ <h5><%= yield(:phc_title_tagline) %></h5>
36
+ <div class="ibox-tools">
37
+ <a class="collapse-link">
38
+ <i class="fa fa-chevron-up"></i>
39
+ </a>
40
+ <a class="close-link">
41
+ <i class="fa fa-times"></i>
42
+ </a>
43
+ </div>
34
44
  </div>
35
45
 
36
- </div>
46
+ <div class="ibox-content">
37
47
 
38
- <div class="portlet-body">
48
+ <!-- Form Requries URL to Function Properly -->
49
+ <%= render 'form', { form_url: script_listing_author_path } %>
39
50
 
40
- <!-- Form Requries URL to Function Properly -->
41
- <%= render 'form', { form_url: script_listing_author_path } %>
51
+ </div>
42
52
 
43
53
  </div>
44
54
 
45
55
  </div>
46
-
47
56
  </div>
57
+
48
58
  </div>
59
+ <!-- Page Content -->
@@ -1,73 +1,80 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Authors" %>
2
+ <% phc_title "Script Listing Manager" %>
3
3
  <% phc_title_tagline "Script Author Index" %>
4
+ <!-- Title System -->
4
5
 
5
- <!-- Bread Crumb -->
6
- <div class="page-bar">
7
-
8
- <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Listings Index", script_listings_path %> <i class="fa fa-circle"></li>
10
- <li class="active"><%= yield(:phc_title_tagline) %></li>
11
- </ul>
12
-
6
+ <!-- Page Header -->
7
+ <div class="row wrapper border-bottom white-bg page-heading">
8
+ <div class="col-sm-4">
9
+ <h2><%= yield(:phc_title) %></h2>
10
+ <!-- Bread Crumb -->
11
+ <ol class="breadcrumb">
12
+ <li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
13
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ </ol>
15
+ </div>
16
+ <div class="col-sm-8">
17
+ <div class="title-action">
18
+ <%= link_to phcscriptcdnpro.new_script_version_path, class: "btn btn-primary" do %>
19
+ <i class="fa fa-plus"></i> Create a New Script Version
20
+ <% end %>
21
+ </div>
22
+ </div>
13
23
  </div>
24
+ <!-- Page Header -->
14
25
 
15
- <!-- Page Title -->
16
- <h3 class="page-title">
17
- <%= yield(:phc_title) %> </br>
18
- <small><%= yield(:phc_title_tagline) %></small>
19
- </h3>
20
-
21
- <!-- Main Content -->
22
- <div class="row">
23
- <div class="col-lg-12">
26
+ <!-- Page Content -->
27
+ <div class="wrapper wrapper-content animated fadeInRight">
24
28
 
25
- <div class="portlet light">
29
+ <div class="row">
30
+ <div class="col-lg-12">
26
31
 
27
- <div class="portlet-title">
32
+ <div class="ibox float-e-margins">
28
33
 
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 %>
34
+ <div class="ibox-title">
35
+ <h5><%= yield(:phc_title_tagline) %></h5>
36
+ <div class="ibox-tools">
37
+ <a class="collapse-link">
38
+ <i class="fa fa-chevron-up"></i>
39
+ </a>
40
+ <a class="close-link">
41
+ <i class="fa fa-times"></i>
42
+ </a>
43
+ </div>
36
44
  </div>
37
45
 
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| %>
46
+ <div class="ibox-content">
47
+ <div class="table-responsive">
48
+ <table class="table table-striped table-bordered table-hover dataTables-example">
49
+ <thead>
56
50
  <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>
51
+ <th>Author Firstname</th>
52
+ <th>Author Lastname</th>
53
+ <th>Author Website</th>
54
+ <th>Author Github</th>
55
+ <th>Author Twitter</th>
62
56
  </tr>
63
- <% end %>
64
- </tbody>
65
- </table>
66
-
57
+ </thead>
58
+
59
+ <tbody>
60
+ <% @script_authors.each do |script_author| %>
61
+ <tr>
62
+ <td><%= link_to script_author.authorfirstname, script_author %></td>
63
+ <td><%= link_to script_author.authorlastname, script_author %></td>
64
+ <td><%= link_to script_author.authorwebsite, script_author %></td>
65
+ <td><%= link_to script_author.authorgithub, script_author %></td>
66
+ <td><%= link_to script_author.authortwitter, script_author %></td>
67
+ </tr>
68
+ <% end %>
69
+ </tbody>
70
+ </table>
71
+ </div>
67
72
  </div>
73
+
68
74
  </div>
69
75
 
70
76
  </div>
71
-
72
77
  </div>
78
+
73
79
  </div>
80
+ <!-- Page Content -->
@@ -1,48 +1,59 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Author" %>
3
- <% phc_title_tagline "Create a New Script Author" %>
4
-
5
- <!-- Bread Crumb -->
6
- <div class="page-bar">
7
-
8
- <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Listings Index", script_listings_path %> <i class="fa fa-circle"></li>
10
- <li><%= link_to "Author Index", script_listing_authors_path %> <i class="fa fa-circle"></li>
11
- <li class="active"><%= yield(:phc_title_tagline) %></li>
12
- </ul>
2
+ <% phc_title "Script Listing Manager" %>
3
+ <% phc_title_tagline "Create a New Version for Script Listings" %>
4
+ <!-- Title System -->
13
5
 
6
+ <!-- Page Header -->
7
+ <div class="row wrapper border-bottom white-bg page-heading">
8
+ <div class="col-sm-4">
9
+ <h2><%= yield(:phc_title) %></h2>
10
+ <!-- Bread Crumb -->
11
+ <ol class="breadcrumb">
12
+ <li><%= link_to "Script Authors", phcscriptcdnpro.script_authors_path %></li>
13
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ </ol>
15
+ </div>
16
+ <div class="col-sm-8">
17
+ <div class="title-action">
18
+ <%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
19
+ <i class="fa fa-plus"></i> Back to Script Author Index
20
+ <% end %>
21
+ </div>
22
+ </div>
14
23
  </div>
15
-
16
- <!-- Page Title -->
17
- <h3 class="page-title">
18
- <%= yield(:phc_title) %> </br>
19
- <small><%= yield(:phc_title_tagline) %></small>
20
- </h3>
21
-
22
- <!-- Main Content -->
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">
24
+ <!-- Page Header -->
25
+
26
+ <!-- Page Content -->
27
+ <div class="wrapper wrapper-content animated fadeInRight">
28
+
29
+ <div class="row">
30
+ <div class="col-lg-12">
31
+
32
+ <div class="ibox float-e-margins">
33
+
34
+ <div class="ibox-title">
35
+ <h5><%= yield(:phc_title_tagline) %></h5>
36
+ <div class="ibox-tools">
37
+ <a class="collapse-link">
38
+ <i class="fa fa-chevron-up"></i>
39
+ </a>
40
+ <a class="close-link">
41
+ <i class="fa fa-times"></i>
42
+ </a>
43
+ </div>
34
44
  </div>
35
45
 
36
- </div>
37
-
38
- <div class="portlet-body">
46
+ <div class="ibox-content">
39
47
 
40
48
  <!-- Form Requries URL to Function Properly -->
41
- <%= render 'form', { form_url: script_listing_authors_path } %>
49
+ <%= render 'form', { form_url: script_listing_author_path } %>
50
+
51
+ </div>
42
52
 
43
53
  </div>
44
54
 
45
55
  </div>
46
-
47
56
  </div>
57
+
48
58
  </div>
59
+ <!-- Page Content -->
@@ -1,50 +1,59 @@
1
1
  <!-- Title System -->
2
- <% phc_title "Script Author" %>
2
+ <% phc_title "Script Listing Manager" %>
3
3
  <% phc_title_tagline "Script Author Profile" %>
4
+ <!-- Title System -->
4
5
 
5
- <!-- Bread Crumb -->
6
- <div class="page-bar">
7
-
8
- <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Listings Index", script_listings_path %> <i class="fa fa-circle"></i></li>
10
- <li><%= link_to "Author Index", script_listing_authors_path %> <i class="fa fa-circle"></li>
11
- <li class="active"><%= yield(:phc_title_tagline) %></li>
12
- </ul>
13
-
6
+ <!-- Page Header -->
7
+ <div class="row wrapper border-bottom white-bg page-heading">
8
+ <div class="col-sm-4">
9
+ <h2><%= yield(:phc_title) %></h2>
10
+ <!-- Bread Crumb -->
11
+ <ol class="breadcrumb">
12
+ <li><%= link_to "Script Authors", phcscriptcdnpro.script_authors_path %></li>
13
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
14
+ </ol>
15
+ </div>
16
+ <div class="col-sm-8">
17
+ <div class="title-action">
18
+ <%= link_to phcscriptcdnpro.script_authors_path, class: "btn btn-primary" do %>
19
+ <i class="fa fa-plus"></i> Back to Script Author Index
20
+ <% end %>
21
+ </div>
22
+ </div>
14
23
  </div>
15
-
16
- <!-- Page Title -->
17
- <h3 class="page-title">
18
- <%= yield(:phc_title) %> </br>
19
- <small><%= yield(:phc_title_tagline) %></small>
20
- </h3>
21
-
22
- <!-- Main Content -->
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>
24
+ <!-- Page Header -->
25
+
26
+ <!-- Page Content -->
27
+ <div class="wrapper wrapper-content animated fadeInRight">
28
+
29
+ <div class="row">
30
+ <div class="col-lg-12">
31
+
32
+ <div class="ibox float-e-margins">
33
+
34
+ <div class="ibox-title">
35
+ <h5><%= yield(:phc_title_tagline) %></h5>
36
+ <div class="ibox-tools">
37
+ <a class="collapse-link">
38
+ <i class="fa fa-chevron-up"></i>
39
+ </a>
40
+ <a class="close-link">
41
+ <i class="fa fa-times"></i>
42
+ </a>
43
+ </div>
32
44
  </div>
33
- <div class="actions">
34
- </div>
35
-
36
- </div>
37
-
38
- <div class="portlet-body">
39
45
 
40
- <div class="btn-group" role="group" aria-label="author_button_group">
41
- <%= link_to 'Edit', edit_script_listing_author_path, class: "btn btn-primary" %>
42
- <%= link_to 'Destroy', script_listing_author_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
46
+ <div class="ibox-content">
47
+ <div class="btn-group" role="group" aria-label="author_button_group">
48
+ <%= link_to 'Edit', edit_script_listing_author_path, class: "btn btn-primary" %>
49
+ <%= link_to 'Destroy', script_listing_author_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
50
+ </div>
43
51
  </div>
44
52
 
45
53
  </div>
46
54
 
47
55
  </div>
48
-
49
56
  </div>
57
+
50
58
  </div>
59
+ <!-- Page Content -->
@@ -9,7 +9,7 @@
9
9
  <h2><%= yield(:phc_title) %></h2>
10
10
  <!-- Bread Crumb -->
11
11
  <ol class="breadcrumb">
12
- <li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
12
+ <li><%= link_to "Script Extension Index", phcscriptcdnpro.script_extensions_path %></li>
13
13
  <li class="active"><%= yield(:phc_title_tagline) %></li>
14
14
  </ol>
15
15
  </div>
data/config/routes.rb CHANGED
@@ -13,8 +13,8 @@ Phcscriptcdnpro::Engine.routes.draw do
13
13
  # Main Script Module
14
14
  resources :listings, class_name: 'Phcscriptcdnpro::Script::Listing' do
15
15
  resources :urls, class_name: 'Phcscriptcdnpro::Script::Url'
16
- resources :authors, class_name: 'Phcscriptcdnpro::Script::Author'
17
16
  end
17
+ resources :authors, class_name: 'Phcscriptcdnpro::Script::Author'
18
18
  resources :extensions, class_name: 'Phcscriptcdnpro::Script::Extension'
19
19
  resources :versions, class_name: 'Phcscriptcdnpro::Script::Version'
20
20
  resources :licences, class_name: 'Phcscriptcdnpro::Script::Licence'
@@ -10,8 +10,6 @@ class CreatePhcscriptcdnproScriptAuthors < ActiveRecord::Migration[5.0]
10
10
  t.string :authorgithub
11
11
  t.string :authortwitter
12
12
 
13
- t.references :listing
14
-
15
13
  t.string :user_id
16
14
  t.string :membership_id
17
15
  t.string :oganization_id
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "4.5.9"
2
+ VERSION = "4.5.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.9
4
+ version: 4.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts