UI updates to admin page and bug fixes, added readme

Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
Nathan Booth
2011-12-31 12:40:40 +00:00
parent d243bd65d2
commit b50d5e50dc
4 changed files with 34 additions and 9 deletions

21
README.md Executable file
View File

@@ -0,0 +1,21 @@
StatusBoard
=============
StatusBoard is a simple PHP web-based tool for displaying the status of services. Administrators can manually record incidents and provide estimated end times and simple descriptions. This tool is suitable for exposing status information to customers or other third parties and does not need to be connected to internal systems.
Features
-------
#Customisable list of Services and Sites.
#Manual reporting and status changes for Incidents.
#Multiple severity levels.
#Full admin UI.
Requirements
------------
PHP
MYSQL
Smarty
sihnon-php-lib: https://github.com/optiz0r/sihnon-php-lib

View File

@@ -15,7 +15,7 @@
<h3>Alerts</h3>
</div>
<div class="span11 column">
<p>
<p style="padding-top:10px">
There {StatusBoard_Formatting::pluralise(count($incidents_near_deadline), 'is', 'are')} {$incidents_near_deadline|count} {StatusBoard_Formatting::pluralise(count($incidents_near_deadline), 'incident', 'incidents')}
within 1 hour of the current estimated end time.
</p>
@@ -43,8 +43,8 @@
<div class="span4 column">
<h3>Statistics</h3>
</div>
<div class="span11 column">
<table>
<div class="span11 column" style="padding-top:10px">
<table class="bordered-table condensed-table" >
<thead>
<tr>
<th>Statistic</th>
@@ -53,19 +53,23 @@
</thead>
<tbody>
<tr>
<td><strong>Services</strong></td>
<td>Services</td>
<td>{$service_count}</td>
</tr>
<tr>
<td><strong>Sites</strong></td>
<td>Sites</td>
<td>{$site_count}</td>
</tr>
<tr>
<td><strong>Incidents</strong></td>
<td>Incidents</td>
<td>{array_sum(array_values($incident_counts))}</td>
</tr>
<tr>
<td>Major</td>
<th>Incident Statistics</th>
<th>Count</th>
</tr>
<td>Major</td>
<td>{$incident_counts[StatusBoard_Status::STATUS_Major]}</td>
</tr>
<tr>

View File

@@ -1,4 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML>
<html>
<head>
<title>Status Board</title>

View File

@@ -57,7 +57,7 @@
<div class="span3 column"><!--New description-->
<h3 class="status">{$start|date_format:"d M Y"}</h3>
<p>{$incidentCount} {StatusBoard_Formatting::pluralise($incidentCount,'incident','incidents')}</p>
<p style="font-size:small"> Note: Click on incident number to see incident audit trail</p>
{if $incidentsDuring}<p style="font-size:small"> Note: Click on incident number to see incident audit trail</p>{/if}
</div>
<div class="span12 column" style="margin-bottom:-40px">
{if $incidentsDuring}