phcscriptcdn 7.0.1 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +43 -43
  4. data/Rakefile +33 -33
  5. data/app/assets/config/phcscriptcdn_manifest.js +2 -2
  6. data/app/assets/javascripts/phcscriptcdn/application.js +2 -2
  7. data/app/assets/stylesheets/phcscriptcdn/application.scss +2 -2
  8. data/app/controllers/phcscriptcdn/application_controller.rb +12 -12
  9. data/app/controllers/phcscriptcdn/script/authors_controller.rb +65 -65
  10. data/app/controllers/phcscriptcdn/script/extensions_controller.rb +65 -65
  11. data/app/controllers/phcscriptcdn/script/licences_controller.rb +65 -65
  12. data/app/controllers/phcscriptcdn/script/listings_controller.rb +65 -65
  13. data/app/controllers/phcscriptcdn/script/urls_controller.rb +74 -74
  14. data/app/controllers/phcscriptcdn/script/versions_controller.rb +65 -65
  15. data/app/helpers/phcscriptcdn/application_helper.rb +14 -14
  16. data/app/jobs/phcscriptcdn/application_job.rb +4 -4
  17. data/app/models/phcscriptcdn/application_record.rb +4 -4
  18. data/app/models/phcscriptcdn/script.rb +6 -6
  19. data/app/models/phcscriptcdn/script/author.rb +20 -20
  20. data/app/models/phcscriptcdn/script/extension.rb +24 -24
  21. data/app/models/phcscriptcdn/script/licence.rb +23 -23
  22. data/app/models/phcscriptcdn/script/listing.rb +32 -32
  23. data/app/models/phcscriptcdn/script/url.rb +26 -26
  24. data/app/models/phcscriptcdn/script/version.rb +20 -20
  25. data/app/views/layouts/phcscriptcdn/application.html.erb +56 -56
  26. data/app/views/layouts/phcscriptcdn/components/backend/footer/_footer.html.erb +4 -4
  27. data/app/views/layouts/phcscriptcdn/components/backend/navigation/_navigation.html.erb +56 -56
  28. data/app/views/layouts/phcscriptcdn/components/backend/topbar/_topbar.html.erb +5 -5
  29. data/app/views/layouts/phcscriptcdn/frontend.html.erb +22 -22
  30. data/app/views/phcscriptcdn/script/authors/_form.html.erb +36 -36
  31. data/app/views/phcscriptcdn/script/authors/edit.html.erb +39 -39
  32. data/app/views/phcscriptcdn/script/authors/index.html.erb +67 -67
  33. data/app/views/phcscriptcdn/script/authors/new.html.erb +39 -39
  34. data/app/views/phcscriptcdn/script/authors/show.html.erb +42 -42
  35. data/app/views/phcscriptcdn/script/extensions/_form.html.erb +28 -28
  36. data/app/views/phcscriptcdn/script/extensions/edit.html.erb +39 -39
  37. data/app/views/phcscriptcdn/script/extensions/index.html.erb +61 -61
  38. data/app/views/phcscriptcdn/script/extensions/new.html.erb +38 -38
  39. data/app/views/phcscriptcdn/script/extensions/show.html.erb +42 -42
  40. data/app/views/phcscriptcdn/script/licences/_form.html.erb +47 -47
  41. data/app/views/phcscriptcdn/script/licences/edit.html.erb +39 -39
  42. data/app/views/phcscriptcdn/script/licences/index.html.erb +71 -71
  43. data/app/views/phcscriptcdn/script/licences/new.html.erb +39 -39
  44. data/app/views/phcscriptcdn/script/licences/show.html.erb +42 -42
  45. data/app/views/phcscriptcdn/script/listings/_form.html.erb +68 -68
  46. data/app/views/phcscriptcdn/script/listings/edit.html.erb +39 -39
  47. data/app/views/phcscriptcdn/script/listings/index.html.erb +65 -65
  48. data/app/views/phcscriptcdn/script/listings/new.html.erb +39 -39
  49. data/app/views/phcscriptcdn/script/listings/show.html.erb +40 -40
  50. data/app/views/phcscriptcdn/script/urls/_form.html.erb +36 -36
  51. data/app/views/phcscriptcdn/script/urls/edit.html.erb +39 -39
  52. data/app/views/phcscriptcdn/script/urls/index.html.erb +63 -63
  53. data/app/views/phcscriptcdn/script/urls/new.html.erb +39 -39
  54. data/app/views/phcscriptcdn/script/urls/show.html.erb +41 -41
  55. data/app/views/phcscriptcdn/script/versions/_form.html.erb +20 -20
  56. data/app/views/phcscriptcdn/script/versions/edit.html.erb +39 -39
  57. data/app/views/phcscriptcdn/script/versions/index.html.erb +59 -59
  58. data/app/views/phcscriptcdn/script/versions/new.html.erb +39 -39
  59. data/app/views/phcscriptcdn/script/versions/show.html.erb +42 -42
  60. data/config/initializers/friendly_id.rb +92 -92
  61. data/config/routes.rb +30 -30
  62. data/db/migrate/20160731205205_create_phcscriptcdn_script_extensions.rb +20 -20
  63. data/db/migrate/20160731205917_create_phcscriptcdn_script_listings.rb +35 -35
  64. data/db/migrate/20160731205954_create_phcscriptcdn_script_versions.rb +18 -18
  65. data/db/migrate/20160731210626_create_phcscriptcdn_script_urls.rb +24 -24
  66. data/db/migrate/20160731210723_create_phcscriptcdn_script_authors.rb +23 -23
  67. data/db/migrate/20160801032225_create_phcscriptcdn_script_licences.rb +27 -27
  68. data/db/migrate/20170423022446_create_friendly_id_slugs.rb +15 -15
  69. data/lib/phcscriptcdn.rb +4 -4
  70. data/lib/phcscriptcdn/engine.rb +68 -68
  71. data/lib/phcscriptcdn/version.rb +3 -3
  72. data/lib/tasks/phcscriptcdn_tasks.rake +4 -4
  73. metadata +19 -49
