app/views/phcpress/modules/categories/index.html.erb in phcpress-42.0.0 vs app/views/phcpress/modules/categories/index.html.erb in phcpress-43.0.0
- old
+ new
@@ -2,65 +2,39 @@
<% phc_title "Plugin: Article Category Manager" %>
<% phc_title_tagline "Category Index" %>
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
<!-- Title System -->
-<!-- Page Title Bar -->
-<section class="content-header">
- <!-- Page Title and BreadCrumb -->
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
- <ol class="breadcrumb">
- <li><%= yield(:phc_breadcrumb_one) %></li>
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
- </ol>
- <!-- Page Title and BreadCrumb -->
-</section>
-<!-- Page Title Bar -->
-
-<!-- Main Content -->
-<section class="content">
- <div class="row">
- <div class="col-lg-12">
- <div class="box">
- <div class="box-header with-border">
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
- </div>
- <div class="box-body">
-
- <!-- Index Table -->
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr>
- <th>Category Name</th>
- <th></th>
- </tr>
- </thead>
-
- <tbody>
- <% @modules_categories.each do |modules_category| %>
- <tr>
- <td><%= modules_category.catname %></td>
- <td><div class="btn-group" role="group" aria-label="Blog Articles">
- <%= link_to 'Edit', edit_modules_category_path(modules_category), class: "btn btn-primary btn-xs" %>
- <%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
- </div>
- </td>
- </tr>
- <% end %>
- </tbody>
- </table>
- </div>
- <!-- Index Table -->
-
- <!-- Panel Footer -->
- <div class="box-footer clearfix">
- <%= link_to 'New Category', new_modules_category_path, class: "btn btn-primary" %>
- </div>
- <!-- Panel Footer -->
-
- </div>
- </div>
+<!-- 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>
-</section>
-<!-- Main Content -->
+ <div class="panel-body">
+ <!-- Table - Category Index -->
+ <div class="table-responsive">
+ <table class="table table-striped table-bordered table-hover dataTables-example">
+ <thead>
+ <tr>
+ <th>Category Name</th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ <% @modules_categories.each do |modules_category| %>
+ <tr>
+ <td><%= link_to modules_category.catname, phcpress.edit_modules_category_path(modules_category) %></td>
+ <td><%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
+ </div>
+ <!-- Table - Category Index -->
+ </div>
+</div>
+<!-- Page Content -->