app/views/phcscriptcdn/script/licences/index.html.erb in phcscriptcdn-4.3.10 vs app/views/phcscriptcdn/script/licences/index.html.erb in phcscriptcdn-5.0.0

- old
+ new

@@ -24,37 +24,45 @@ <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>Licence Name</th> - <th>GPLv3 Compatible</th> - <th>FSF Approval</th> - <th>OSI Approval</th> - <th>CopyFree Approval</th> - <th>Debian Approval</th> - <th>Fedora Approval</th> - </tr> - </thead> - <tbody> - <% @script_licences.each do |script_licence| %> + <!-- Index Table --> + <div class="table-responsive"> + <table class="table table-bordered table-striped table-hover"> + <thead> <tr> - <td><%= link_to script_licence.lcncname, script_licence %></td> - <td><%= link_to script_licence.lcnccomgpl, script_licence %></td> - <td><%= link_to script_licence.lcncarvlfsf, script_licence %></td> - <td><%= link_to script_licence.lcncarvlosi, script_licence %></td> - <td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td> - <td><%= link_to script_licence.lcncarvldebian, script_licence %></td> - <td><%= link_to script_licence.lcncarvlfedora, script_licence %></td> + <th>Licence Name</th> + <th>GPLv3 Compatible</th> + <th>FSF Approval</th> + <th>OSI Approval</th> + <th>CopyFree Approval</th> + <th>Debian Approval</th> + <th>Fedora Approval</th> </tr> - <% end %> - </tbody> - </table> - - <%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %> + </thead> + <tbody> + <% @script_licences.each do |script_licence| %> + <tr> + <td><%= link_to script_licence.lcncname, script_licence %></td> + <td><%= link_to script_licence.lcnccomgpl, script_licence %></td> + <td><%= link_to script_licence.lcncarvlfsf, script_licence %></td> + <td><%= link_to script_licence.lcncarvlosi, script_licence %></td> + <td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td> + <td><%= link_to script_licence.lcncarvldebian, script_licence %></td> + <td><%= link_to script_licence.lcncarvlfedora, script_licence %></td> + </tr> + <% end %> + </tbody> + </table> + </div> + <!-- Index Table --> + + <!-- Panel Footer --> + <div class="box-footer clearfix"> + <%= link_to 'New Script Licence', new_script_licence_path, class: "btn btn-primary" %> + </div> + <!-- Panel Footer --> </div> </div> </div> </div>