phcpresspro 8.0.4 → 8.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/views/layouts/phcpresspro/components/backend/footer/_footer.html.erb +1 -1
- data/app/views/phcpresspro/articles/posts/edit.html.erb +1 -1
- data/app/views/phcpresspro/articles/posts/new.html.erb +1 -1
- data/app/views/phcpresspro/articles/posts/show.html.erb +2 -2
- data/app/views/phcpresspro/modules/categories/edit.html.erb +2 -2
- data/app/views/phcpresspro/modules/categories/new.html.erb +2 -2
- data/app/views/phcpresspro/modules/categories/show.html.erb +2 -2
- data/app/views/phcpresspro/modules/connections/edit.html.erb +36 -11
- data/app/views/phcpresspro/modules/connections/index.html.erb +31 -29
- data/app/views/phcpresspro/modules/connections/new.html.erb +36 -11
- data/app/views/phcpresspro/modules/connections/show.html.erb +37 -14
- data/lib/phcpresspro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a6eaeee3201364acda65ea4127b610fdf578bb7
|
4
|
+
data.tar.gz: d5258920cff72e755f2fea3ca4e688f73529284b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3acbb256d300c6b12233f490740690bab2232fec26cff0d6f2b8e74a8ef338694cd62c3239e578c18a6286dc2f916b3eae91d2588b8b74cceafd77a888986b8
|
7
|
+
data.tar.gz: c9bbd10c01fe214ded9054cfdfaca1cca2a16d45f4afc9e4c07f0bfc4661bb1eebc14cf6774a048f28ea8a6e21c1bbb5c5756f06b4ab2c4f233182c24c9cd3f7
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ PHCPress(PRO) rails CMS engine to manage your website's articles, categories and
|
|
10
10
|
|
11
11
|
#### Step 1 - Add PHCPress to your gemfile and run command
|
12
12
|
|
13
|
-
gem 'phcpresspro', '~> 8.0'
|
13
|
+
gem 'phcpresspro', '~> 8.0'
|
14
14
|
bundle install
|
15
15
|
|
16
16
|
#### Step 2 - Copy PHCPress Database Tables
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<div class="col-sm-4">
|
20
20
|
<div class="title-action">
|
21
21
|
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-default" do %>
|
22
|
-
<i class="fa fa-
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Article Index
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<div class="col-sm-4">
|
20
20
|
<div class="title-action">
|
21
21
|
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-default" do %>
|
22
|
-
<i class="fa fa-
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Article Index
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -18,8 +18,8 @@
|
|
18
18
|
</div>
|
19
19
|
<div class="col-sm-4">
|
20
20
|
<div class="title-action">
|
21
|
-
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-
|
22
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Article Index
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -18,8 +18,8 @@
|
|
18
18
|
</div>
|
19
19
|
<div class="col-sm-4">
|
20
20
|
<div class="title-action">
|
21
|
-
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-
|
22
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Category Index
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -18,8 +18,8 @@
|
|
18
18
|
</div>
|
19
19
|
<div class="col-sm-4">
|
20
20
|
<div class="title-action">
|
21
|
-
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-
|
22
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Category Index
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -18,8 +18,8 @@
|
|
18
18
|
</div>
|
19
19
|
<div class="col-sm-4">
|
20
20
|
<div class="title-action">
|
21
|
-
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-
|
22
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Category Index
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
</div>
|
@@ -1,27 +1,25 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "PHCPress Plugin: Connections" %>
|
3
3
|
<% phc_title_tagline "Update Category Connections" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Connection Index", phcpresspro.modules_connections_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
|
-
<%= link_to phcpresspro.modules_connections_path, class: "btn btn-
|
24
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.modules_connections_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Connections Index
|
25
23
|
<% end %>
|
26
24
|
</div>
|
27
25
|
</div>
|
@@ -30,6 +28,33 @@
|
|
30
28
|
|
31
29
|
<!-- Page Content -->
|
32
30
|
<div class="wrapper wrapper-content animated fadeInRight">
|
33
|
-
|
31
|
+
<div class="row">
|
32
|
+
<div class="col-lg-12">
|
33
|
+
|
34
|
+
<div class="ibox float-e-margins">
|
35
|
+
<div class="ibox-title">
|
36
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
37
|
+
<div class="ibox-tools">
|
38
|
+
<a class="collapse-link">
|
39
|
+
<i class="fa fa-chevron-up"></i>
|
40
|
+
</a>
|
41
|
+
<a class="close-link">
|
42
|
+
<i class="fa fa-times"></i>
|
43
|
+
</a>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div class="ibox-content">
|
47
|
+
<div class="row">
|
48
|
+
<div class="col-lg-12">
|
49
|
+
|
50
|
+
<%= render 'form', modules_connection: @modules_connection %>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
</div>
|
58
|
+
</div>
|
34
59
|
</div>
|
35
60
|
<!-- Page Content -->
|
@@ -1,21 +1,21 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "PHCPress Plugin: Connections" %>
|
3
3
|
<% phc_title_tagline "Connections Index" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
5
|
+
<!-- Title System -->
|
6
|
+
|
4
7
|
<!-- Page Header -->
|
5
8
|
<div class="row wrapper border-bottom white-bg page-heading">
|
6
|
-
<div class="col-sm-
|
7
|
-
<!-- Page Title -->
|
9
|
+
<div class="col-sm-8">
|
8
10
|
<h2><%= yield(:phc_title) %></h2>
|
9
|
-
<!-- Page Title -->
|
10
|
-
|
11
11
|
<!-- Bread Crumb -->
|
12
12
|
<ol class="breadcrumb">
|
13
|
-
<li
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
14
15
|
</ol>
|
15
16
|
<!-- Bread Crumb -->
|
16
|
-
|
17
17
|
</div>
|
18
|
-
<div class="col-sm-
|
18
|
+
<div class="col-sm-4">
|
19
19
|
<div class="title-action">
|
20
20
|
<%= link_to phcpresspro.new_modules_connection_path, class: "btn blue-primary" do %>
|
21
21
|
<i class="fa fa-plus"></i> Create a New Connection
|
@@ -43,34 +43,36 @@
|
|
43
43
|
</div>
|
44
44
|
</div>
|
45
45
|
<div class="ibox-content">
|
46
|
+
<div class="row">
|
47
|
+
<div class="col-lg-12">
|
46
48
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
49
|
+
<div class="table-responsive">
|
50
|
+
<table class="table table-striped table-bordered table-hover dataTables-example">
|
51
|
+
<thead>
|
52
|
+
<tr>
|
53
|
+
<th>Item</th>
|
54
|
+
<th>Article</th>
|
55
|
+
<th></th>
|
56
|
+
</tr>
|
57
|
+
</thead>
|
58
|
+
<tbody>
|
59
|
+
<% @modules_connections.each do |modules_connection| %>
|
60
|
+
<tr>
|
61
|
+
<td><%= link_to modules_connection.category.catname, modules_connection %></td>
|
62
|
+
<td><%= link_to modules_connection.post.psttitle, modules_connection %></td>
|
63
|
+
<td><%= link_to 'Delete', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
64
|
+
</tr>
|
65
|
+
<% end %>
|
66
|
+
</tbody>
|
67
|
+
</table>
|
68
|
+
</div>
|
67
69
|
|
70
|
+
</div>
|
71
|
+
</div>
|
68
72
|
</div>
|
69
|
-
|
70
73
|
</div>
|
71
74
|
|
72
75
|
</div>
|
73
76
|
</div>
|
74
|
-
|
75
77
|
</div>
|
76
78
|
<!-- Page Content -->
|
@@ -1,27 +1,25 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "PHCPress Plugin: Connections" %>
|
3
3
|
<% phc_title_tagline "Create a New Plugin Connection" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Connection Index", phcpresspro.modules_connections_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
|
-
<%= link_to phcpresspro.modules_connections_path, class: "btn btn-
|
24
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.modules_connections_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Connections Index
|
25
23
|
<% end %>
|
26
24
|
</div>
|
27
25
|
</div>
|
@@ -30,6 +28,33 @@
|
|
30
28
|
|
31
29
|
<!-- Page Content -->
|
32
30
|
<div class="wrapper wrapper-content animated fadeInRight">
|
33
|
-
|
31
|
+
<div class="row">
|
32
|
+
<div class="col-lg-12">
|
33
|
+
|
34
|
+
<div class="ibox float-e-margins">
|
35
|
+
<div class="ibox-title">
|
36
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
37
|
+
<div class="ibox-tools">
|
38
|
+
<a class="collapse-link">
|
39
|
+
<i class="fa fa-chevron-up"></i>
|
40
|
+
</a>
|
41
|
+
<a class="close-link">
|
42
|
+
<i class="fa fa-times"></i>
|
43
|
+
</a>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div class="ibox-content">
|
47
|
+
<div class="row">
|
48
|
+
<div class="col-lg-12">
|
49
|
+
|
50
|
+
<%= render 'form', modules_connection: @modules_connection %>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
</div>
|
58
|
+
</div>
|
34
59
|
</div>
|
35
60
|
<!-- Page Content -->
|
@@ -1,27 +1,25 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "PHCPress Plugin: Connections" %>
|
3
3
|
<% phc_title_tagline "Create a New Plugin Connection" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Connection Index", phcpresspro.modules_connections_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
|
-
<%= link_to phcpresspro.modules_connections_path, class: "btn btn-
|
24
|
-
<i class="fa fa-
|
21
|
+
<%= link_to phcpresspro.modules_connections_path, class: "btn btn-default" do %>
|
22
|
+
<i class="fa fa fa-arrow-left"></i> Back to Connections Index
|
25
23
|
<% end %>
|
26
24
|
</div>
|
27
25
|
</div>
|
@@ -30,11 +28,36 @@
|
|
30
28
|
|
31
29
|
<!-- Page Content -->
|
32
30
|
<div class="wrapper wrapper-content animated fadeInRight">
|
31
|
+
<div class="row">
|
32
|
+
<div class="col-lg-12">
|
33
|
+
|
34
|
+
<div class="ibox float-e-margins">
|
35
|
+
<div class="ibox-title">
|
36
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
37
|
+
<div class="ibox-tools">
|
38
|
+
<a class="collapse-link">
|
39
|
+
<i class="fa fa-chevron-up"></i>
|
40
|
+
</a>
|
41
|
+
<a class="close-link">
|
42
|
+
<i class="fa fa-times"></i>
|
43
|
+
</a>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div class="ibox-content">
|
47
|
+
<div class="row">
|
48
|
+
<div class="col-lg-12">
|
33
49
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
50
|
+
<p id="notice"><%= notice %></p>
|
51
|
+
|
52
|
+
<%= link_to 'Edit', edit_modules_connection_path(@modules_connection) %> |
|
53
|
+
<%= link_to 'Back', modules_connections_path %>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
38
59
|
|
60
|
+
</div>
|
61
|
+
</div>
|
39
62
|
</div>
|
40
63
|
<!-- Page Content -->
|
data/lib/phcpresspro/version.rb
CHANGED