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

- old
+ new

@@ -1,59 +1,52 @@ <!-- Title System --> <% phc_title "Script Listings Manager" %> <% phc_title_tagline "Script Version Index" %> -<% phc_breadcrumb_one yield(:phc_title_tagline) %> +<% phc_breadcrumb_one link_to "Script Index", phcscriptcdn.script_listings_path %> +<% phc_breadcrumb_two link_to "Script Version Index", phcscriptcdn.script_versions_path %> +<% phc_breadcrumb_three 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 --> +<!-- Page Bradcrumbs --> +<ol class="breadcrumb pull-right"> + <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li> + <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li> + <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></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 --> + +<!-- 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>Script Version</th> + </tr> + </thead> + <tbody> + <% @script_versions.each do |script_version| %> + <tr> + <td><%= link_to script_version.scriptversion, script_version %></td> + </tr> + <% end %> + </tbody> + </table> - <!-- Index Table --> - <div class="table-responsive"> - <table class="table table-bordered table-striped table-hover"> - <thead> - <tr> - <th>Script Version</th> - </tr> - </thead> - <tbody> - <% @script_versions.each do |script_version| %> - <tr> - <td><%= link_to script_version.scriptversion, script_version %></td> - </tr> - <% end %> - </tbody> - </table> - </div> - <!-- Index Table --> - - <!-- Panel Footer --> - <div class="box-footer clearfix"> - <%= link_to 'New Script Version', new_script_version_path, class: "btn btn-primary" %> - </div> - <!-- Panel Footer --> - - </div> - </div> </div> </div> -</section> -<!-- Main Content --> +</div> +<!-- Page Content -->