app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-55.0.0 vs app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-56.0.0
- old
+ new
@@ -2,77 +2,41 @@
<% phc_title "PHCPress Plugin: Connections" %>
<% phc_title_tagline "Connections Index" %>
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
<!-- Title System -->
-<!-- Page Header -->
-<div class="row wrapper border-bottom white-bg page-heading">
- <div class="col-sm-8">
- <h2><%= yield(:phc_title) %></h2>
- <!-- Bread Crumb -->
- <ol class="breadcrumb">
- <li><%= yield(:phc_breadcrumb_one) %></li>
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
- </ol>
- <!-- Bread Crumb -->
- </div>
- <div class="col-sm-4">
- <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 %>
+<!-- Page Content -->
+<div class="panel panel-inverse">
+ <div class="panel-heading">
+ <div class="panel-heading-btn">
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
</div>
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
</div>
-</div>
-<!-- Page Header -->
-
-<!-- Page Content -->
-<div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-lg-12">
-
- <div class="ibox float-e-margins">
- <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="ibox-content">
- <div class="row">
- <div class="col-lg-12">
-
- <div class="table-responsive">
- <table class="table table-striped table-bordered table-hover dataTables-example">
- <thead>
- <tr>
- <th>Item</th>
- <th>Article</th>
- <th></th>
- </tr>
- </thead>
- <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 class="panel-body">
+ <!-- Table - Conenctions Index -->
+ <div class="table-responsive">
+ <table class="table table-striped table-bordered table-hover dataTables-example">
+ <thead>
+ <tr>
+ <th>Item</th>
+ <th>Article</th>
+ <th></th>
+ </tr>
+ </thead>
+ <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>
+ <!-- Table - Conenctions Index -->
</div>
</div>
<!-- Page Content -->