mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
21 lines
468 B
Text
21 lines
468 B
Text
<h1>
|
|
Server Log: <%= h @server %>
|
|
</h1>
|
|
|
|
<div class="box wide">
|
|
<table class="data">
|
|
<tr>
|
|
<th width="10%">Date</th>
|
|
<th width="10%">Type</th>
|
|
<th width="80%">Message</th>
|
|
</tr>
|
|
|
|
<% @server.logs.each do |log| %>
|
|
<tr class="<%= cycle('even', 'odd') %>">
|
|
<td><%= shorttime log.created_at %></td>
|
|
<td><%= log.domains[log.domain] %></td>
|
|
<td><%= h log.text %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
</div>
|