app/views/bjond_registrations/index.html.erb in bjond-api-0.1.5 vs app/views/bjond_registrations/index.html.erb in bjond-api-0.2.0
- old
+ new
@@ -1,32 +1,37 @@
-<p id="notice"><%= notice %></p>
+<div class="bjond-registration">
+ <p id="notice"><%= notice %></p>
-<h1>Listing Bjond Registrations</h1>
+ <div class="bjond-app-title">Listing Bjond Registrations</div>
-<table>
- <thead>
- <tr>
- <th>Server</th>
- <th>Encrypted Encryption Key</th>
- <th colspan="3"></th>
- </tr>
- </thead>
- <tbody>
- <% @bjond_registrations.each do |bjond_registration| %>
- <tr>
- <td><%= bjond_registration.server %></td>
- <td><%= bjond_registration.encrypted_encryption_key %></td>
- <td><%= link_to 'Show', bjond_registration %></td>
- <td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
- <td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
- </tr>
- <% end %>
- </tbody>
-</table>
+ <div class="bjond-registration-list">
+ <table class="bjond-table">
+ <thead>
+ <tr class="bjond-table-row">
+ <th>Server</th>
+ <th>Encrypted Encryption Key</th>
+ <th colspan="3"></th>
+ </tr>
+ </thead>
-<br>
+ <tbody>
+ <% @bjond_registrations.each do |bjond_registration| %>
+ <tr class="bjond-table-row">
+ <td><%= bjond_registration.server %></td>
+ <td><%= bjond_registration.encrypted_encryption_key %></td>
+ <td><%= link_to 'Show', bjond_registration %></td>
+ <td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
+ <td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ </tr>
+ <% end %>
+ </tbody>
+ </table>
-<%= link_to 'New Bjond registration', new_bjond_registration_path %>
+ <div class="new-registration-link">
+ <%= link_to 'New Bjond registration', new_bjond_registration_path %>
+ </div>
+ </div>
-<%= render 'shared/app_info.html' %>
\ No newline at end of file
+ <%= render 'shared/app_info.html' %>
+</div>