mirror of
https://github.com/Evolix/chexpire.git
synced 2024-04-25 13:33:04 +02:00
First design for checks list.
This commit is contained in:
parent
12149bcf9f
commit
f4921f5751
|
@ -6,3 +6,41 @@
|
|||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
.btn.btn-sm {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.SSL, .ssl:hover, .btn.btn-sm.btn-info.active.ssl {
|
||||
background-color: map-get($theme-colors, quaternary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-outline-info.domain:hover, .btn.btn-sm.btn-outline-info.ssl:hover, .btn.btn-sm.btn-outline-info.with_error:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-info.ssl, .btn.btn-sm.btn-outline-info.ssl {
|
||||
border-color: map-get($theme-colors, quaternary);
|
||||
color: map-get($theme-colors, quaternary);
|
||||
}
|
||||
|
||||
.Domaine, .Domain, .domain:hover, .btn.btn-sm.btn-info.active.domain {
|
||||
background-color: map-get($theme-colors, primary);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-info.domain, .btn.btn-sm.btn-outline-info.domain {
|
||||
border-color: map-get($theme-colors, primary);
|
||||
color: map-get($theme-colors, primary);
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-outline-info.with_error {
|
||||
border-color: map-get($theme-colors, tertiary);
|
||||
color: map-get($theme-colors, tertiary);
|
||||
}
|
||||
|
||||
.btn.btn-sm.btn-outline-info.with_error:hover, .btn.btn-sm.btn-info.active.with_error {
|
||||
background-color: map-get($theme-colors, tertiary);
|
||||
border-color: map-get($theme-colors, tertiary);
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
<% Check.kinds.keys.map(&:to_sym).each do |kind_name| %>
|
||||
<%= link_to t(".kind_#{kind_name}"),
|
||||
checks_path(check_button_criterias(kind: kind_name)),
|
||||
class: check_button_scope_class(kind: kind_name) %>
|
||||
class: check_button_scope_class(kind: kind_name) + " " + kind_name.to_s %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= link_to t(".with_error"),
|
||||
checks_path(check_button_criterias(recurrent_failures: true)),
|
||||
class: check_button_scope_class(recurrent_failures: true) %>
|
||||
class: check_button_scope_class(recurrent_failures: true) + " with_error" %>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<% checks.each do |check| %>
|
||||
<tr class="check-row <%= check_row_class(check) %>">
|
||||
<td class="kind">
|
||||
<span class="badge badge-info"><%= t(".kind_labels.#{check.kind}") %></span>
|
||||
<span class="badge badge-info <%= t(".kind_labels.#{check.kind}") %>"><%= t(".kind_labels.#{check.kind}") %></span>
|
||||
</td>
|
||||
<td>
|
||||
<%= check_error(check) if check_in_error?(check) %>
|
||||
|
|
Loading…
Reference in a new issue