phcpresspro 4.2.8 → 4.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/phcpresspro/articles/posts/edit.html.erb +3 -3
- data/app/views/phcpresspro/articles/posts/index.html.erb +6 -5
- data/app/views/phcpresspro/articles/posts/new.html.erb +3 -3
- data/app/views/phcpresspro/modules/categories/index.html.erb +60 -28
- data/app/views/phcpresspro/modules/connections/index.html.erb +59 -28
- 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: 23be1785b13a7d8efe657ceebca979832a64ae71
|
4
|
+
data.tar.gz: 97967edefe763dab38eb335d77fb5c85ac70be7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae4998eb58ad61b489ca733d58f778fb355e58200accdd9ba6dcdd6da4efbb2646729dc030bf484c5e29779d2644352e4d9175870a217c96315a383f2deb173d
|
7
|
+
data.tar.gz: 70aa7bdb6926d2a6919209d29c8e276476dedd59087fb97f904310e8b4c0ed999aaa59410bc41e519cb14abe52c673ed551d566e869ddb1c5821d4c4ad71574f
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "PHCPress -
|
3
|
-
<% phc_title_tagline "
|
2
|
+
<% phc_title "PHCPress - Articles" %>
|
3
|
+
<% phc_title_tagline "Update Article" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "
|
9
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "Articles
|
2
|
+
<% phc_title "PHCPress - Articles" %>
|
3
3
|
<% phc_title_tagline "Article Index" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "
|
9
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -21,17 +21,20 @@
|
|
21
21
|
<!-- Main Content -->
|
22
22
|
<div class="row">
|
23
23
|
<div class="col-lg-12">
|
24
|
+
|
24
25
|
<div class="portlet light">
|
25
26
|
|
26
27
|
<div class="portlet-title">
|
28
|
+
|
27
29
|
<div class="caption">
|
28
30
|
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
29
31
|
</div>
|
30
32
|
<div class="actions">
|
31
33
|
<%= link_to phcpresspro.new_articles_post_path, class: "btn blue-chambray" do %>
|
32
|
-
<i class="fa fa-plus"></i>
|
34
|
+
<i class="fa fa-plus"></i> Post a New Article
|
33
35
|
<% end %>
|
34
36
|
</div>
|
37
|
+
|
35
38
|
</div>
|
36
39
|
|
37
40
|
<div class="portlet-body">
|
@@ -65,8 +68,6 @@
|
|
65
68
|
</div>
|
66
69
|
</div>
|
67
70
|
|
68
|
-
<%= link_to 'New Blog Post', new_articles_post_path, class: "btn btn-primary" %>
|
69
|
-
|
70
71
|
</div>
|
71
72
|
|
72
73
|
</div>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
<!-- Title System -->
|
2
|
-
<% phc_title "PHCPress -
|
3
|
-
<% phc_title_tagline "
|
2
|
+
<% phc_title "PHCPress - Articles" %>
|
3
|
+
<% phc_title_tagline "Post a New Article" %>
|
4
4
|
|
5
5
|
<!-- Bread Crumb -->
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "
|
9
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
@@ -1,36 +1,68 @@
|
|
1
|
+
<!-- Title System -->
|
2
|
+
<% phc_title "PHCPress Plugins - Categories" %>
|
3
|
+
<% phc_title_tagline "Category Index" %>
|
4
|
+
|
5
|
+
<!-- Bread Crumb -->
|
6
|
+
<div class="page-bar">
|
7
|
+
|
8
|
+
<ul class="page-breadcrumb">
|
9
|
+
<li><%= link_to "Articles List", phcpresspro.modules_categories_path %><i class="fa fa-circle"></i></li>
|
10
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
|
+
</ul>
|
12
|
+
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<!-- Page Title -->
|
16
|
+
<h3 class="page-title">
|
17
|
+
<%= yield(:phc_title) %> </br>
|
18
|
+
<small><%= yield(:phc_title_tagline) %></small>
|
19
|
+
</h3>
|
20
|
+
|
1
21
|
<!-- Main Content -->
|
2
|
-
<div class="
|
3
|
-
<div class="
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
4
24
|
|
5
|
-
<div class="
|
6
|
-
|
7
|
-
|
25
|
+
<div class="portlet light">
|
26
|
+
|
27
|
+
<div class="portlet-title">
|
8
28
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
<
|
16
|
-
</tr>
|
17
|
-
</thead>
|
18
|
-
|
19
|
-
<tbody>
|
20
|
-
<% @modules_categories.each do |modules_category| %>
|
21
|
-
<tr>
|
22
|
-
<td><%= modules_category.catname %></td>
|
23
|
-
<td><div class="btn-group" role="group" aria-label="Blog Articles">
|
24
|
-
<%= link_to 'Edit', edit_modules_category_path(modules_category), class: "btn btn-primary btn-xs" %>
|
25
|
-
<%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
|
26
|
-
</div>
|
27
|
-
</td>
|
28
|
-
</tr>
|
29
|
+
<div class="caption">
|
30
|
+
<span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div class="actions">
|
34
|
+
<%= link_to phcpresspro.new_modules_category_path, class: "btn blue-chambray" do %>
|
35
|
+
<i class="fa fa-plus"></i> Create a New Category
|
29
36
|
<% end %>
|
30
|
-
</
|
31
|
-
|
37
|
+
</div>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="portlet-body">
|
42
|
+
<div class="table-responsive">
|
43
|
+
|
44
|
+
<table class="table table-striped table-bordered table-hover table-header-fixed">
|
45
|
+
|
46
|
+
<thead>
|
47
|
+
<tr>
|
48
|
+
<th>Category Name</th>
|
49
|
+
<th></th>
|
50
|
+
</tr>
|
51
|
+
</thead>
|
52
|
+
|
53
|
+
<tbody>
|
54
|
+
<% @modules_categories.each do |modules_category| %>
|
55
|
+
<tr>
|
56
|
+
<td><%= link_to modules_category.catname, edit_modules_category_path(modules_category) %></td>
|
57
|
+
<td><%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
58
|
+
</tr>
|
59
|
+
<% end %>
|
60
|
+
</tbody>
|
61
|
+
|
62
|
+
</table>
|
32
63
|
|
33
|
-
|
64
|
+
</div>
|
65
|
+
</div>
|
34
66
|
|
35
67
|
</div>
|
36
68
|
|
@@ -1,36 +1,67 @@
|
|
1
|
+
<!-- Title System -->
|
2
|
+
<% phc_title "PHCPress - Articles" %>
|
3
|
+
<% phc_title_tagline "Article Index" %>
|
4
|
+
|
5
|
+
<!-- Bread Crumb -->
|
6
|
+
<div class="page-bar">
|
7
|
+
|
8
|
+
<ul class="page-breadcrumb">
|
9
|
+
<li><%= link_to "Articles List", phcpresspro.modules_connections_path %><i class="fa fa-circle"></i></li>
|
10
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
|
+
</ul>
|
12
|
+
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<!-- Page Title -->
|
16
|
+
<h3 class="page-title">
|
17
|
+
<%= yield(:phc_title) %> </br>
|
18
|
+
<small><%= yield(:phc_title_tagline) %></small>
|
19
|
+
</h3>
|
20
|
+
|
1
21
|
<!-- Main Content -->
|
2
|
-
<div class="
|
3
|
-
<div class="
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
4
24
|
|
5
|
-
<div class="
|
6
|
-
|
7
|
-
|
25
|
+
<div class="portlet light">
|
26
|
+
|
27
|
+
<div class="portlet-title">
|
8
28
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
<
|
13
|
-
|
14
|
-
<
|
15
|
-
<th>Posts</th>
|
16
|
-
<th colspan="3"></th>
|
17
|
-
</tr>
|
18
|
-
</thead>
|
19
|
-
|
20
|
-
<tbody>
|
21
|
-
<% @modules_connections.each do |modules_connection| %>
|
22
|
-
<tr>
|
23
|
-
<td><%= modules_connection.category.catname %></td>
|
24
|
-
<td><%= modules_connection.post.psttitle %></td>
|
25
|
-
<td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
|
26
|
-
<td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
|
27
|
-
<td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
28
|
-
</tr>
|
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 phcpresspro.new_modules_connection_path, class: "btn blue-chambray" do %>
|
34
|
+
<i class="fa fa-plus"></i> Create a New Connection
|
29
35
|
<% end %>
|
30
|
-
</
|
31
|
-
|
36
|
+
</div>
|
37
|
+
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="portlet-body">
|
41
|
+
<div class="table-responsive">
|
42
|
+
<table class="table table-striped table-bordered table-hover table-header-fixed">
|
43
|
+
|
44
|
+
<thead>
|
45
|
+
<tr>
|
46
|
+
<th>Item</th>
|
47
|
+
<th>Article</th>
|
48
|
+
<th></th>
|
49
|
+
</tr>
|
50
|
+
</thead>
|
51
|
+
|
52
|
+
<tbody>
|
53
|
+
<% @modules_connections.each do |modules_connection| %>
|
54
|
+
<tr>
|
55
|
+
<td><%= link_to modules_connection.category.catname, modules_connection %></td>
|
56
|
+
<td><%= link_to modules_connection.post.psttitle, modules_connection %></td>
|
57
|
+
<td><%= link_to 'Delete', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
58
|
+
</tr>
|
59
|
+
<% end %>
|
60
|
+
</tbody>
|
32
61
|
|
33
|
-
|
62
|
+
</table>
|
63
|
+
</div>
|
64
|
+
</div>
|
34
65
|
|
35
66
|
</div>
|
36
67
|
|
data/lib/phcpresspro/version.rb
CHANGED