phcscriptcdnpro 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcscriptcdnpro/application.js +2 -5
- data/app/assets/stylesheets/phcscriptcdnpro/application.scss +15 -20
- data/app/controllers/phcscriptcdnpro/application_controller.rb +1 -19
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +74 -0
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +65 -0
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +65 -0
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +65 -0
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +74 -0
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +65 -0
- data/app/models/phcscriptcdnpro/application_record.rb +2 -0
- data/app/models/phcscriptcdnpro/{scriptcdn.rb → script.rb} +4 -2
- data/app/models/phcscriptcdnpro/script/author.rb +10 -0
- data/app/models/phcscriptcdnpro/script/extension.rb +8 -0
- data/app/models/phcscriptcdnpro/script/licence.rb +4 -0
- data/app/models/phcscriptcdnpro/script/listing.rb +17 -0
- data/app/models/phcscriptcdnpro/script/url.rb +16 -0
- data/app/models/phcscriptcdnpro/script/version.rb +13 -0
- data/app/views/phcscriptcdnpro/{scriptcdn → script}/authors/_form.html.erb +14 -11
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +55 -0
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +4 -0
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +22 -0
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +49 -0
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +4 -0
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +42 -0
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +59 -0
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/licences/show.html.erb +4 -0
- data/app/views/phcscriptcdnpro/{scriptcdn/informations → script/listings}/_form.html.erb +20 -10
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +31 -0
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +54 -0
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +31 -0
- data/app/views/phcscriptcdnpro/script/listings/show.html.erb +27 -0
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/urls/index.html.erb +51 -0
- data/app/views/phcscriptcdnpro/script/urls/new.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/urls/show.html.erb +4 -0
- data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +12 -0
- data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/versions/index.html.erb +47 -0
- data/app/views/phcscriptcdnpro/script/versions/new.html.erb +32 -0
- data/app/views/phcscriptcdnpro/script/versions/show.html.erb +4 -0
- data/config/routes.rb +14 -16
- data/db/migrate/{20160704185337_create_phcscriptcdnpro_scriptcdn_information.rb → 20160821183652_create_phcscriptcdnpro_script_listings.rb} +14 -8
- data/db/migrate/{20160704185254_create_phcscriptcdnpro_scriptcdn_authors.rb → 20160821183714_create_phcscriptcdnpro_script_authors.rb} +6 -6
- data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +19 -0
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +25 -0
- data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +23 -0
- data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +17 -0
- data/lib/phcscriptcdnpro/engine.rb +2 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +73 -84
- data/app/assets/javascripts/phcscriptcdnpro/api/mains.js +0 -2
- data/app/assets/javascripts/phcscriptcdnpro/cdnsite/cdnpages.js +0 -2
- data/app/assets/javascripts/phcscriptcdnpro/scriptcdn/authors.js +0 -2
- data/app/assets/javascripts/phcscriptcdnpro/scriptcdn/information.js +0 -2
- data/app/assets/javascripts/phcscriptcdnpro/scriptcdn/mains.js +0 -2
- data/app/assets/javascripts/phcscriptcdnpro/scriptcdn/urls.js +0 -2
- data/app/assets/javascripts/phcscriptcdnpro/scriptcdn/versions.js +0 -2
- data/app/assets/stylesheets/phcscriptcdnpro/api/mains.scss +0 -3
- data/app/assets/stylesheets/phcscriptcdnpro/cdnsite/cdnpages.scss +0 -3
- data/app/assets/stylesheets/phcscriptcdnpro/custom.scss +0 -0
- data/app/assets/stylesheets/phcscriptcdnpro/scriptcdn/authors.scss +0 -3
- data/app/assets/stylesheets/phcscriptcdnpro/scriptcdn/information.scss +0 -3
- data/app/assets/stylesheets/phcscriptcdnpro/scriptcdn/mains.scss +0 -3
- data/app/assets/stylesheets/phcscriptcdnpro/scriptcdn/urls.scss +0 -3
- data/app/assets/stylesheets/phcscriptcdnpro/scriptcdn/versions.scss +0 -3
- data/app/assets/stylesheets/scaffolds.scss +0 -89
- data/app/controllers/phcscriptcdnpro/api/mains_controller.rb +0 -17
- data/app/controllers/phcscriptcdnpro/scriptcdn/authors_controller.rb +0 -70
- data/app/controllers/phcscriptcdnpro/scriptcdn/informations_controller.rb +0 -70
- data/app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb +0 -63
- data/app/controllers/phcscriptcdnpro/scriptcdn/urls_controller.rb +0 -70
- data/app/controllers/phcscriptcdnpro/scriptcdn/versions_controller.rb +0 -70
- data/app/helpers/phcscriptcdnpro/api/mains_helper.rb +0 -4
- data/app/helpers/phcscriptcdnpro/cdnsite/cdnpages_helper.rb +0 -4
- data/app/helpers/phcscriptcdnpro/scriptcdn/authors_helper.rb +0 -4
- data/app/helpers/phcscriptcdnpro/scriptcdn/information_helper.rb +0 -4
- data/app/helpers/phcscriptcdnpro/scriptcdn/mains_helper.rb +0 -4
- data/app/helpers/phcscriptcdnpro/scriptcdn/urls_helper.rb +0 -4
- data/app/helpers/phcscriptcdnpro/scriptcdn/versions_helper.rb +0 -4
- data/app/models/phcscriptcdnpro/scriptcdn/author.rb +0 -8
- data/app/models/phcscriptcdnpro/scriptcdn/information.rb +0 -8
- data/app/models/phcscriptcdnpro/scriptcdn/main.rb +0 -11
- data/app/models/phcscriptcdnpro/scriptcdn/url.rb +0 -8
- data/app/models/phcscriptcdnpro/scriptcdn/version.rb +0 -8
- data/app/views/phcscriptcdnpro/api/mains/index.json.rabl +0 -18
- data/app/views/phcscriptcdnpro/api/mains/show.json.rabl +0 -18
- data/app/views/phcscriptcdnpro/scriptcdn/authors/_formpatch.html.erb +0 -29
- data/app/views/phcscriptcdnpro/scriptcdn/authors/edit.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/authors/index.html.erb +0 -65
- data/app/views/phcscriptcdnpro/scriptcdn/authors/new.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/informations/_formpatch.html.erb +0 -49
- data/app/views/phcscriptcdnpro/scriptcdn/informations/edit.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/informations/index.html.erb +0 -69
- data/app/views/phcscriptcdnpro/scriptcdn/informations/new.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/mains/_form.html.erb +0 -13
- data/app/views/phcscriptcdnpro/scriptcdn/mains/edit.html.erb +0 -42
- data/app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb +0 -61
- data/app/views/phcscriptcdnpro/scriptcdn/mains/new.html.erb +0 -42
- data/app/views/phcscriptcdnpro/scriptcdn/urls/_form.html.erb +0 -17
- data/app/views/phcscriptcdnpro/scriptcdn/urls/_formpatch.html.erb +0 -17
- data/app/views/phcscriptcdnpro/scriptcdn/urls/edit.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb +0 -62
- data/app/views/phcscriptcdnpro/scriptcdn/urls/new.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/versions/_form.html.erb +0 -13
- data/app/views/phcscriptcdnpro/scriptcdn/versions/_formpatch.html.erb +0 -13
- data/app/views/phcscriptcdnpro/scriptcdn/versions/edit.html.erb +0 -43
- data/app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb +0 -63
- data/app/views/phcscriptcdnpro/scriptcdn/versions/new.html.erb +0 -43
- data/db/migrate/20160704185441_create_phcscriptcdnpro_scriptcdn_urls.rb +0 -19
- data/db/migrate/20160704185454_create_phcscriptcdnpro_scriptcdn_versions.rb +0 -17
- data/db/migrate/20160704190509_create_phcscriptcdnpro_scriptcdn_mains.rb +0 -17
@@ -1,43 +0,0 @@
|
|
1
|
-
<!-- Title System -->
|
2
|
-
<% phc_title "Script Versions" %>
|
3
|
-
<% phc_title_tagline "New Script Version" %>
|
4
|
-
|
5
|
-
<!-- Bread Crumb -->
|
6
|
-
<div class="page-bar">
|
7
|
-
|
8
|
-
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Listings", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_versions_path %><i class="fa fa-circle"></i></li>
|
11
|
-
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
12
|
-
</ul>
|
13
|
-
|
14
|
-
</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
|
-
<div class="caption">
|
30
|
-
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
31
|
-
</div>
|
32
|
-
<div class="actions">
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div class="portlet-body">
|
37
|
-
<%= render 'form' %>
|
38
|
-
</div>
|
39
|
-
|
40
|
-
</div>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
</div>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptcdnUrls < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_scriptcdn_urls do |t|
|
5
|
-
|
6
|
-
t.string :scripturl
|
7
|
-
t.string :scripturlext
|
8
|
-
|
9
|
-
t.references :main, index: true
|
10
|
-
|
11
|
-
t.string :user_id
|
12
|
-
t.string :membership_id
|
13
|
-
t.string :oganization_id
|
14
|
-
|
15
|
-
t.timestamps null: false
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptcdnVersions < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :phcscriptcdnpro_scriptcdn_versions do |t|
|
4
|
-
|
5
|
-
t.string :versionnumber
|
6
|
-
|
7
|
-
t.references :main, index: true
|
8
|
-
|
9
|
-
t.string :user_id
|
10
|
-
t.string :membership_id
|
11
|
-
t.string :oganization_id
|
12
|
-
|
13
|
-
t.timestamps null: false
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptcdnMains < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_scriptcdn_mains do |t|
|
5
|
-
|
6
|
-
t.string :scriptname
|
7
|
-
|
8
|
-
t.string :user_id
|
9
|
-
t.string :membership_id
|
10
|
-
t.string :oganization_id
|
11
|
-
|
12
|
-
t.timestamps null: false
|
13
|
-
|
14
|
-
end
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|