@@ -1,14 +1,18 @@
+<!doctype html>
<html>
<head>
<title>Is Hacklabbo open?</title>
+ <style>
+ body {
+ text-align: center;
+ }
+ .date {
+ font-size: 9pt;
+ </style>
</head>
<body>
- <center><h1>
- <% if state[:open] %>
- <%= "yes" %>
- <% else %>
- <%= "no"%>
- <% end %>
- </h1>b</center>
+ <h1><%= state[:open] ? "yes" : "no" %></h1>
+ <em class="date">last update <%= state[:date].nil? ? "never" : state[:date].to_s %></em>
</body>
</html>