@@ -1,4 +1,4 @@
1
- <div class="pull-right hidden-xs">
2
- <b>Version</b> 6.0.0 - 05-15-<%= Date.today.year %>
3
- </div>
4
- <strong>&copy; 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
1
+ <div class="pull-right hidden-xs">
2
+ <b>Version</b> 6.0.0 - 05-15-<%= Date.today.year %>
3
+ </div>
4
+ <strong>&copy; 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
@@ -1,56 +1,56 @@
1
- <section class="sidebar">
2
- <ul class="sidebar-menu">
3
- <li class="<%= is_active_controller('phcscriptcdn/script/listings') %> treeview">
4
- <%= link_to "#" do %>
5
- <i class="fa fa-code"></i> <span>Script Listings</span>
6
- <span class="fa arrow"></span>
7
- <% end %>
8
- <ul class="treeview-menu">
9
- <li class="<%= is_active_controller('phcscriptcdn/script/listings') %>">
10
- <%= link_to script_listings_path do %>
11
- <i class="fa fa-circle-o"></i>
12
- All Script Listings
13
- <% end %>
14
- </li>
15
- <li class="<%= is_active_controller('phcscriptcdn/script/listings#new') %>">
16
- <%= link_to new_script_listing_path do %>
17
- <i class="fa fa-circle-o"></i>
18
- Add a New Listing
19
- <% end %>
20
- </li>
21
- </ul>
22
- </li>
23
- <li class="phcscriptcdn/script/authors') %> <%= is_active_controller('phcscriptcdn/script/licences') %> <%= is_active_controller('phcscriptcdn/script/extensions') %> <%= is_active_controller('phcscriptcdn/script/versions') %> treeview">
24
- <%= link_to "#" do %>
25
- <i class="fa fa-code"></i> <span>Script CDN Modules</span>
26
- <span class="fa arrow"></span>
27
- <% end %>
28
- <ul class="treeview-menu">
29
- <li class="<%= is_active_controller('phcscriptcdn/script/authors') %>">
30
- <%= link_to script_authors_path do %>
31
- <i class="fa fa-circle-o"></i>
32
- Script Authors
33
- <% end %>
34
- </li>
35
- <li class="<%= is_active_controller('phcscriptcdn/script/licences') %>">
36
- <%= link_to script_licences_path do %>
37
- <i class="fa fa-circle-o"></i>
38
- Script Licences
39
- <% end %>
40
- </li>
41
- <li class="<%= is_active_controller('phcscriptcdn/script/extensions') %>">
42
- <%= link_to script_extensions_path do %>
43
- <i class="fa fa-circle-o"></i>
44
- Script Extensions
45
- <% end %>
46
- </li>
47
- <li class="<%= is_active_controller('phcscriptcdn/script/versions') %>">
48
- <%= link_to script_versions_path do %>
49
- <i class="fa fa-circle-o"></i>
50
- Script Versions
51
- <% end %>
52
- </li>
53
- </ul>
54
- </li>
55
- </ul>
56
- </section>
1
+ <section class="sidebar">
2
+ <ul class="sidebar-menu">
3
+ <li class="<%= is_active_controller('phcscriptcdn/script/listings') %> treeview">
4
+ <%= link_to "#" do %>
5
+ <i class="fa fa-code"></i> <span>Script Listings</span>
6
+ <span class="fa arrow"></span>
7
+ <% end %>
8
+ <ul class="treeview-menu">
9
+ <li class="<%= is_active_controller('phcscriptcdn/script/listings') %>">
10
+ <%= link_to script_listings_path do %>
11
+ <i class="fa fa-circle-o"></i>
12
+ All Script Listings
13
+ <% end %>
14
+ </li>
15
+ <li class="<%= is_active_controller('phcscriptcdn/script/listings#new') %>">
16
+ <%= link_to new_script_listing_path do %>
17
+ <i class="fa fa-circle-o"></i>
18
+ Add a New Listing
19
+ <% end %>
20
+ </li>
21
+ </ul>
22
+ </li>
23
+ <li class="phcscriptcdn/script/authors') %> <%= is_active_controller('phcscriptcdn/script/licences') %> <%= is_active_controller('phcscriptcdn/script/extensions') %> <%= is_active_controller('phcscriptcdn/script/versions') %> treeview">
24
+ <%= link_to "#" do %>
25
+ <i class="fa fa-code"></i> <span>Script CDN Modules</span>
26
+ <span class="fa arrow"></span>
27
+ <% end %>
28
+ <ul class="treeview-menu">
29
+ <li class="<%= is_active_controller('phcscriptcdn/script/authors') %>">
30
+ <%= link_to script_authors_path do %>
31
+ <i class="fa fa-circle-o"></i>
32
+ Script Authors
33
+ <% end %>
34
+ </li>
35
+ <li class="<%= is_active_controller('phcscriptcdn/script/licences') %>">
36
+ <%= link_to script_licences_path do %>
37
+ <i class="fa fa-circle-o"></i>
38
+ Script Licences
39
+ <% end %>
40
+ </li>
41
+ <li class="<%= is_active_controller('phcscriptcdn/script/extensions') %>">
42
+ <%= link_to script_extensions_path do %>
43
+ <i class="fa fa-circle-o"></i>
44
+ Script Extensions
45
+ <% end %>
46
+ </li>
47
+ <li class="<%= is_active_controller('phcscriptcdn/script/versions') %>">
48
+ <%= link_to script_versions_path do %>
49
+ <i class="fa fa-circle-o"></i>
50
+ Script Versions
51
+ <% end %>
52
+ </li>
53
+ </ul>
54
+ </li>
55
+ </ul>
56
+ </section>
@@ -1,5 +1,5 @@
1
- <!-- Mobile Toggle -->
2
- <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
3
- <span class="sr-only">Toggle navigation</span>
4
- </a>
5
- <!-- Mobile Toggle -->
1
+ <!-- Mobile Toggle -->
2
+ <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
3
+ <span class="sr-only">Toggle navigation</span>
4
+ </a>
5
+ <!-- Mobile Toggle -->
@@ -1,22 +1,22 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
-
6
- <title>PHCScriptCDN - Script Listing Manager</title>
7
-
8
- <%= stylesheet_link_tag "phcscriptcdn/application", media: "all" %>
9
- <%= javascript_include_tag "phcscriptcdn/application" %>
10
- <%= csrf_meta_tags %>
11
-
12
- </head>
13
-
14
- <body>
15
- <div class="container">
16
- <div class="row">
17
- <%= yield %>
18
- </div>
19
- </div>
20
- </body>
21
-
22
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+
6
+ <title>PHCScriptCDN - Script Listing Manager</title>
7
+
8
+ <%= stylesheet_link_tag "phcscriptcdn/application", media: "all" %>
9
+ <%= javascript_include_tag "phcscriptcdn/application" %>
10
+ <%= csrf_meta_tags %>
11
+
12
+ </head>
13
+
14
+ <body>
15
+ <div class="container">
16
+ <div class="row">
17
+ <%= yield %>
18
+ </div>
19
+ </div>
20
+ </body>
21
+
22
+ </html>
@@ -1,36 +1,36 @@
1
- <%= form_for(script_author) do |f| %>
2
-
3
- <!-- PHC-Notifi Render Validation -->
4
- <%= render 'phcnotifi/validations', :object => @script_author %>
5
- <!-- PHC-Notifi Render Validation -->
6
-
7
- <!-- Form Fields -->
8
- <div class="form-group field_with_error">
9
- <%= f.label :authorfirstname, "Author First Name" %>
10
- <%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
11
- </div>
12
- <div class="form-group field_with_error">
13
- <%= f.label :authorlastname, "Author Last Name" %>
14
- <%= f.text_field :authorlastname, placeholder: "Author Last Name", class: "form-control" %>
15
- </div>
16
- <div class="form-group field_with_error">
17
- <%= f.label :authorwebsite, "Author Website" %>
18
- <%= f.text_field :authorwebsite, placeholder: "Author Website", class: "form-control" %>
19
- </div>
20
- <div class="form-group field_with_error">
21
- <%= f.label :authorgithub, "Author Github Address" %>
22
- <%= f.text_field :authorgithub, placeholder: "Author Github Address", class: "form-control" %>
23
- </div>
24
- <div class="form-group field_with_error">
25
- <%= f.label :authortwitter, "Author Twitter Addresss" %>
26
- <%= f.text_field :authortwitter, placeholder: "Author Twitter Addresss", class: "form-control" %>
27
- </div>
28
- <!-- Form Fields -->
29
-
30
- <!-- Form Button -->
31
- <div class="actions">
32
- <%= f.submit class: "btn btn-primary" %>
33
- </div>
34
- <!-- Form Button -->
35
-
36
- <% end %>
1
+ <%= form_for(script_author) do |f| %>
2
+
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'phcnotifi/validations', :object => @script_author %>
5
+ <!-- PHC-Notifi Render Validation -->
6
+
7
+ <!-- Form Fields -->
8
+ <div class="form-group field_with_error">
9
+ <%= f.label :authorfirstname, "Author First Name" %>
10
+ <%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
11
+ </div>
12
+ <div class="form-group field_with_error">
13
+ <%= f.label :authorlastname, "Author Last Name" %>
14
+ <%= f.text_field :authorlastname, placeholder: "Author Last Name", class: "form-control" %>
15
+ </div>
16
+ <div class="form-group field_with_error">
17
+ <%= f.label :authorwebsite, "Author Website" %>
18
+ <%= f.text_field :authorwebsite, placeholder: "Author Website", class: "form-control" %>
19
+ </div>
20
+ <div class="form-group field_with_error">
21
+ <%= f.label :authorgithub, "Author Github Address" %>
22
+ <%= f.text_field :authorgithub, placeholder: "Author Github Address", class: "form-control" %>
23
+ </div>
24
+ <div class="form-group field_with_error">
25
+ <%= f.label :authortwitter, "Author Twitter Addresss" %>
26
+ <%= f.text_field :authortwitter, placeholder: "Author Twitter Addresss", class: "form-control" %>
27
+ </div>
28
+ <!-- Form Fields -->
29
+
30
+ <!-- Form Button -->
31
+ <div class="actions">
32
+ <%= f.submit class: "btn btn-primary" %>
33
+ </div>
34
+ <!-- Form Button -->
35
+
36
+ <% end %>
@@ -1,39 +1,39 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Update Author Data" %>
4
- <% phc_breadcrumb_one link_to "Author Index", phcscriptcdn.script_authors_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
7
-
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 -->
19
-
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">
29
-
30
- <!-- Page Form (Edit) -->
31
- <%= render 'form', script_author: @script_author %>
32
- <!-- Page Form (Edit) -->
33
-
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- </section>
39
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Update Author Data" %>
4
+ <% phc_breadcrumb_one link_to "Author Index", phcscriptcdn.script_authors_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- Title System -->
7
+
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 -->
19
+
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">
29
+
30
+ <!-- Page Form (Edit) -->
31
+ <%= render 'form', script_author: @script_author %>
32
+ <!-- Page Form (Edit) -->
33
+
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </section>
39
+ <!-- Main Content -->
@@ -1,67 +1,67 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Author Index" %>
4
- <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <!-- Title System -->
6
-
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 -->
18
-
19
- <!-- Main Content -->
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
- <!-- Index Table -->
30
- <div class="table-responsive">
31
- <table class="table table-bordered table-striped table-hover">
32
- <thead>
33
- <tr>
34
- <th>First Name</th>
35
- <th>Last Name</th>
36
- <th>Website</th>
37
- <th>Github</th>
38
- <th>Twitter</th>
39
- </tr>
40
- </thead>
41
- <tbody>
42
- <% @script_authors.each do |script_author| %>
43
- <tr>
44
- <td><%= link_to script_author.authorfirstname, script_author %></td>
45
- <td><%= link_to script_author.authorlastname, script_author %></td>
46
- <td><%= link_to script_author.authorwebsite, script_author %></td>
47
- <td><%= link_to script_author.authorgithub, script_author %></td>
48
- <td><%= link_to script_author.authortwitter, script_author %></td>
49
- </tr>
50
- <% end %>
51
- </tbody>
52
- </table>
53
- </div>
54
- <!-- Index Table -->
55
-
56
- <!-- Panel Footer -->
57
- <div class="box-footer clearfix">
58
- <%= link_to 'New Script Author', new_script_author_path, class: "btn btn-primary" %>
59
- </div>
60
- <!-- Panel Footer -->
61
-
62
- </div>
63
- </div>
64
- </div>
65
- </div>
66
- </section>
67
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Author Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <!-- Title System -->
6
+
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 -->
18
+
19
+ <!-- Main Content -->
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
+ <!-- Index Table -->
30
+ <div class="table-responsive">
31
+ <table class="table table-bordered table-striped table-hover">
32
+ <thead>
33
+ <tr>
34
+ <th>First Name</th>
35
+ <th>Last Name</th>
36
+ <th>Website</th>
37
+ <th>Github</th>
38
+ <th>Twitter</th>
39
+ </tr>
40
+ </thead>
41
+ <tbody>
42
+ <% @script_authors.each do |script_author| %>
43
+ <tr>
44
+ <td><%= link_to script_author.authorfirstname, script_author %></td>
45
+ <td><%= link_to script_author.authorlastname, script_author %></td>
46
+ <td><%= link_to script_author.authorwebsite, script_author %></td>
47
+ <td><%= link_to script_author.authorgithub, script_author %></td>
48
+ <td><%= link_to script_author.authortwitter, script_author %></td>
49
+ </tr>
50
+ <% end %>
51
+ </tbody>
52
+ </table>
53
+ </div>
54
+ <!-- Index Table -->
55
+
56
+ <!-- Panel Footer -->
57
+ <div class="box-footer clearfix">
58
+ <%= link_to 'New Script Author', new_script_author_path, class: "btn btn-primary" %>
59
+ </div>
60
+ <!-- Panel Footer -->
61
+
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </section>
67
+ <!-- Main Content -->