You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>TLS status</title>
<link rel="stylesheet" href="knacss.css">
<table class="table table--zebra table--auto">
<th rowspan="2">Domain</th>
<td rowspan="2">Grade</td>
<td colspan="2">Certificates</td>
<td colspan="5">Protocols</td>
<td colspan="4">Ciphers</td>
<td colspan="5">Best practices</td>
<td class="alert--inverse">SSLv2</td>
<td class="alert--inverse">SSLv3</td>
<td class="alert--danger">TLSv1.0</td>
<td class="alert--warning">TLSv1.1</td>
<td class="alert--inverse">MD5</td>
<td class="alert--danger">SHA1</td>
<td class="alert--inverse">RC4</td>
<td class="alert--danger">DES/3DES</td>
<td class="alert--warning">DHE</td>
<% @analysis.each do |analysis| %>
<th colspan="18"><%= %></th>
<% analysis.result.sort { |a, b| a[:ip] <=> b[:ip] }.each do |result| %>
<td><%= result[:ip] %></td>
<td class="<%= grade_color result[:grade] %>"><%= result[:grade] %></td>
<% end %>
<% end %>