Updated homepage and added incident detail page
Widened the site/service column on homepage to allow for longer site names. Added page for incident, modified link on status page to link to incident history. Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
@@ -4,19 +4,19 @@
|
||||
<h2>{$site_title}</h2>
|
||||
</div>
|
||||
<div class="span2">
|
||||
<a href="{$base_uri}admin/add-incident/" class="btn small">Add Incident</a>
|
||||
{if $display_admin_links}<a href="{$base_uri}admin/add-incident/" class="btn small">Add Incident</a>{/if}
|
||||
</div>
|
||||
</div>
|
||||
<table class="bordered-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Service</th>
|
||||
<th class="status">Now</th>
|
||||
<th width="200px">Service / Site</th>
|
||||
<th class="status" width="50px">Now</th>
|
||||
{foreach from=array(0,1,2,3,4,5,6) item=day}
|
||||
{if $day == 0}
|
||||
<th class="status">Today</th>
|
||||
<th class="status" width="50px">Today</th>
|
||||
{else}
|
||||
<th class="status">{mktime(0,0,0,date("n"),date("j")-$day)|date_format:"M j"}</th>
|
||||
<th class="status" width="50px">{mktime(0,0,0,date("n"),date("j")-$day)|date_format:"M j"}</th>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user