21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-22 10:18:48 +02:00
chexpire/app/views/checks/index.html.erb

24 lines
851 B
Plaintext
Raw Normal View History

<% # Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr> %>
<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
2018-07-04 12:33:50 +02:00
<div class="container-fluid">
<div class="row justify-content-center">
2018-07-05 09:54:29 +02:00
<div class="col-12 col-lg-10 col-xl-9">
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>