app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-4.1.5 vs app/views/phcpresspro/modules/connections/index.html.erb in phcpresspro-4.1.6
- old
+ new
@@ -1,25 +1,34 @@
-<p id="notice"><%= notice %></p>
+<!-- Main Content -->
+<div class="wrapper wrapper-content">
+ <div class="panel panel-primary">
-<h1>Modules Connections</h1>
+ <div class="panel-heading">
+ <i class="fa fa-list-ul"></i> Connections List
+ </div>
-<table>
- <thead>
- <tr>
- <th colspan="3"></th>
- </tr>
- </thead>
+ <div class="panel-body">
- <tbody>
- <% @modules_connections.each do |modules_connection| %>
- <tr>
- <td><%= link_to 'Show', modules_connection %></td>
- <td><%= link_to 'Edit', edit_modules_connection_path(modules_connection) %></td>
- <td><%= link_to 'Destroy', modules_connection, method: :delete, data: { confirm: 'Are you sure?' } %></td>
- </tr>
- <% end %>
- </tbody>
-</table>
+ <table class="table table-bordered table-striped table-hover">
+ <thead>
+ <tr>
+ <th colspan="3"></th>
+ </tr>
+ </thead>
-<br>
+ <tbody>
+ <% @modules_connections.each do |modules_connection| %>
+ <tr>
+ <td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
+ <td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
+ <td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
-<%= link_to 'New Modules Connection', new_modules_connection_path %>
+ <%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>
+
+ </div>
+
+ </div>
+</div>