diff --git a/public/styles/normal.css b/public/styles/normal.css index 930743f..b99761a 100644 --- a/public/styles/normal.css +++ b/public/styles/normal.css @@ -18,6 +18,10 @@ a { color: gray; } +.span12 a, .span11 a{ +color: blue; +} + label { margin-left: 1em; margin-right: 1em; diff --git a/source/webui/templates/fragments/site-status.tpl b/source/webui/templates/fragments/site-status.tpl index 3ddff08..c5b6a2e 100644 --- a/source/webui/templates/fragments/site-status.tpl +++ b/source/webui/templates/fragments/site-status.tpl @@ -1,3 +1,3 @@ - + {include file="fragments/image-status-icon.tpl"} \ No newline at end of file diff --git a/source/webui/templates/home.tpl b/source/webui/templates/home.tpl index af8efde..1e2d0c1 100644 --- a/source/webui/templates/home.tpl +++ b/source/webui/templates/home.tpl @@ -44,11 +44,12 @@ {$status=$site->status()} - {include file="fragments/site-status.tpl" nocache start=null end=null} + {include file="fragments/site-status.tpl" nocache date=null start=null end=null} {foreach from=array(0,1,2,3,4,5,6) item=day} {$start=mktime(0,0,0,date("n"),date("j")-$day)} {$end=mktime(0,0,0,date("n"),date("j")-$day+1)} + {$date=mktime(0,0,0,date("n"),date("j")-$day)|date_format:"jM"} {$incidentsDuring=$site->openIncidentsDuring($start, $end)} {$statusDuring=StatusBoard_Incident::highestSeverityStatusBetween($incidentsDuring, $start, $end)} diff --git a/source/webui/templates/incident.tpl b/source/webui/templates/incident.tpl index ef05ce4..6aff016 100644 --- a/source/webui/templates/incident.tpl +++ b/source/webui/templates/incident.tpl @@ -20,8 +20,8 @@

Service: {$service->name|escape:html}

Site: {$site->name|escape:html}

-

Opened: {$incident->start_time|date_format:'h:i:s y-m-d'}

-

Estimated End: {$incident->estimated_end_time|date_format:'h:i:s y-m-d'}

+

Opened: {$incident->start_time|date_format:'h:i d-M-y'}

+

Estimated End: {ucwords(StatusBoard_DateTime::fuzzyTime($incident->estimated_end_time))}

@@ -31,7 +31,7 @@

The table display an audit log of changes to this incident

- +
@@ -41,8 +41,8 @@ {foreach from=$statuses item=status} diff --git a/source/webui/templates/status.tpl b/source/webui/templates/status.tpl index 2f75f92..ec06b32 100644 --- a/source/webui/templates/status.tpl +++ b/source/webui/templates/status.tpl @@ -2,7 +2,7 @@

Site Status History: {$service->name|escape:html} - {$site->name|escape:html}

-
+

This page details the incident history for a site:

{if $start && $end} {$incidentsDuring=$site->openIncidentsDuring($start, $end)} @@ -53,12 +53,13 @@ {$end=mktime(0,0,0,date("n"),date("j")-$day+1)} {$incidentsDuring=$site->openIncidentsDuring($start, $end)} {$incidentCount=count($incidentsDuring)} -
+

{$start|date_format:"d M Y"}

{$incidentCount} {StatusBoard_Formatting::pluralise($incidentCount,'incident','incidents')}

+

Note: Click on incident number to see incident audit trail

-
+
{if $incidentsDuring}
Date/Time Status
- {StatusBoard_DateTime::fuzzyTime($status->ctime)}
- {$status->ctime|date_format:'y-m-d h:i:s'} + {ucwords(StatusBoard_DateTime::fuzzyTime($status->ctime))}
+ {$status->ctime|date_format:'h:i d-M-y'}
{StatusBoard_Status::name($status->status)} {$status->description|escape:html}
@@ -85,7 +86,7 @@ Still Open {/if} - {if $display_admin_links}{/if} + {if $display_admin_links} {/foreach} @@ -94,7 +95,7 @@

There were no recorded incidents on this day

{/if} - + {/foreach} {/if}
Edit Incident: {$incident->reference|escape:html}{/if}