app/views/phcscriptcdnpro/script/authors/index.html.erb in phcscriptcdnpro-4.5.9 vs app/views/phcscriptcdnpro/script/authors/index.html.erb in phcscriptcdnpro-4.5.10

- old
+ new

@@ -1,73 +1,80 @@ <!-- Title System --> -<% phc_title "Script Authors" %> +<% phc_title "Script Listing Manager" %> <% phc_title_tagline "Script Author Index" %> +<!-- Title System --> -<!-- Bread Crumb --> -<div class="page-bar"> - - <ul class="page-breadcrumb"> - <li><%= link_to "Script Listings Index", script_listings_path %> <i class="fa fa-circle"></li> - <li class="active"><%= yield(:phc_title_tagline) %></li> - </ul> - +<!-- Page Header --> +<div class="row wrapper border-bottom white-bg page-heading"> + <div class="col-sm-4"> + <h2><%= yield(:phc_title) %></h2> + <!-- Bread Crumb --> + <ol class="breadcrumb"> + <li><%= link_to "Script Listing Index", phcscriptcdnpro.script_listings_path %></li> + <li class="active"><%= yield(:phc_title_tagline) %></li> + </ol> + </div> + <div class="col-sm-8"> + <div class="title-action"> + <%= link_to phcscriptcdnpro.new_script_version_path, class: "btn btn-primary" do %> + <i class="fa fa-plus"></i> Create a New Script Version + <% end %> + </div> + </div> </div> +<!-- Page Header --> -<!-- Page Title --> -<h3 class="page-title"> - <%= yield(:phc_title) %> </br> - <small><%= yield(:phc_title_tagline) %></small> -</h3> - -<!-- Main Content --> -<div class="row"> - <div class="col-lg-12"> +<!-- Page Content --> +<div class="wrapper wrapper-content animated fadeInRight"> - <div class="portlet light"> + <div class="row"> + <div class="col-lg-12"> - <div class="portlet-title"> + <div class="ibox float-e-margins"> - <div class="caption"> - <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span> + <div class="ibox-title"> + <h5><%= yield(:phc_title_tagline) %></h5> + <div class="ibox-tools"> + <a class="collapse-link"> + <i class="fa fa-chevron-up"></i> + </a> + <a class="close-link"> + <i class="fa fa-times"></i> + </a> + </div> </div> - <div class="actions"> - <%= link_to phcscriptcdnpro.new_script_listing_author_path, class: "btn blue-chambray" do %> - <i class="fa fa-plus"></i> Create an Author - <% end %> - </div> - </div> - - <div class="portlet-body"> - <div class="table-responsive"> - - <table class="table table-striped table-bordered table-hover table-header-fixed"> - <thead> - <tr> - <th>Author Firstname</th> - <th>Author Lastname</th> - <th>Author Website</th> - <th>Author Github</th> - <th>Author Twitter</th> - </tr> - </thead> - - <tbody> - <% @script_authors.each do |script_author| %> + <div class="ibox-content"> + <div class="table-responsive"> + <table class="table table-striped table-bordered table-hover dataTables-example"> + <thead> <tr> - <td><%= link_to script_author.authorfirstname, script_listing_author_path(script_author.listing, script_author) %></td> - <td><%= link_to script_author.authorlastname, script_listing_author_path(script_author.listing, script_author) %></td> - <td><%= link_to script_author.authorwebsite, script_listing_author_path(script_author.listing, script_author) %></td> - <td><%= link_to script_author.authorgithub, script_listing_author_path(script_author.listing, script_author) %></td> - <td><%= link_to script_author.authortwitter, script_listing_author_path(script_author.listing, script_author) %></td> + <th>Author Firstname</th> + <th>Author Lastname</th> + <th>Author Website</th> + <th>Author Github</th> + <th>Author Twitter</th> </tr> - <% end %> - </tbody> - </table> - + </thead> + + <tbody> + <% @script_authors.each do |script_author| %> + <tr> + <td><%= link_to script_author.authorfirstname, script_author %></td> + <td><%= link_to script_author.authorlastname, script_author %></td> + <td><%= link_to script_author.authorwebsite, script_author %></td> + <td><%= link_to script_author.authorgithub, script_author %></td> + <td><%= link_to script_author.authortwitter, script_author %></td> + </tr> + <% end %> + </tbody> + </table> + </div> </div> + </div> </div> - </div> + </div> +<!-- Page Content -->