phcpresspro 4.2.6 → 4.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6a201e65b407c59420f8c77365cf532f2b28dcd
4
- data.tar.gz: 2e594a099221a75d8a23db46fd1503d6c3b32d7f
3
+ metadata.gz: 846813e43076834d0476fe187629239cb4fafa28
4
+ data.tar.gz: 77d896cbc6ff3a355c5ea1b2050f7b5c1f91e3eb
5
5
  SHA512:
6
- metadata.gz: 71568b9534aff8d3a88cf48beab76945549097543025857d63d8f67d204146aa3686ac2a715d1b28aca33b25383a31efbd2c3f514b2cb538b34bbb5aafdfd0d7
7
- data.tar.gz: 1a1592755156e41d756e6cc67a2e8039aeec0330667064fb7a32883a9772240e61aab7822e97db563ce8eb92440d5aff34fa55a406df6c757bd1a41c1b14ba87
6
+ metadata.gz: 41dddc33ca07d59a8293ee7a6d8412b2a3a128c226a3433a28cd32a45f8269a6bb348e076d2b1fb12e300155eddc100c66515513e7561cd0cfa65433068e90f3
7
+ data.tar.gz: d55a524af5e8117b2ee650e71431f9240b4357e038d4605dd662e1a305de6d8e40f156ba80160fdec11601fa0c2c701d8c7693f989d50721757666984d54c195
@@ -31,7 +31,7 @@
31
31
  <%= f.file_field :pstimage, class: "form-control" %>
32
32
  </div>
33
33
  <% if f.object.pstimage? %>
34
- <%= image_tag f.object.pstimage, class: "img-responsive img-thumbnail" %>
34
+ <%= image_tag f.object.pstimage_url, class: "img-responsive img-thumbnail" %>
35
35
  <%= f.label :remove_pstimage %>
36
36
  <%= f.check_box :remove_pstimage %>
37
37
  <% end %>
@@ -1 +1,42 @@
1
- <%= render 'form', articles_post: @articles_post %>
1
+ <!-- Title System -->
2
+ <% phc_title "PHCPress - Article" %>
3
+ <% phc_title_tagline "Create a New Article" %>
4
+
5
+ <!-- Bread Crumb -->
6
+ <div class="page-bar">
7
+
8
+ <ul class="page-breadcrumb">
9
+ <li><%= link_to "Script Listings", phcpresspro.articles_posts_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
+
21
+ <!-- Main Content -->
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+ <div class="caption">
29
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
30
+ </div>
31
+ <div class="actions">
32
+ </div>
33
+ </div>
34
+
35
+ <div class="portlet-body">
36
+ <%= render 'form', articles_post: @articles_post %>
37
+ </div>
38
+
39
+ </div>
40
+
41
+ </div>
42
+ </div>
@@ -1,41 +1,72 @@
1
- <!-- Main Content -->
2
- <div class="wrapper wrapper-content">
3
- <div class="panel panel-primary">
1
+ <!-- Title System -->
2
+ <% phc_title "Articles List" %>
3
+ <% phc_title_tagline "Article Index" %>
4
4
 
5
- <div class="panel-heading">
6
- <i class="fa fa-pencil-square-o"></i> Article List
7
- </div>
5
+ <!-- Bread Crumb -->
6
+ <div class="page-bar">
7
+
8
+ <ul class="page-breadcrumb">
9
+ <li><%= link_to "Script Listings", phcpresspro.articles_posts_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>
8
20
 
9
- <div class="panel-body">
10
-
11
- <table class="table table-bordered table-striped table-hover">
12
-
13
- <thead>
14
- <tr>
15
- <th>Title</th>
16
- <th>Text Preview</th>
17
- <th>Article Status</th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
-
22
- <tbody>
23
- <% @articles_posts.each do |articles_post| %>
24
- <tr>
25
- <td><%= articles_post.psttitle %></td>
26
- <td><%= truncate(articles_post.psttext, :length => 80) %></td>
27
- <td><%= articles_post.pststatus %></td>
28
- <td><div class="btn-group" role="group" aria-label="Blog Articles">
29
- <%= link_to 'Edit', edit_articles_post_path(articles_post), class: "btn btn-primary btn-xs" %>
30
- <%= link_to 'Trash', articles_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
31
- </div></td>
32
- </tr>
21
+ <!-- Main Content -->
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="portlet light">
25
+
26
+ <div class="portlet-title">
27
+ <div class="caption">
28
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
29
+ </div>
30
+ <div class="actions">
31
+ <%= link_to phcpresspro.new_articles_post_path, class: "btn blue-chambray" do %>
32
+ <i class="fa fa-plus"></i> Add a New Article Post
33
33
  <% end %>
34
- </tbody>
34
+ </div>
35
+ </div>
36
+
37
+ <div class="portlet-body">
38
+ <div class="table-responsive">
39
+ <table class="table table-striped table-bordered table-hover table-header-fixed">
35
40
 
36
- </table>
41
+ <thead>
42
+ <tr>
43
+ <th>Title</th>
44
+ <th>Text Preview</th>
45
+ <th>Article Status</th>
46
+ <th></th>
47
+ </tr>
48
+ </thead>
49
+
50
+ <tbody>
51
+ <% @articles_posts.each do |articles_post| %>
52
+ <tr>
53
+ <td><%= articles_post.psttitle %></td>
54
+ <td><%= truncate(articles_post.psttext, :length => 80) %></td>
55
+ <td><%= articles_post.pststatus %></td>
56
+ <td><div class="btn-group" role="group" aria-label="Blog Articles">
57
+ <%= link_to 'Edit', edit_articles_post_path(articles_post), class: "btn btn-primary btn-xs" %>
58
+ <%= link_to 'Trash', articles_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
59
+ </div></td>
60
+ </tr>
61
+ <% end %>
62
+ </tbody>
63
+
64
+ </table>
65
+ </div>
66
+ </div>
37
67
 
38
68
  <%= link_to 'New Blog Post', new_articles_post_path, class: "btn btn-primary" %>
69
+
39
70
  </div>
40
71
 
41
72
  </div>
@@ -1 +1,42 @@
1
- <%= render 'form', articles_post: @articles_post %>
1
+ <!-- Title System -->
2
+ <% phc_title "PHCPress - Article" %>
3
+ <% phc_title_tagline "Create a New Article" %>
4
+
5
+ <!-- Bread Crumb -->
6
+ <div class="page-bar">
7
+
8
+ <ul class="page-breadcrumb">
9
+ <li><%= link_to "Script Listings", phcpresspro.articles_posts_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
+
21
+ <!-- Main Content -->
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+ <div class="caption">
29
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
30
+ </div>
31
+ <div class="actions">
32
+ </div>
33
+ </div>
34
+
35
+ <div class="portlet-body">
36
+ <%= render 'form', articles_post: @articles_post %>
37
+ </div>
38
+
39
+ </div>
40
+
41
+ </div>
42
+ </div>
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "4.2.6"
2
+ VERSION = "4.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.6
4
+ version: 4.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts