app/views/phcscriptcdn/script/listings/index.html.erb in phcscriptcdn-48.0.0 vs app/views/phcscriptcdn/script/listings/index.html.erb in phcscriptcdn-49.0.0

- old
+ new

@@ -1,65 +1,56 @@ <!-- Title System --> <% phc_title "Script Listings Manager" %> <% phc_title_tagline "Script Listing Index" %> <% phc_breadcrumb_one yield(:phc_title_tagline) %> +<% phc_breadcrumb_two link_to "Script Index", phcscriptcdn.script_listings_path %> <!-- 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 --> +<!-- 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> +</ol> +<!-- Page Bradcrumbs --> -<!-- 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"> +<!-- Page Header --> +<h1 class="page-header"><%= yield(:phc_title) %></h1> +<!-- Page Header --> - <!-- Index Table --> - <div class="table-responsive"> - <table class="table table-bordered table-striped table-hover"> - <thead> - <tr> - <th>Title</th> - <th>Release Date</th> - <th>Latest Release Date</th> - <th>Beta Release Date</th> - </tr> - </thead> - <tbody> - <% @script_listings.each do |script_listing| %> - <tr> - <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td> - <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td> - <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td> - <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td> - </tr> - <% end %> - </tbody> - </table> - </div> - <!-- Index Table --> +<!-- 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 class="panel-body"> + <!-- Table - Article Index --> + <div class="table-responsive"> + <table class="table table-striped table-bordered"> + <thead> + <tr> + <th>Title</th> + <th>Release Date</th> + <th>Latest Release Date</th> + <th>Beta Release Date</th> + </tr> + </thead> + <tbody> + <% @script_listings.each do |script_listing| %> + <tr> + <td class="vert-align"><%= link_to script_listing.scripttitle, script_listing_path(script_listing) %></td> + <td class="vert-align"><%= link_to script_listing.scriptinitialrelease, script_listing_path(script_listing) %></td> + <td class="vert-align"><%= link_to script_listing.scriptlastestrelease, script_listing_path(script_listing) %></td> + <td class="vert-align"><%= link_to script_listing.scriptbetarelease, script_listing_path(script_listing) %></td> + </tr> + <% end %> + </tbody> + </table> - <!-- Panel Footer --> - <div class="box-footer clearfix"> - <%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %> - </div> - <!-- Panel Footer --> - - </div> - </div> </div> </div> -</section> -<!-- Main Content --> +</div> +<!-- Page Content -->