phcpresspro 55.0.0 → 56.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/views/layouts/phcpresspro/components/backend/sidebars/_side_menu.html.erb +17 -3
- data/app/views/phcpresspro/modules/categories/_form.html.erb +5 -2
- data/app/views/phcpresspro/modules/categories/edit.html.erb +12 -48
- data/app/views/phcpresspro/modules/categories/index.html.erb +28 -59
- data/app/views/phcpresspro/modules/categories/new.html.erb +12 -48
- data/app/views/phcpresspro/modules/categories/show.html.erb +9 -45
- data/app/views/phcpresspro/modules/connections/_form.html.erb +5 -5
- data/app/views/phcpresspro/modules/connections/edit.html.erb +12 -48
- data/app/views/phcpresspro/modules/connections/index.html.erb +30 -66
- data/app/views/phcpresspro/modules/connections/new.html.erb +12 -48
- data/app/views/phcpresspro/modules/connections/show.html.erb +9 -50
- data/lib/phcpresspro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 373d6b526bda6efb50cab4595ca4ff844bb9644019be2ac6252b35bfa8f11085
|
4
|
+
data.tar.gz: e919694731d1596d327a2efab13ff5080aa10a9e6992af64b3268060b42816de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5bd83a23b75e54db51f4a7c5d76ea12ec6bd86a1c55a63403efe1e9a904cd287126ad2e3105e2dbce0364f3dfa4fbd8778e4bd66370a42bab82e5857ac387e5
|
7
|
+
data.tar.gz: 6735e513e4c10cdcf0981e9cca8d02116887a7d5150eb6f988773625f9b40dc69511526405c6aa2ca5296294a684a8564d96c9fdbd1dcbe7ee66b00ed3b4ba08
|
@@ -35,8 +35,8 @@
|
|
35
35
|
<!-- Sidebar - Sidebar Navigation -->
|
36
36
|
<ul class="nav">
|
37
37
|
|
38
|
-
<!-- Sidebar - Sidebar Navigation -
|
39
|
-
<li class="nav-header">
|
38
|
+
<!-- Sidebar - Sidebar Navigation - PHCPressPro -->
|
39
|
+
<li class="nav-header">Article Management</li>
|
40
40
|
<li class="has-sub">
|
41
41
|
<a href="javascript:;">
|
42
42
|
<b class="caret"></b>
|
@@ -48,8 +48,22 @@
|
|
48
48
|
<li><%= link_to('New Aritcle', phcpresspro.new_article_post_path) %></li>
|
49
49
|
</ul>
|
50
50
|
</li>
|
51
|
+
<li class="has-sub">
|
52
|
+
<a href="javascript:;">
|
53
|
+
<b class="caret"></b>
|
54
|
+
<i class="fas fa-sitemap"></i>
|
55
|
+
<span>Article Categories</span>
|
56
|
+
</a>
|
57
|
+
<ul class="sub-menu">
|
58
|
+
<li><%= link_to('Category Index', phcpresspro.modules_categories_path) %></li>
|
59
|
+
<li><%= link_to('New Category', phcpresspro.new_modules_category_path) %></li>
|
60
|
+
<li><%= link_to('Category Manager', phcpresspro.modules_connections_path) %></li>
|
61
|
+
<li><%= link_to('Connect Article', phcpresspro.new_modules_connection_path) %></li>
|
62
|
+
</ul>
|
63
|
+
</li>
|
64
|
+
<!-- Sidebar - Sidebar Navigation - PHCPressPro -->
|
51
65
|
<!-- Sidebar - Sidebar Navigation - PHCAccountsPro -->
|
52
|
-
<li class="nav-header">
|
66
|
+
<li class="nav-header">Account Settings</li>
|
53
67
|
<li class="has-sub">
|
54
68
|
<a href="javascript:;">
|
55
69
|
<b class="caret"></b>
|
@@ -1,14 +1,17 @@
|
|
1
1
|
<%= form_for(@modules_category) do |f| %>
|
2
2
|
|
3
|
+
<!-- PHCNotifi Render Validation -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @modules_category %>
|
5
|
+
<!-- PHCNotifi Render Validation -->
|
4
6
|
|
7
|
+
<!-- PHCPressPro - Category Form -->
|
5
8
|
<div class="form-group">
|
6
|
-
|
9
|
+
<%= f.label :catname, "Category Name" %>
|
7
10
|
<%= f.text_field :catname, class: "form-control" %>
|
8
11
|
</div>
|
9
|
-
|
10
12
|
<div class="actions">
|
11
13
|
<%= f.submit class: "btn btn-primary" %>
|
12
14
|
</div>
|
15
|
+
<!-- PHCPressPro - Category Form -->
|
13
16
|
|
14
17
|
<% end %>
|
@@ -5,56 +5,20 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page Header -->
|
9
|
-
<div class="row wrapper border-bottom white-bg page-heading">
|
10
|
-
<div class="col-sm-8">
|
11
|
-
<h2><%= yield(:phc_title) %></h2>
|
12
|
-
<!-- Bread Crumb -->
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
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
|
-
<% end %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
8
|
<!-- Page Content -->
|
30
|
-
<div class="
|
31
|
-
<div class="
|
32
|
-
<div class="
|
33
|
-
|
34
|
-
<
|
35
|
-
|
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_category: @modules_category %>
|
51
|
-
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
57
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
17
|
+
</div>
|
18
|
+
<div class="panel-body">
|
19
|
+
<!-- Table - Category Edit Form -->
|
20
|
+
<%= render 'form', modules_category: @modules_category %>
|
21
|
+
<!-- Table - Category Edit Form -->
|
58
22
|
</div>
|
59
23
|
</div>
|
60
24
|
<!-- Page Content -->
|
@@ -4,68 +4,37 @@
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
5
5
|
<!-- Title System -->
|
6
6
|
|
7
|
-
<!-- Page
|
8
|
-
<div class="
|
9
|
-
<div class="
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
<
|
14
|
-
</ol>
|
15
|
-
<!-- Bread Crumb -->
|
16
|
-
</div>
|
17
|
-
<div class="col-sm-4">
|
18
|
-
<div class="title-action">
|
19
|
-
<%= link_to phcpresspro.new_modules_category_path, class: "btn btn-primary" do %>
|
20
|
-
<i class="fa fa-plus"></i> Create a New Category
|
21
|
-
<% end %>
|
7
|
+
<!-- Page Content -->
|
8
|
+
<div class="panel panel-inverse">
|
9
|
+
<div class="panel-heading">
|
10
|
+
<div class="panel-heading-btn">
|
11
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
22
14
|
</div>
|
15
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
23
16
|
</div>
|
24
|
-
|
25
|
-
<!--
|
26
|
-
|
27
|
-
|
28
|
-
<
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
<
|
37
|
-
<
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
</div>
|
44
|
-
<div class="ibox-content">
|
45
|
-
|
46
|
-
<div class="table-responsive">
|
47
|
-
<table class="table table-striped table-bordered table-hover dataTables-example">
|
48
|
-
<thead>
|
49
|
-
<tr>
|
50
|
-
<th>Category Name</th>
|
51
|
-
<th></th>
|
52
|
-
</tr>
|
53
|
-
</thead>
|
54
|
-
<tbody>
|
55
|
-
<% @modules_categories.each do |modules_category| %>
|
56
|
-
<tr>
|
57
|
-
<td><%= link_to modules_category.catname, phcpresspro.edit_modules_category_path(modules_category) %></td>
|
58
|
-
<td><%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
59
|
-
</tr>
|
60
|
-
<% end %>
|
61
|
-
</tbody>
|
62
|
-
</table>
|
63
|
-
</div>
|
64
|
-
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
|
17
|
+
<div class="panel-body">
|
18
|
+
<!-- Table - Category Index -->
|
19
|
+
<div class="table-responsive">
|
20
|
+
<table class="table table-striped table-bordered table-hover dataTables-example">
|
21
|
+
<thead>
|
22
|
+
<tr>
|
23
|
+
<th>Category Name</th>
|
24
|
+
<th></th>
|
25
|
+
</tr>
|
26
|
+
</thead>
|
27
|
+
<tbody>
|
28
|
+
<% @modules_categories.each do |modules_category| %>
|
29
|
+
<tr>
|
30
|
+
<td><%= link_to modules_category.catname, phcpresspro.edit_modules_category_path(modules_category) %></td>
|
31
|
+
<td><%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
32
|
+
</tr>
|
33
|
+
<% end %>
|
34
|
+
</tbody>
|
35
|
+
</table>
|
68
36
|
</div>
|
37
|
+
<!-- Table - Category Index -->
|
69
38
|
</div>
|
70
39
|
</div>
|
71
40
|
<!-- Page Content -->
|
@@ -5,56 +5,20 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page Header -->
|
9
|
-
<div class="row wrapper border-bottom white-bg page-heading">
|
10
|
-
<div class="col-sm-8">
|
11
|
-
<h2><%= yield(:phc_title) %></h2>
|
12
|
-
<!-- Bread Crumb -->
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
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
|
-
<% end %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
8
|
<!-- Page Content -->
|
30
|
-
<div class="
|
31
|
-
<div class="
|
32
|
-
<div class="
|
33
|
-
|
34
|
-
<
|
35
|
-
|
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_category: @modules_category %>
|
51
|
-
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
57
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
17
|
+
</div>
|
18
|
+
<div class="panel-body">
|
19
|
+
<!-- Table - Category New Form -->
|
20
|
+
<%= render 'form', modules_category: @modules_category %>
|
21
|
+
<!-- Table - Category New Form -->
|
58
22
|
</div>
|
59
23
|
</div>
|
60
24
|
<!-- Page Content -->
|
@@ -5,54 +5,18 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
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
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
24
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
25
17
|
</div>
|
26
|
-
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
|
-
<!-- Page Content -->
|
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">
|
18
|
+
<div class="panel-body">
|
49
19
|
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
</div>
|
56
20
|
</div>
|
57
21
|
</div>
|
58
22
|
<!-- Page Content -->
|
@@ -1,21 +1,21 @@
|
|
1
1
|
<%= form_for(@modules_connection) do |f| %>
|
2
2
|
|
3
|
-
|
3
|
+
<!-- PHCNotifi Render Validation -->
|
4
|
+
<%= render 'phcnotifi/validations', :object => @modules_connection %>
|
5
|
+
<!-- PHCNotifi Render Validation -->
|
4
6
|
|
7
|
+
<!-- PHCPressPro - Connections Form -->
|
5
8
|
<div class="form-group">
|
6
9
|
<%= f.label :category_id, "Category ID" %>
|
7
10
|
<%= f.text_field :category_id, class: "form-control" %>
|
8
11
|
</div>
|
9
|
-
|
10
12
|
<div class="form-group">
|
11
13
|
<%= f.label :post_id, "Post ID" %>
|
12
14
|
<%= f.text_field :post_id, class: "form-control" %>
|
13
15
|
</div>
|
14
|
-
|
15
|
-
<!-- Form Button -->
|
16
16
|
<div class="actions">
|
17
17
|
<%= f.submit class: "btn btn-primary" %>
|
18
18
|
</div>
|
19
|
-
<!-- Form
|
19
|
+
<!-- PHCPressPro - Connections Form -->
|
20
20
|
|
21
21
|
<% end %>
|
@@ -5,56 +5,20 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page Header -->
|
9
|
-
<div class="row wrapper border-bottom white-bg page-heading">
|
10
|
-
<div class="col-sm-8">
|
11
|
-
<h2><%= yield(:phc_title) %></h2>
|
12
|
-
<!-- Bread Crumb -->
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
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
|
23
|
-
<% end %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
8
|
<!-- Page Content -->
|
30
|
-
<div class="
|
31
|
-
<div class="
|
32
|
-
<div class="
|
33
|
-
|
34
|
-
<
|
35
|
-
|
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
|
-
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
57
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
17
|
+
</div>
|
18
|
+
<div class="panel-body">
|
19
|
+
<!-- Table - Connections Edit Form -->
|
20
|
+
<%= render 'form', modules_connection: @modules_connection %>
|
21
|
+
<!-- Table - Connections Edit Form -->
|
58
22
|
</div>
|
59
23
|
</div>
|
60
24
|
<!-- Page Content -->
|
@@ -4,75 +4,39 @@
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
5
5
|
<!-- Title System -->
|
6
6
|
|
7
|
-
<!-- Page
|
8
|
-
<div class="
|
9
|
-
<div class="
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
<
|
14
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
-
</ol>
|
16
|
-
<!-- Bread Crumb -->
|
17
|
-
</div>
|
18
|
-
<div class="col-sm-4">
|
19
|
-
<div class="title-action">
|
20
|
-
<%= link_to phcpresspro.new_modules_connection_path, class: "btn blue-primary" do %>
|
21
|
-
<i class="fa fa-plus"></i> Create a New Connection
|
22
|
-
<% end %>
|
7
|
+
<!-- Page Content -->
|
8
|
+
<div class="panel panel-inverse">
|
9
|
+
<div class="panel-heading">
|
10
|
+
<div class="panel-heading-btn">
|
11
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
23
14
|
</div>
|
15
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
24
16
|
</div>
|
25
|
-
|
26
|
-
<!--
|
27
|
-
|
28
|
-
|
29
|
-
<
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
<
|
42
|
-
</
|
43
|
-
|
44
|
-
</
|
45
|
-
|
46
|
-
<div class="row">
|
47
|
-
<div class="col-lg-12">
|
48
|
-
|
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>
|
69
|
-
|
70
|
-
</div>
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
|
17
|
+
<div class="panel-body">
|
18
|
+
<!-- Table - Conenctions Index -->
|
19
|
+
<div class="table-responsive">
|
20
|
+
<table class="table table-striped table-bordered table-hover dataTables-example">
|
21
|
+
<thead>
|
22
|
+
<tr>
|
23
|
+
<th>Item</th>
|
24
|
+
<th>Article</th>
|
25
|
+
<th></th>
|
26
|
+
</tr>
|
27
|
+
</thead>
|
28
|
+
<tbody>
|
29
|
+
<% @modules_connections.each do |modules_connection| %>
|
30
|
+
<tr>
|
31
|
+
<td><%= link_to modules_connection.category.catname, modules_connection %></td>
|
32
|
+
<td><%= link_to modules_connection.post.psttitle, modules_connection %></td>
|
33
|
+
<td><%= link_to 'Delete', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
34
|
+
</tr>
|
35
|
+
<% end %>
|
36
|
+
</tbody>
|
37
|
+
</table>
|
75
38
|
</div>
|
39
|
+
<!-- Table - Conenctions Index -->
|
76
40
|
</div>
|
77
41
|
</div>
|
78
42
|
<!-- Page Content -->
|
@@ -5,56 +5,20 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page Header -->
|
9
|
-
<div class="row wrapper border-bottom white-bg page-heading">
|
10
|
-
<div class="col-sm-8">
|
11
|
-
<h2><%= yield(:phc_title) %></h2>
|
12
|
-
<!-- Bread Crumb -->
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
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
|
23
|
-
<% end %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
8
|
<!-- Page Content -->
|
30
|
-
<div class="
|
31
|
-
<div class="
|
32
|
-
<div class="
|
33
|
-
|
34
|
-
<
|
35
|
-
|
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
|
-
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
57
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
17
|
+
</div>
|
18
|
+
<div class="panel-body">
|
19
|
+
<!-- Table - Connections New Form -->
|
20
|
+
<%= render 'form', modules_connection: @modules_connection %>
|
21
|
+
<!-- Table - Connections New Form -->
|
58
22
|
</div>
|
59
23
|
</div>
|
60
24
|
<!-- Page Content -->
|
@@ -5,59 +5,18 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
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
|
23
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
24
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
25
17
|
</div>
|
26
|
-
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
|
-
<!-- Page Content -->
|
30
|
-
<div class="wrapper wrapper-content animated fadeInRight">
|
31
|
-
<div class="row">
|
32
|
-
<div class="col-lg-12">
|
18
|
+
<div class="panel-body">
|
33
19
|
|
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
|
-
<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>
|
59
|
-
|
60
|
-
</div>
|
61
20
|
</div>
|
62
21
|
</div>
|
63
22
|
<!-- Page Content -->
|
data/lib/phcpresspro/version.rb
CHANGED