phcscriptcdnpro 5.8.4 → 5.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +5 -6
- data/Rakefile +11 -14
- data/app/controllers/phcscriptcdnpro/application_controller.rb +48 -46
- data/app/controllers/phcscriptcdnpro/frontend/listings_controller.rb +4 -2
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +79 -79
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +71 -69
- data/app/helpers/phcscriptcdnpro/application_helper.rb +9 -10
- data/app/jobs/phcscriptcdnpro/application_job.rb +2 -3
- data/app/mailers/phcscriptcdnpro/application_mailer.rb +4 -4
- data/app/models/phcscriptcdnpro/application_record.rb +3 -3
- data/app/models/phcscriptcdnpro/frontend.rb +2 -0
- data/app/models/phcscriptcdnpro/frontend/listing.rb +1 -2
- data/app/models/phcscriptcdnpro/script.rb +5 -5
- data/app/models/phcscriptcdnpro/script/author.rb +5 -5
- data/app/models/phcscriptcdnpro/script/extension.rb +6 -6
- data/app/models/phcscriptcdnpro/script/licence.rb +5 -5
- data/app/models/phcscriptcdnpro/script/listing.rb +13 -11
- data/app/models/phcscriptcdnpro/script/url.rb +9 -9
- data/app/models/phcscriptcdnpro/script/version.rb +7 -7
- data/app/views/layouts/phcscriptcdnpro/application.html.erb +6 -7
- data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +1 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_bar.html.erb +0 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb +1 -2
- data/app/views/layouts/phcscriptcdnpro/frontend.html.erb +14 -16
- data/app/views/phcscriptcdnpro/frontend/listings/index.html.erb +30 -30
- data/app/views/phcscriptcdnpro/frontend/listings/show.html.erb +12 -12
- data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +19 -23
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +6 -6
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +8 -9
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +6 -8
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +8 -9
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +7 -9
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +7 -0
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +10 -12
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/licences/show.html.erb +5 -7
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +7 -1
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +15 -0
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +14 -4
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +15 -0
- data/app/views/phcscriptcdnpro/script/listings/show.html.erb +14 -0
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +17 -6
- data/app/views/phcscriptcdnpro/script/urls/index.html.erb +14 -7
- data/app/views/phcscriptcdnpro/script/urls/new.html.erb +17 -7
- data/app/views/phcscriptcdnpro/script/urls/show.html.erb +14 -10
- data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +7 -0
- data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +12 -8
- data/app/views/phcscriptcdnpro/script/versions/index.html.erb +11 -5
- data/app/views/phcscriptcdnpro/script/versions/new.html.erb +12 -8
- data/app/views/phcscriptcdnpro/script/versions/show.html.erb +11 -6
- data/config/routes.rb +21 -26
- data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +23 -23
- data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +17 -17
- data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +12 -12
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +18 -18
- data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +16 -16
- data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +10 -10
- data/lib/phcscriptcdnpro/engine.rb +62 -61
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -2
@@ -6,18 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
16
|
+
<li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
12
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
13
18
|
</ol>
|
19
|
+
<!-- Bread Crumb -->
|
20
|
+
|
14
21
|
</div>
|
15
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- New Listings Button -->
|
16
25
|
<div class="title-action">
|
17
26
|
<%= link_to phcscriptcdnpro.new_script_listing_path, class: "btn btn-primary" do %>
|
18
27
|
<i class="fa fa-plus"></i> Create a New Listing
|
19
28
|
<% end %>
|
20
29
|
</div>
|
30
|
+
<!-- New Listings Button -->
|
31
|
+
|
21
32
|
</div>
|
22
33
|
</div>
|
23
34
|
<!-- Page Header -->
|
@@ -50,9 +61,9 @@
|
|
50
61
|
<th>Latest Release Date</th>
|
51
62
|
<th>Beta Release Date</th>
|
52
63
|
</tr>
|
53
|
-
|
54
|
-
|
55
|
-
|
64
|
+
</thead>
|
65
|
+
<tbody>
|
66
|
+
<% @script_listings.each do |script_listing| %>
|
56
67
|
<tr>
|
57
68
|
<td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td>
|
58
69
|
<td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td>
|
@@ -69,6 +80,5 @@
|
|
69
80
|
|
70
81
|
</div>
|
71
82
|
</div>
|
72
|
-
|
73
83
|
</div>
|
74
84
|
<!-- Page Content -->
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumb -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Listings Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Listing Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Listings Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,7 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
30
41
|
<div class="ibox float-e-margins">
|
31
42
|
<div class="ibox-title">
|
32
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,11 +51,15 @@
|
|
40
51
|
</div>
|
41
52
|
</div>
|
42
53
|
<div class="ibox-content">
|
54
|
+
|
43
55
|
<!-- Form Requries URL to Function Properly -->
|
44
56
|
<%= render 'form', script_listing: @script_listing %>
|
57
|
+
|
45
58
|
</div>
|
46
59
|
</div>
|
60
|
+
|
47
61
|
</div>
|
48
62
|
</div>
|
49
63
|
</div>
|
50
64
|
<!-- Page Content -->
|
65
|
+
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumb -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Listings Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Listing Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Listings Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,7 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
30
41
|
<div class="ibox float-e-margins">
|
31
42
|
<div class="ibox-title">
|
32
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,12 +51,15 @@
|
|
40
51
|
</div>
|
41
52
|
</div>
|
42
53
|
<div class="ibox-content">
|
54
|
+
|
43
55
|
<div class="btn-group" role="group" aria-label="url_button_group">
|
44
56
|
<%= link_to 'Edit', edit_script_listing_path, class: "btn btn-primary" %>
|
45
57
|
<%= link_to 'Destroy', script_listing_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
|
46
58
|
</div>
|
59
|
+
|
47
60
|
</div>
|
48
61
|
</div>
|
62
|
+
|
49
63
|
</div>
|
50
64
|
</div>
|
51
65
|
</div>
|
@@ -1,7 +1,10 @@
|
|
1
1
|
<%= form_for([@script_url.listing, @script_url], url: form_url) do |f| %>
|
2
2
|
|
3
|
+
<!-- For Validation by PHCNotifi -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @script_url %>
|
5
|
+
<!-- For Validation by PHCNotifi -->
|
4
6
|
|
7
|
+
<!-- Form Fields -->
|
5
8
|
<div class="form-group field_with_error">
|
6
9
|
<%= f.label :scripturl, "Script URL" %>
|
7
10
|
<%= f.text_field :scripturl, placeholder: "Script URL", class: "form-control" %>
|
@@ -22,9 +25,12 @@
|
|
22
25
|
<label>Script Extensions</label>
|
23
26
|
<%= collection_select(:script_url, :extension_id, Phcscriptcdnpro::Script::Extension.order('scriptextensionname'), :id, :scriptextension, {}, {class: "form-control"}) %>
|
24
27
|
</div>
|
28
|
+
<!-- Form Fields -->
|
25
29
|
|
30
|
+
<!-- Form Button -->
|
26
31
|
<div class="actions">
|
27
32
|
<%= f.submit class: "btn btn-primary" %>
|
28
33
|
</div>
|
34
|
+
<!-- Form Button -->
|
29
35
|
|
30
36
|
<% end %>
|
@@ -6,20 +6,28 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li><%= link_to "Script URLs", phcscriptcdnpro.script_listing_urls_path %></li>
|
14
18
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
15
19
|
</ol>
|
20
|
+
<!-- Bread Crumb -->
|
21
|
+
|
16
22
|
</div>
|
17
23
|
<div class="col-sm-8">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
24
|
+
|
25
|
+
<!-- Back to URL Index Button -->
|
26
|
+
<%= link_to phcscriptcdnpro.script_listing_urls_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to URL Index
|
28
|
+
<% end %>
|
29
|
+
<!-- Back to URL Index Button -->
|
30
|
+
|
23
31
|
</div>
|
24
32
|
</div>
|
25
33
|
<!-- Page Header -->
|
@@ -28,6 +36,7 @@
|
|
28
36
|
<div class="wrapper wrapper-content animated fadeInRight">
|
29
37
|
<div class="row">
|
30
38
|
<div class="col-lg-12">
|
39
|
+
|
31
40
|
<div class="ibox float-e-margins">
|
32
41
|
<div class="ibox-title">
|
33
42
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -41,11 +50,13 @@
|
|
41
50
|
</div>
|
42
51
|
</div>
|
43
52
|
<div class="ibox-content">
|
44
|
-
<!-- Form Requries URL to Function Properly -->
|
53
|
+
<!-- Form Requries URL to Function Properly (Differnet than New) -->
|
45
54
|
<%= render 'form', { form_url: script_listing_url_path } %>
|
46
55
|
</div>
|
47
56
|
</div>
|
57
|
+
|
48
58
|
</div>
|
49
59
|
</div>
|
50
60
|
</div>
|
51
61
|
<!-- Page Content -->
|
62
|
+
|
@@ -6,19 +6,27 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumb -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
23
|
+
|
24
|
+
<!-- New URL Button -->
|
25
|
+
<%= link_to phcscriptcdnpro.new_script_listing_url_path, class: "btn btn-primary" do %>
|
26
|
+
<i class="fa fa-plus"></i> Create a New URL
|
27
|
+
<% end %>
|
28
|
+
<!-- New URL Button -->
|
29
|
+
|
22
30
|
</div>
|
23
31
|
</div>
|
24
32
|
<!-- Page Header -->
|
@@ -64,10 +72,9 @@
|
|
64
72
|
</div>
|
65
73
|
|
66
74
|
</div>
|
67
|
-
|
68
75
|
</div>
|
76
|
+
|
69
77
|
</div>
|
70
78
|
</div>
|
71
|
-
|
72
79
|
</div>
|
73
80
|
<!-- Page Content -->
|
@@ -6,29 +6,37 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li><%= link_to "Script URLs", phcscriptcdnpro.script_listing_urls_path %></li>
|
14
18
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
15
19
|
</ol>
|
20
|
+
<!-- Bread Crumb -->
|
21
|
+
|
16
22
|
</div>
|
17
23
|
<div class="col-sm-8">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
24
|
+
|
25
|
+
<!-- Back to URL Index Button -->
|
26
|
+
<%= link_to phcscriptcdnpro.script_listing_urls_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to URL Index
|
28
|
+
<% end %>
|
29
|
+
<!-- Back to URL Index Button -->
|
30
|
+
|
23
31
|
</div>
|
24
32
|
</div>
|
25
33
|
<!-- Page Header -->
|
26
34
|
|
27
|
-
|
28
35
|
<!-- Page Content -->
|
29
36
|
<div class="wrapper wrapper-content animated fadeInRight">
|
30
37
|
<div class="row">
|
31
38
|
<div class="col-lg-12">
|
39
|
+
|
32
40
|
<div class="ibox float-e-margins">
|
33
41
|
<div class="ibox-title">
|
34
42
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -42,11 +50,13 @@
|
|
42
50
|
</div>
|
43
51
|
</div>
|
44
52
|
<div class="ibox-content">
|
45
|
-
<!-- Form Requries URL to Function Properly -->
|
53
|
+
<!-- Form Requries URL to Function Properly (Different Than Edit) -->
|
46
54
|
<%= render 'form', { form_url: script_listing_urls_path } %>
|
47
55
|
</div>
|
48
56
|
</div>
|
57
|
+
|
49
58
|
</div>
|
50
59
|
</div>
|
51
60
|
</div>
|
52
61
|
<!-- Page Content -->
|
62
|
+
|
@@ -6,32 +6,38 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li><%= link_to "Script URLs", phcscriptcdnpro.script_listing_urls_path %></li>
|
14
18
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
15
19
|
</ol>
|
20
|
+
<!-- Bread Crumb -->
|
21
|
+
|
16
22
|
</div>
|
17
23
|
<div class="col-sm-8">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
24
|
+
|
25
|
+
<!-- Back to URL Index Button -->
|
26
|
+
<%= link_to phcscriptcdnpro.script_listing_urls_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to URL Index
|
28
|
+
<% end %>
|
29
|
+
<!-- Back to URL Index Button -->
|
30
|
+
|
23
31
|
</div>
|
24
32
|
</div>
|
25
33
|
<!-- Page Header -->
|
26
34
|
|
27
35
|
<!-- Page Content -->
|
28
36
|
<div class="wrapper wrapper-content animated fadeInRight">
|
29
|
-
|
30
37
|
<div class="row">
|
31
38
|
<div class="col-lg-12">
|
32
39
|
|
33
40
|
<div class="ibox float-e-margins">
|
34
|
-
|
35
41
|
<div class="ibox-title">
|
36
42
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
37
43
|
<div class="ibox-tools">
|
@@ -43,7 +49,6 @@
|
|
43
49
|
</a>
|
44
50
|
</div>
|
45
51
|
</div>
|
46
|
-
|
47
52
|
<div class="ibox-content">
|
48
53
|
|
49
54
|
<div class="btn-group" role="group" aria-label="url_button_group">
|
@@ -52,10 +57,9 @@
|
|
52
57
|
</div>
|
53
58
|
|
54
59
|
</div>
|
55
|
-
|
56
60
|
</div>
|
57
61
|
|
58
62
|
</div>
|
59
63
|
</div>
|
60
|
-
|
61
64
|
</div>
|
65
|
+
<!-- Page Content -->
|
@@ -1,13 +1,20 @@
|
|
1
1
|
<%= form_for(script_version) do |f| %>
|
2
2
|
|
3
|
+
<!-- For Validation by PHCNotifi -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @script_version %>
|
5
|
+
<!-- For Validation by PHCNotifi -->
|
4
6
|
|
7
|
+
<!-- Form Fields -->
|
5
8
|
<div class="form-group field_with_error">
|
6
9
|
<%= f.label :scriptversion, "Version Number" %>
|
7
10
|
<%= f.text_field :scriptversion, placeholder: "Version Number", class: "form-control" %>
|
8
11
|
</div>
|
12
|
+
<!-- Form Fields -->
|
13
|
+
|
14
|
+
<!-- Form Button -->
|
9
15
|
<div class="actions">
|
10
16
|
<%= f.submit class: "btn btn-primary" %>
|
11
17
|
</div>
|
18
|
+
<!-- Form Button -->
|
12
19
|
|
13
20
|
<% end %>
|
@@ -6,31 +6,39 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Script Version Index", phcscriptcdnpro.script_versions_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumb -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Version Index Button -->
|
17
25
|
<div class="title-action">
|
18
|
-
<%= link_to phcscriptcdnpro.
|
26
|
+
<%= link_to phcscriptcdnpro.script_versions_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Script Version Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Version Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
25
35
|
|
26
36
|
<!-- Page Content -->
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
-
|
29
38
|
<div class="row">
|
30
39
|
<div class="col-lg-12">
|
31
40
|
|
32
41
|
<div class="ibox float-e-margins">
|
33
|
-
|
34
42
|
<div class="ibox-title">
|
35
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
44
|
<div class="ibox-tools">
|
@@ -42,18 +50,14 @@
|
|
42
50
|
</a>
|
43
51
|
</div>
|
44
52
|
</div>
|
45
|
-
|
46
53
|
<div class="ibox-content">
|
47
|
-
|
48
54
|
<!-- Form Requries URL to Function Properly -->
|
49
55
|
<%= render 'form', script_version: @script_version %>
|
50
|
-
|
51
56
|
</div>
|
52
|
-
|
53
57
|
</div>
|
54
58
|
|
55
59
|
</div>
|
56
60
|
</div>
|
57
|
-
|
58
61
|
</div>
|
59
62
|
<!-- Page Content -->
|
63
|
+
|