app/views/phcscriptcdnpro/script/licences/index.html.erb in phcscriptcdnpro-3.3.1 vs app/views/phcscriptcdnpro/script/licences/index.html.erb in phcscriptcdnpro-3.3.3
- old
+ new
@@ -20,37 +20,60 @@
<!-- Main Content -->
<div class="row">
<div class="col-lg-12">
- <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>
+ <div class="portlet light">
- <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 class="portlet-title">
- <%= link_to 'New Script Licence', new_script_licence_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_licence_path, class: "btn blue-chambray" do %>
+ <i class="fa fa-plus"></i> Add New Software Licence
+ <% 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>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| %>
+ <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>
+ </div>
+
+ </div>
</div>
</div>