app/views/phcpresspro/article/categories/index.html.erb in phcpresspro-86.4.0 vs app/views/phcpresspro/article/categories/index.html.erb in phcpresspro-87.0.0

- old
+ new

@@ -1,65 +1,66 @@ -<!-- Title System --> +<!-- -PHCDEV- Title Variables --> <% phc_title "Article Category Manager" %> <% phc_title_tagline "Category Index" %> <% phc_breadcrumb_one yield(:phc_title) %> <% phc_breadcrumb_two link_to "Category Index", phcpresspro.article_categories_path %> <% phc_breadcrumb_three yield(:phc_title_tagline) %> -<!-- Title System --> +<!-- -PHCDEV- Title Variables --> -<!-- Page Bradcrumbs --> -<ol class="breadcrumb pull-right"> - <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li> - <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li> +<!-- -PHCDEV- Bradcrumbs --> +<ol class="breadcrumb float-xl-end"> +<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li> +<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li> </ol> -<!-- Page Bradcrumbs --> +<!-- -PHCDEV- Bradcrumbs --> -<!-- Page Header --> +<!-- -PHCDEV- Header --> <h1 class="page-header"><%= yield(:phc_title) %></h1> -<!-- Page Header --> +<!-- -PHCDEV- Header --> -<!-- Page & Panel Content --> +<!-- -PHCDEV- Panel --> <div class="panel panel-inverse"> - <!-- Panel Heading --> - <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> - <!-- Panel Heading --> - <!-- Panel Body --> - <div class="panel-body"> - <!-- Table - Category Index --> + + <!-- -PHCDEV- Panel - Heading --> + <div class="panel-heading"> + <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4> + </div> + <!-- -PHCDEV- Panel - Heading --> + + <!-- -PHCDEV- Panel - Body --> + <div class="panel-body"> + + <!-- -PHCDEV- Table - Category Index --> <div class="table-responsive"> <table class="table table-striped table-bordered"> <thead> <tr> - <th>Category Name</th> - <th></th> + <th>Category Name</th> + <th></th> </tr> </thead> <tbody> <% @article_categories.each do |article_category| %> <tr> - <td style="width: 70%"><%= link_to article_category.category_name, phcpresspro.edit_article_category_path(article_category) %></td> - <td style="width: 30%"> - <div class="btn-group d-flex" role="group"> - <%= link_to 'Update Category', edit_article_category_path(article_category), class: "btn btn-primary btn-xs" %> - <%= link_to 'Remove Category', article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %> - </div> - </td> + <td style="width: 70%"><%= link_to article_category.category_name, phcpresspro.edit_article_category_path(article_category) %></td> + <td style="width: 30%"> + <div class="btn-group d-flex" role="group"> + <%= link_to "Update Category", edit_article_category_path(article_category), class: "btn btn-primary btn-xs" %> + <%= link_to "Remove Category", article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %> + </div> + </td> </tr> <% end %> </tbody> </table> <%= link_to phcpresspro.new_article_category_path, class: "btn btn-primary btn-sm" do %> <i class="fas fa-plus-circle"></i> <%= "Add a New Article Category" %> <% end %> </div> - <!-- Table - Category Index --> + <!-- -PHCDEV- Table - Category Index --> + </div> + <!-- -PHCDEV- Panel - Body --> + </div> -<!-- Page Content --> +<!-- -PHCDEV- Panel -->