app/views/phcscriptcdn/script/listings/index.html.erb in phcscriptcdn-4.3.2 vs app/views/phcscriptcdn/script/listings/index.html.erb in phcscriptcdn-4.3.3

- old
+ new

@@ -1,56 +1,57 @@ <!-- Title System --> <% phc_title "Script Listings Manager" %> <% phc_title_tagline "Script Listing Index" %> +<% phc_breadcrumb_one yield(:phc_title_tagline) %> <!-- Title System --> -<!-- Page Header --> -<div class="row"> - <div class="col-lg-12"> +<!-- 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 --> - <!-- Bread Crumbs --> - <ol class="breadcrumb"> - <li class="active"><%= yield(:phc_title_tagline) %></li> - </ol> - <!-- Bread Crumbs --> - - <!-- Page Title --> - <h3 class="page-title"> - <%= yield(:phc_title) %> </br> - <small><%= yield(:phc_title_tagline) %></small> - </h3> - <!-- Page Title --> - - </div> -</div> -<!-- Page Header --> - <!-- Main Content --> -<div class="row"> - <div class="col-lg-12"> +<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"> - <table class="table table-striped table-bordered table-advance 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> + <table class="table table-striped table-bordered table-advance 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> + + <%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %> - <%= link_to 'New Script Listing', new_script_listing_path, class: "btn btn-primary" %> - + </div> + </div> + </div> </div> -</div> +</section> <!-- Main Content -->