app/views/phcscriptcdnpro/script/versions/index.html.erb in phcscriptcdnpro-3.3.1 vs app/views/phcscriptcdnpro/script/versions/index.html.erb in phcscriptcdnpro-3.3.3
- old
+ new
@@ -21,25 +21,48 @@
<!-- Main Content -->
<div class="row">
<div class="col-lg-12">
- <table class="table table-striped table-bordered table-advance table-hover">
- <thead>
- <tr>
- <th>Script Version</th>
- </tr>
- </thead>
+ <div class="portlet light">
- <tbody>
- <% @script_versions.each do |script_version| %>
- <tr>
- <td><%= link_to script_version.scriptversion, script_version %></td>
- </tr>
- <% end %>
- </tbody>
- </table>
+ <div class="portlet-title">
- <%= link_to 'New Script Version', new_script_version_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_version_path, class: "btn blue-chambray" do %>
+ <i class="fa fa-plus"></i> Add New Version
+ <% end %>
+ </div>
+
+ </div>
+
+ <div class="portlet-body">
+
+ <div class="table-responsive">
+ <table class="table table-bordered table-striped table-hover">
+
+ <thead>
+ <tr>
+ <th>Script Version</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <% @script_versions.each do |script_version| %>
+ <tr>
+ <td><%= link_to script_version.scriptversion, script_version %></td>
+ </tr>
+ <% end %>
+ </tbody>
+
+ </table>
+ </div>
+
+ </div>
+
+ </div>
</div>
</div>