app/views/phcscriptcdnpro/script/listings/index.html.erb in phcscriptcdnpro-3.3.1 vs app/views/phcscriptcdnpro/script/listings/index.html.erb in phcscriptcdnpro-3.3.3

- old
+ new

@@ -20,32 +20,54 @@ <!-- Main Content --> <div class="row"> <div class="col-lg-12"> - <!-- Main Content --> - <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> + <div class="portlet light"> - <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 class="portlet-title"> - <%= link_to 'New Script Listing', new_script_listing_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_path, class: "btn blue-chambray" do %> + <i class="fa fa-plus"></i> Add New CDN Listing + <% end %> + </div> + + </div> + + <div class="portlet-body"> + + <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> + + </div> + + </div> </div> </div>