2018-08-02 00:09:29 +02:00
|
|
|
<% # 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">
|
2018-05-29 13:11:22 +02:00
|
|
|
<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? %>
|
2018-05-29 13:11:22 +02:00
|
|
|
<div class="alert alert-info">
|
2018-07-03 17:38:06 +02:00
|
|
|
<%= t(".no_check_yet_html", new_domain_path: new_check_path(kind: :domain), new_ssl_path: new_check_path(kind: :ssl)) %>
|
2018-05-29 13:11:22 +02:00
|
|
|
</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 %>
|
2018-05-29 13:11:22 +02:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|