]> CyberLeo.Net >> Repos - CDN/status.git/blob - views/index.erb
Add port to database check; close connection after check
[CDN/status.git] / views / index.erb
1 <!DOCTYPE html PUBLIC>
2 <html>
3  <head>
4   <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
5   <style type="text/css">
6 .up {
7   color: black;
8   background-color: #0F0;
9 }
10 .down {
11   color: white;
12   background-color: red;
13   font-weight: bold;
14 }
15   </style>
16  </head>
17  <body>
18   <div>
19 <% results.each do |result| %>
20    <%= erb :result, :locals => { :result => result } %>
21 <% end %>
22   </div>
23  </body>
24 </html>