Permalink
Browse files

added new icons, change headers, minimal aesthetical changes

  • Loading branch information...
iloire committed Aug 25, 2012
1 parent 9cb87c5 commit 2bf6f16d5c03f4fd91db38713b8cd0f63ca6b533
Showing with 16 additions and 14 deletions.
  1. +9 −7 webserver/views/details.html
  2. +6 −6 webserver/views/list.html
  3. +1 −1 webserver/views/partial/display_logs_list.html
@@ -1,10 +1,12 @@
-<a style="float:right" href="/" class="btn primary">back to list</a>
+<a style="float:right" href="/" class="btn primary"><i class="icon-chevron-left"></i> back to list</a>
-<h2><%=title%></h2>
-
-<h2 class="<%=service.data.status%>"><img class="status_icon" src="/images/<%=service.data.status%>.png" alt="<%=service.data.status%>" /> <%=service.data.status%></h2>
-
-<div style="clear:both"></div>
+<h2>
+ <%=title%>
+ <small>
+ current status: <img class="status_icon" src="/images/<%=service.data.status%>.png" alt="<%=service.data.status%>" /> <%=service.data.status%>
+ </
+ </small>
+</h2>
<div class="row-fluid">
<div class="span6">
@@ -15,4 +17,4 @@ <h2 class="<%=service.data.status%>"><img class="status_icon" src="/images/<%=se
</div>
</div>
-<a href="/" class="btn primary">back to list</a>
+<a href="/" class="btn primary"><i class="icon-chevron-left"></i> back to list</a>
View
@@ -2,16 +2,16 @@
<table class="table sorted table-striped table-condensed">
<thead>
- <th width="30"></th>
+ <th width="40"></th>
<th width="80">Ping type</th>
<th>Service</th>
- <th width="10%"><span title="Average response time (milliseconds)">AVG res. (ms)</span></th>
+ <th width="80"><span title="Average response time (milliseconds)">AVG res.</span></th>
<th width="70">outages</th>
<th width="14%">last outage</th>
- <th width="80">warnings</th>
+ <th width="75">warnings</th>
<th width="14%">last warning</th>
- <th width="14%">uptime</th>
- <th width="60"></th>
+ <th width="10%">uptime</th>
+ <th width="90"></th>
</thead>
<tbody>
@@ -92,7 +92,7 @@
</td>
<td>
- <a class="btn primary" href="/details?service={{name}}&host={{host.name}}">details</a>
+ <a class="btn primary" href="/details?service={{name}}&host={{host.name}}"><i class="icon-th-list"></i> details</a>
</td>
</tr>
{{/each}}
@@ -13,7 +13,7 @@ <h3><%=log_type%></h3>
</time>
</td>
<td>
- <span class="<%=log.type%>"><%=log.msg%></span>
+ <span class="<%=log.status%>"><%=log.msg%></span>
</td>
</tr>
<%

0 comments on commit 2bf6f16

Please sign in to comment.