Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
added new icons, change headers, minimal aesthetical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iloire committed Aug 25, 2012
1 parent 9cb87c5 commit 2bf6f16
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
16 changes: 9 additions & 7 deletions webserver/views/details.html
Original file line number Diff line number Diff line change
@@ -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">
Expand All @@ -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>
12 changes: 6 additions & 6 deletions webserver/views/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion webserver/views/partial/display_logs_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
<%
Expand Down

0 comments on commit 2bf6f16

Please sign in to comment.