phcpresspro 5.3.2 → 5.3.3
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 +2 -2
- data/app/views/phcpresspro/articles/posts/index.html.erb +1 -1
- data/app/views/phcpresspro/articles/posts/new.html.erb +1 -1
- data/app/views/phcpresspro/articles/posts/show.html.erb +1 -1
- data/app/views/phcpresspro/modules/categories/edit.html.erb +43 -29
- data/app/views/phcpresspro/modules/categories/index.html.erb +61 -55
- data/app/views/phcpresspro/modules/categories/new.html.erb +44 -30
- 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: 8cbdcec11e975c3cd41d657aee3928f7732eefe8
|
4
|
+
data.tar.gz: 68a345d0a1d719064e0836b2f32f0040caaebfe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a9ee1341b14157bf8b7c2f215d3c077197fd1832390fd733e5a4fb194dffe09b292e04e2478e0d4e0eca98362572fb2cb28884e793d493bc564f7e1edf74f1
|
7
|
+
data.tar.gz: c95b76c6c89a69f3d74359cbce733d0ec3f070ad32f549ec8a864519ffa54142b79b04356098e3db98a1cca8fa1cf9de09b50449de0afa4378a55c6840ebed58
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Articles Manager" %>
|
3
|
-
<% phc_title_tagline "
|
3
|
+
<% phc_title_tagline "Update Article" %>
|
4
4
|
<!-- Title System -->
|
5
5
|
|
6
6
|
<!-- Page Header -->
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Articles List", phcpresspro.articles_posts_path
|
12
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Articles List", phcpresspro.articles_posts_path
|
12
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Articles List", phcpresspro.articles_posts_path
|
12
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<h2><%= yield(:phc_title) %></h2>
|
10
10
|
<!-- Bread Crumb -->
|
11
11
|
<ol class="breadcrumb">
|
12
|
-
<li><%= link_to "Articles List", phcpresspro.articles_posts_path
|
12
|
+
<li><%= link_to "Articles List", phcpresspro.articles_posts_path %></li>
|
13
13
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
14
|
</ol>
|
15
15
|
</div>
|
@@ -1,42 +1,56 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Categories Manager" %>
|
3
3
|
<% phc_title_tagline "Update Category" %>
|
4
|
+
<!-- Title System -->
|
4
5
|
|
5
|
-
<!--
|
6
|
-
<div class="page-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<
|
11
|
-
|
12
|
-
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Category List", phcpresspro.modules_categories_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Back to Category Index
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
13
23
|
</div>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
<div class="
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
<!-- Page Header -->
|
25
|
+
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="ibox float-e-margins">
|
33
|
+
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
30
44
|
</div>
|
31
|
-
|
45
|
+
|
46
|
+
<div class="ibox-content">
|
47
|
+
<%= render 'form', modules_category: @modules_category %>
|
32
48
|
</div>
|
33
|
-
</div>
|
34
49
|
|
35
|
-
<div class="portlet-body">
|
36
|
-
<%= render 'form', modules_category: @modules_category %>
|
37
50
|
</div>
|
38
51
|
|
39
52
|
</div>
|
40
|
-
|
41
53
|
</div>
|
54
|
+
|
42
55
|
</div>
|
56
|
+
<!-- Page Content -->
|
@@ -1,70 +1,76 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Categories Manager" %>
|
3
|
-
<% phc_title_tagline "
|
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>
|
3
|
+
<% phc_title_tagline "Category Index" %>
|
4
|
+
<!-- Title System -->
|
12
5
|
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Category List", phcpresspro.modules_categories_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcpresspro.new_modules_category_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Create a New Category
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
13
23
|
</div>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
<div class="
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
24
|
+
<!-- Page Header -->
|
25
|
+
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="ibox float-e-margins">
|
33
|
+
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
31
44
|
</div>
|
32
45
|
|
33
|
-
<div class="
|
34
|
-
|
35
|
-
<i class="fa fa-plus"></i> Create a New Category
|
36
|
-
<% end %>
|
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>
|
46
|
+
<div class="ibox-content">
|
47
|
+
<div class="table-responsive">
|
52
48
|
|
53
|
-
<
|
54
|
-
|
49
|
+
<table class="table table-striped table-bordered table-hover dataTables-example">
|
50
|
+
<thead>
|
55
51
|
<tr>
|
56
|
-
<
|
57
|
-
<
|
52
|
+
<th>Category Name</th>
|
53
|
+
<th></th>
|
58
54
|
</tr>
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
55
|
+
</thead>
|
56
|
+
|
57
|
+
<tbody>
|
58
|
+
<% @modules_categories.each do |modules_category| %>
|
59
|
+
<tr>
|
60
|
+
<td><%= link_to modules_category.catname, edit_modules_category_path(modules_category) %></td>
|
61
|
+
<td><%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
62
|
+
</tr>
|
63
|
+
<% end %>
|
64
|
+
</tbody>
|
65
|
+
</table>
|
66
|
+
|
67
|
+
</div>
|
64
68
|
</div>
|
69
|
+
|
65
70
|
</div>
|
66
71
|
|
67
72
|
</div>
|
68
|
-
|
69
73
|
</div>
|
74
|
+
|
70
75
|
</div>
|
76
|
+
<!-- Page Content -->
|
@@ -1,42 +1,56 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Categories Manager" %>
|
3
|
-
<% phc_title_tagline "Create a New Category"
|
4
|
-
|
5
|
-
<!-- Bread Crumb -->
|
6
|
-
<div class="page-bar">
|
7
|
-
|
8
|
-
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Category List", phcpresspro.modules_categories_path %><i class="fa fa-circle"></i></li>
|
10
|
-
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
|
-
</ul>
|
3
|
+
<% phc_title_tagline "Create a New Category" %
|
4
|
+
<!-- Title System -->
|
12
5
|
|
6
|
+
<!-- Page Header -->
|
7
|
+
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
+
<div class="col-sm-4">
|
9
|
+
<h2><%= yield(:phc_title) %></h2>
|
10
|
+
<!-- Bread Crumb -->
|
11
|
+
<ol class="breadcrumb">
|
12
|
+
<li><%= link_to "Category List", phcpresspro.modules_categories_path %></li>
|
13
|
+
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
|
+
</ol>
|
15
|
+
</div>
|
16
|
+
<div class="col-sm-8">
|
17
|
+
<div class="title-action">
|
18
|
+
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-primary" do %>
|
19
|
+
<i class="fa fa-plus"></i> Back to Category Index
|
20
|
+
<% end %>
|
21
|
+
</div>
|
22
|
+
</div>
|
13
23
|
</div>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
<div class="
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
<!-- Page Header -->
|
25
|
+
|
26
|
+
<!-- Page Content -->
|
27
|
+
<div class="wrapper wrapper-content animated fadeInRight">
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="col-lg-12">
|
31
|
+
|
32
|
+
<div class="ibox float-e-margins">
|
33
|
+
|
34
|
+
<div class="ibox-title">
|
35
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
36
|
+
<div class="ibox-tools">
|
37
|
+
<a class="collapse-link">
|
38
|
+
<i class="fa fa-chevron-up"></i>
|
39
|
+
</a>
|
40
|
+
<a class="close-link">
|
41
|
+
<i class="fa fa-times"></i>
|
42
|
+
</a>
|
43
|
+
</div>
|
30
44
|
</div>
|
31
|
-
|
45
|
+
|
46
|
+
<div class="ibox-content">
|
47
|
+
<%= render 'form', modules_category: @modules_category %>
|
32
48
|
</div>
|
33
|
-
</div>
|
34
49
|
|
35
|
-
<div class="portlet-body">
|
36
|
-
<%= render 'form', modules_category: @modules_category %>
|
37
50
|
</div>
|
38
51
|
|
39
52
|
</div>
|
40
|
-
|
41
53
|
</div>
|
54
|
+
|
42
55
|
</div>
|
56
|
+
<!-- Page Content -->
|
data/lib/phcpresspro/version.rb
CHANGED