app/views/phcscriptcdnpro/script/authors/index.html.erb in phcscriptcdnpro-3.3.1 vs app/views/phcscriptcdnpro/script/authors/index.html.erb in phcscriptcdnpro-3.3.3
- old
+ new
@@ -20,33 +20,54 @@
<!-- Main Content -->
<div class="row">
<div class="col-lg-12">
- <table class="table table-striped table-bordered table-advance table-hover">
- <thead>
- <tr>
- <th>Author Firstname</th>
- <th>Author Lastname</th>
- <th>Author Website</th>
- <th>Author Github</th>
- <th>Author Twitter</th>
- </tr>
- </thead>
+ <div class="portlet light">
- <tbody>
- <% @script_authors.each do |script_author| %>
- <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>
- </tr>
- <% end %>
- </tbody>
- </table>
+ <div class="portlet-title">
- <%= link_to 'New Script Author', new_script_listing_author_path, class: "btn btn-primary" %>
+ <div class="caption">
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
+ </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| %>
+ <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>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
+
+ </div>
+ </div>
+
+ </div>
</div>
</div>