21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-15 06:58:39 +02:00
chexpire/app/views/checks/index.html.erb

22 lines
704 B
Plaintext
Raw Normal View History

2018-07-04 12:33:50 +02:00
<div class="container-fluid">
<div class="row justify-content-center">
2018-07-04 12:33:50 +02:00
<div class="col-12 col-lg-10 col-xl-8">
2018-07-03 20:11:52 +02:00
<% if @checks.empty? && current_scopes.blank? %>
<div class="alert alert-info">
<%= t(".no_check_yet_html", new_domain_path: new_check_path(kind: :domain), new_ssl_path: new_check_path(kind: :ssl)) %>
</div>
<% else %>
2018-07-04 12:33:50 +02:00
<h1 class="mb-3 mb-sm-5"><%= t(".title") %></h1>
<%= render "filters" %>
2018-07-03 20:11:52 +02:00
<% if @checks.any? %>
<%= render "table", checks: @checks %>
<% else %>
<div class="alert alert-warning"><%= t(".no_matching_check") %></div>
<% end %>
<% end %>
</div>
</div>
</div>