21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-01 16:30:49 +02:00
chexpire/app/views/checks/index.html.erb
2018-08-02 00:29:53 +02:00

24 lines
851 B
Plaintext

<% # Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr> %>
<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-12 col-lg-10 col-xl-9">
<% 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 %>
<h1 class="mb-3 mb-sm-5"><%= t(".title") %></h1>
<%= render "filters" %>
<% if @checks.any? %>
<%= render "table", checks: @checks %>
<% else %>
<div class="alert alert-warning"><%= t(".no_matching_check") %></div>
<% end %>
<% end %>
</div>
</div>
</div>