app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-5.3.3 vs app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-5.3.4
- old
+ new
@@ -1,69 +1,78 @@
<!-- Title System -->
-<% phc_title "PHCPress - Articles" %>
-<% phc_title_tagline "Article Index" %>
+<% phc_title "PHCPress Plugin: Connections" %>
+<% phc_title_tagline "Connections Index" %>
+<!-- Title System -->
-<!-- Bread Crumb -->
-<div class="page-bar">
-
- <ul class="page-breadcrumb">
- <li><%= link_to "Articles List", phcpresspro.modules_connections_path %><i class="fa fa-circle"></i></li>
- <li class="active"><%= yield(:phc_title_tagline) %></li>
- </ul>
-
+<!-- Page Header -->
+<div class="row wrapper border-bottom white-bg page-heading">
+ <div class="col-sm-4">
+ <h2><%= yield(:phc_title) %></h2>
+ <!-- Bread Crumb -->
+ <ol class="breadcrumb">
+ <li><%= link_to "Articles List", phcpresspro.modules_connections_path %></li>
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
+ </ol>
+ </div>
+ <div class="col-sm-8">
+ <div class="title-action">
+ <%= link_to phcpresspro.new_modules_connection_path, class: "btn blue-primary" do %>
+ <i class="fa fa-plus"></i> Create a New Connection
+ <% end %>
+ </div>
+ </div>
</div>
+<!-- Page Header -->
-<!-- Page Title -->
-<h3 class="page-title">
- <%= yield(:phc_title) %> </br>
- <small><%= yield(:phc_title_tagline) %></small>
-</h3>
+<!-- Page Content -->
+<div class="wrapper wrapper-content animated fadeInRight">
-<!-- Main Content -->
-<div class="row">
- <div class="col-lg-12">
+ <div class="row">
+ <div class="col-lg-12">
- <div class="portlet light">
+ <div class="ibox float-e-margins">
- <div class="portlet-title">
-
- <div class="caption">
- <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
+ <div class="ibox-title">
+ <h5><%= yield(:phc_title_tagline) %></h5>
+ <div class="ibox-tools">
+ <a class="collapse-link">
+ <i class="fa fa-chevron-up"></i>
+ </a>
+ <a class="close-link">
+ <i class="fa fa-times"></i>
+ </a>
+ </div>
</div>
- <div class="actions">
- <%= link_to phcpresspro.new_modules_connection_path, class: "btn blue-chambray" do %>
- <i class="fa fa-plus"></i> Create a New Connection
- <% end %>
- </div>
- </div>
+ <div class="ibox-content">
+ <div class="table-responsive">
- <div class="portlet-body">
- <div class="table-responsive">
- <table class="table table-striped table-bordered table-hover table-header-fixed">
-
- <thead>
- <tr>
- <th>Item</th>
- <th>Article</th>
- <th></th>
- </tr>
- </thead>
-
- <tbody>
- <% @modules_connections.each do |modules_connection| %>
+ <table class="table table-striped table-bordered table-hover dataTables-example">
+ <thead>
<tr>
- <td><%= link_to modules_connection.category.catname, modules_connection %></td>
- <td><%= link_to modules_connection.post.psttitle, modules_connection %></td>
- <td><%= link_to 'Delete', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <th>Item</th>
+ <th>Article</th>
+ <th></th>
</tr>
- <% end %>
- </tbody>
+ </thead>
- </table>
+ <tbody>
+ <% @modules_connections.each do |modules_connection| %>
+ <tr>
+ <td><%= link_to modules_connection.category.catname, modules_connection %></td>
+ <td><%= link_to modules_connection.post.psttitle, modules_connection %></td>
+ <td><%= link_to 'Delete', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
+
+ </div>
</div>
+
</div>
</div>
-
</div>
+
</div>
+<!-- Page Content -->