mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-22 17:20:58 +02:00
35 lines
940 B
Plaintext
35 lines
940 B
Plaintext
<div class="mb-4">
|
|
<table class="table table-checks">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col"></th>
|
|
<th scope="col">Domain</th>
|
|
<th scope="col">Expiry date</th>
|
|
<th scope="col">Edit</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% checks.each do |check| %>
|
|
<tr class="check-row <%= check_row_class(check) %>">
|
|
<td>
|
|
<span class="badge badge-secondary"><%= check_kind_label(check) %></span>
|
|
</td>
|
|
<td>
|
|
<strong><%= check.domain %></strong>
|
|
</td>
|
|
<td>
|
|
<%= format_utc(check.domain_expires_at) if check.domain_expires_at.present? %>
|
|
</td>
|
|
<td class="action">
|
|
<%= link_to edit_check_path(check) do %>
|
|
<%== Octicons::Octicon.new("pencil").to_svg %>
|
|
<% end %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<%= paginate @checks %>
|