Updated style with white rounded content boxes and re organised site edit page
Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
@@ -11,6 +11,7 @@ body {
|
|||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
padding: 0em;
|
padding: 0em;
|
||||||
font-family: verdana, helvetica, sans-serif;
|
font-family: verdana, helvetica, sans-serif;
|
||||||
|
background: #F7F7F7;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -109,8 +110,14 @@ div.incident {
|
|||||||
margin-left: 2em;
|
margin-left: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table{
|
||||||
|
background:#fff;
|
||||||
|
}
|
||||||
|
|
||||||
table th, table td {
|
table th, table td {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
line-height: 10px;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
th.service {
|
th.service {
|
||||||
@@ -123,7 +130,6 @@ th.service {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div.page-header{
|
div.page-header{
|
||||||
background:#f5f5f5;
|
|
||||||
margin:10px -5px 20px;
|
margin:10px -5px 20px;
|
||||||
padding:10px 10px 0 10px;
|
padding:10px 10px 0 10px;
|
||||||
-moz-border-radius:5px 5px 0 0;
|
-moz-border-radius:5px 5px 0 0;
|
||||||
@@ -136,7 +142,25 @@ border-bottom: 0px;
|
|||||||
margin: 0 0 0px;
|
margin: 0 0 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table th, table td {
|
|
||||||
line-height: 10px;
|
#my-tab-content{
|
||||||
vertical-align: middle;
|
background:#fff;
|
||||||
|
margin:-20px -5px 20px;
|
||||||
|
Padding-top:20px;
|
||||||
|
padding-left:20px;
|
||||||
|
-moz-border-radius:5px 5px 0 0;
|
||||||
|
-webkit-border-radius:5px;
|
||||||
|
border-left: 1px solid #DDD;
|
||||||
|
border-right: 1px solid #DDD;
|
||||||
|
border-bottom: 1px solid #DDD;
|
||||||
|
}
|
||||||
|
.rounded_content{
|
||||||
|
background:#fff;
|
||||||
|
margin:0 -5px 20px;
|
||||||
|
Padding-top:20px;
|
||||||
|
padding-left:20px;
|
||||||
|
-moz-border-radius:5px 5px 0 0;
|
||||||
|
-webkit-border-radius:5px;
|
||||||
|
border: 1px solid #DDD;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<h3>Current Services</h3>
|
<h3>Current Services</h3>
|
||||||
<p>Click on a Service to edit its properties, or access any of the sites defined under it.</p>
|
<p>Click on a Service to edit its properties, or access any of the sites defined under it.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 column">
|
<div class="span11 column">
|
||||||
{if $services}
|
{if $services}
|
||||||
<table class="bordered-table"><!--Services table -->
|
<table class="bordered-table"><!--Services table -->
|
||||||
<thead>
|
<thead>
|
||||||
@@ -41,8 +41,8 @@
|
|||||||
{$service->description|escape:html}
|
{$service->description|escape:html}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button class='btn primary' onclick="document.location.href='{$base_uri}admin/service/id/{$service->id}/';return false;">Edit Service</button>
|
<button class='btn small primary' onclick="document.location.href='{$base_uri}admin/service/id/{$service->id}/';return false;">Edit Service</button>
|
||||||
<button class='btn danger' onclick="sb.admin.deleteItem('{$base_uri}admin/tab/services/do/delete-service/id/{$service->id}/');">Delete</button>
|
<button class='btn small danger' onclick="sb.admin.deleteItem('{$base_uri}admin/tab/services/do/delete-service/id/{$service->id}/');">Delete</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
@@ -71,20 +71,20 @@
|
|||||||
<h3>Add New Service</h3>
|
<h3>Add New Service</h3>
|
||||||
<p>Use this form to define a new service</p>
|
<p>Use this form to define a new service</p>
|
||||||
</div><!--/New Service description-->
|
</div><!--/New Service description-->
|
||||||
<div class="span12 column"><!--Add New Service -->
|
<div class="span11 column"><!--Add New Service -->
|
||||||
<form id="admin_addservice" method="post" action="{$base_uri}admin/tab/services/do/add-service/">
|
<form id="admin_addservice" method="post" action="{$base_uri}admin/tab/services/do/add-service/">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_service_add_name" style="width:87px">Name</label>
|
<label for="admin_service_add_name" style="width:85px">Name</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<input class="xlarge span5" id="admin_service_add_name" name="name" type="text" value="" />
|
<input class="xlarge span5" id="admin_service_add_name" name="name" type="text" value="" />
|
||||||
</div><!-- /text -->
|
</div><!-- /text -->
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_service_add_description" style="width:87px">Description</label>
|
<label for="admin_service_add_description" style="width:85px">Description</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<textarea class="xxlarge" id="admin_service_add_description" rows="3" name="description"></textarea>
|
<textarea class="xlarge" id="admin_service_add_description" rows="3" name="description"></textarea>
|
||||||
</div><!-- /text -->
|
</div><!-- /text -->
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
|
|||||||
@@ -9,12 +9,13 @@
|
|||||||
<h1>Service {$service->name|escape:html}</h1>
|
<h1>Service {$service->name|escape:html}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="rounded_content">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 column"><!--New description-->
|
<div class="span4 column"><!--New description-->
|
||||||
<h3>Edit Service</h3>
|
<h3>Edit Service</h3>
|
||||||
<p>Use this form to update the existing Service</p>
|
<p>Use this form to update the existing Service</p>
|
||||||
</div><!--/New Service description-->
|
</div><!--/New Service description-->
|
||||||
<div class="span12 column"><!--Add New Service -->
|
<div class="span11 column"><!--Add New Service -->
|
||||||
<form id="admin_service_edit" method="post" action="{$base_uri}admin/service/id/{$service->id}/do/edit/">
|
<form id="admin_service_edit" method="post" action="{$base_uri}admin/service/id/{$service->id}/do/edit/">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
@@ -27,13 +28,13 @@
|
|||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_service_edit_description" style="width:87px">Description</label>
|
<label for="admin_service_edit_description" style="width:87px">Description</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<textarea class="xxlarge" name="textarea" id="admin_service_add_description" rows="3" name="description" >{$service->description|escape:html}</textarea>
|
<textarea class="xlarge" name="textarea" id="admin_service_add_description" rows="3" name="description" >{$service->description|escape:html}</textarea>
|
||||||
</div><!-- /text -->
|
</div><!-- /text -->
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<div class="input">
|
<div class="input">
|
||||||
<input type="submit" class="btn primary" value="Edit Service"> <button type="reset" class="btn">Cancel</button>
|
<input type="submit" class="btn small primary" value="Edit Service"> <button class="btn small" type="reset" class="btn">Cancel</button>
|
||||||
</div><!-- /text -->
|
</div><!-- /text -->
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@@ -46,7 +47,7 @@
|
|||||||
<h3>Existing Sites</h3>
|
<h3>Existing Sites</h3>
|
||||||
<p>Currently the following sites that are defined for the service {$service->name|escape:html}, Edit the site or delete it from the service here, to add a new one use the form below</p>
|
<p>Currently the following sites that are defined for the service {$service->name|escape:html}, Edit the site or delete it from the service here, to add a new one use the form below</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 column">
|
<div class="span11 column">
|
||||||
{if $sites}
|
{if $sites}
|
||||||
<table class="bordered-table" name="sites_list_table"><!--Services table -->
|
<table class="bordered-table" name="sites_list_table"><!--Services table -->
|
||||||
<thead>
|
<thead>
|
||||||
@@ -64,8 +65,8 @@
|
|||||||
{$site->description|escape:html}
|
{$site->description|escape:html}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button class='btn primary' onclick="document.location.href='{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/';return false;">Edit Site</button>
|
<button class='btn small primary' onclick="document.location.href='{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/';return false;">Edit Site</button>
|
||||||
<button style="margin-left:10px" class='btn danger' onclick="sb.admin.deleteItem('{$base_uri}admin/service/do/delete-site/id/{$service->id}/site/{$site->id}/');">Delete Site</button>
|
<button style="margin-left:10px" class='btn small danger' onclick="sb.admin.deleteItem('{$base_uri}admin/service/do/delete-site/id/{$service->id}/site/{$site->id}/');">Delete Site</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
@@ -95,20 +96,20 @@
|
|||||||
<h3>Add Site</h3>
|
<h3>Add Site</h3>
|
||||||
<p>Use this form to define a new site to the service {$service->name|escape:html}</p>
|
<p>Use this form to define a new site to the service {$service->name|escape:html}</p>
|
||||||
</div><!--/New Service description-->
|
</div><!--/New Service description-->
|
||||||
<div class="span12 column">
|
<div class="span11 column">
|
||||||
<form id="admin_addsite" method="post" action="{$base_uri}admin/service/id/{$service->id}/do/add-site/">
|
<form id="admin_addsite" method="post" action="{$base_uri}admin/service/id/{$service->id}/do/add-site/">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_site_add_name" style="width:87px">Name</label>
|
<label for="admin_site_add_name" style="width:85px">Name</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<input class="xlarge span5" id="admin_site_add_name" name="name" type="text" />
|
<input class="xlarge span5" id="admin_site_add_name" name="name" type="text" />
|
||||||
</div><!-- /text -->
|
</div><!-- /text -->
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_site_edit_description" style="width:87px">Description</label>
|
<label for="admin_site_edit_description" style="width:85px">Description</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<textarea class="xxlarge" id="admin_site_add_description" rows="3" name="description" ></textarea>
|
<textarea class="xlarge" id="admin_site_add_description" rows="3" name="description" ></textarea>
|
||||||
</div><!-- /text -->
|
</div><!-- /text -->
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
@@ -121,6 +122,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div><!--/Row for New Service-->
|
</div><!--/Row for New Service-->
|
||||||
|
</div>
|
||||||
</div><!-- /container -->
|
</div><!-- /container -->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|||||||
@@ -4,15 +4,21 @@
|
|||||||
<li class="active"><a href="#">Site {$site->name|escape:html}</a></li>
|
<li class="active"><a href="#">Site {$site->name|escape:html}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h1>Site {$site->name|escape:html}</h1>
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span16">
|
<div class="span16">
|
||||||
|
<h2>Site: {$site->name|escape:html} - Service: {$service->name|escape:html}</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="rounded_content">
|
||||||
|
<div class="row">
|
||||||
|
<div class="span4 column"><!--New description-->
|
||||||
|
<h3>Edit Service</h3>
|
||||||
|
<p>Use this form to update the existing Service</p>
|
||||||
|
</div>
|
||||||
|
<div class="span11 column">
|
||||||
<form id="admin_site_edit" method="post" action="{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/do/edit/">
|
<form id="admin_site_edit" method="post" action="{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/do/edit/">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Edit Site</legend>
|
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_site_edit_name">Name</label>
|
<label for="admin_site_edit_name">Name</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
@@ -23,7 +29,7 @@
|
|||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<label for="admin_site_edit_description">Description</label>
|
<label for="admin_site_edit_description">Description</label>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<textarea class="span12" id="admin_site_edit_description" name="description">{$site->description|escape:html}</textarea>
|
<textarea class="xlarge" id="admin_site_edit_description" name="description">{$site->description|escape:html}</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /clearfix -->
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
@@ -34,77 +40,106 @@
|
|||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div><!-- /span16 -->
|
|
||||||
</div><!-- /row -->
|
|
||||||
</div><!-- /container -->
|
|
||||||
|
|
||||||
<h1>Open Incidents</h1>
|
|
||||||
|
|
||||||
{if $open_incidents}
|
|
||||||
<dl>
|
|
||||||
{foreach from=$open_incidents item=incident}
|
|
||||||
<dt>
|
|
||||||
<a href="{$base_uri}admin/incident/service/{$service->id}/site/{$site->id}/id/{$incident->id}/" title="Edit Incident {$incident->reference|escape:html}">{$incident->reference|escape:html}</a>
|
|
||||||
({StatusBoard_Status::name($incident->currentStatus())})
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
{$incident->description|truncate|escape:html}
|
|
||||||
</dd>
|
|
||||||
{/foreach}
|
|
||||||
</dl>
|
|
||||||
{else}
|
|
||||||
There are no open incidents for this site . If you need to open one, use the form below.
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<form id="admin_addsite" method="post" action="{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/do/add-incident/">
|
|
||||||
<fieldset>
|
|
||||||
<legend>Add Incident</legend>
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="admin_incident_add_reference">Reference</label>
|
|
||||||
<div class="text">
|
|
||||||
<input class="xlarge span5" id="admin_incident_add_reference" name="reference" type="text" value="" />
|
|
||||||
</div>
|
|
||||||
</div><!-- /clearfix -->
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="admin_incident_add_description">Description</label>
|
|
||||||
<div class="text">
|
|
||||||
<textarea class="span12" id="admin_incident_add_description" name="description"></textarea>
|
|
||||||
</div>
|
|
||||||
</div><!-- /clearfix -->
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="admin_incident_add_status">Initial Classification</label>
|
|
||||||
<div class="select">
|
|
||||||
<select class="xlarge span5" id="admin_incident_add_status" name="status">
|
|
||||||
{foreach from=StatusBoard_Status::available() item=status}
|
|
||||||
{if $status != StatusBoard_Status::STATUS_Resolved}
|
|
||||||
<option value="{$status}">{StatusBoard_Status::name($status)}</option>
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div><!-- /clearfix -->
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="admin_incident_add_starttime">Start Time</label>
|
|
||||||
<div class="text">
|
|
||||||
<input class="xlarge span5" id="admin_incident_add_starttime" name="starttime" type="text" value="Now" />
|
|
||||||
</div>
|
|
||||||
</div><!-- /clearfix -->
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
<label for="admin_incident_add_estimatedendtime">Estimated End Time</label>
|
|
||||||
<div class="text">
|
|
||||||
<input class="xlarge span5" id="admin_incident_add_estimatedendtime" name="estimatedendtime" type="text" value="+4 hours" />
|
|
||||||
</div>
|
|
||||||
</div><!-- /clearfix -->
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
<div class="input">
|
|
||||||
<input type="submit" class="btn primary" name="addincident" value="Add Incident" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</div>
|
||||||
</form>
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="span4 column">
|
||||||
|
<h3>Open Incidents</h3>
|
||||||
|
</div><!--/New Service description-->
|
||||||
|
<div class="span11 column">
|
||||||
|
{if $open_incidents}
|
||||||
|
<table class="bordered-table" name="sites_list_table"><!--Services table -->
|
||||||
|
<thead>
|
||||||
|
<th>Reference</th>
|
||||||
|
<th>Description</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Action</th>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{foreach from=$sites item=site}
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="{$base_uri}admin/incident/service/{$service->id}/site/{$site->id}/id/{$incident->id}/" title="Edit Incident {$incident->reference|escape:htmll}">{$incident->reference|escape:html}</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{$site->description|escape:html}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{StatusBoard_Status::name($incident->currentStatus())}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class='btn small primary' onclick="document.location.href='{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/';return false;">Edit Site</button>
|
||||||
|
<button style="margin-left:10px" class='btn small danger' onclick="sb.admin.deleteItem('{$base_uri}admin/service/do/delete-site/id/{$service->id}/site/{$site->id}/');">Delete Site</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{/foreach}
|
||||||
|
</tbody>
|
||||||
|
</table><!--/name table -->
|
||||||
|
{else}
|
||||||
|
<p style="padding-top:10px;">There are no open incidents for this site . If you need to open one, use the form below.</p>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
</div><!--/Row for Existing Service-->
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="span4 column">
|
||||||
|
<h3>Add Incident</h3>
|
||||||
|
<p>Use this form to add a new incident</p>
|
||||||
|
</div><!--/New Service description-->
|
||||||
|
<div class="span11 column">
|
||||||
|
|
||||||
|
<form id="admin_addsite" method="post" action="{$base_uri}admin/site/service/{$service->id}/id/{$site->id}/do/add-incident/">
|
||||||
|
<fieldset>
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="admin_incident_add_reference">Reference</label>
|
||||||
|
<div class="text">
|
||||||
|
<input class="xlarge span5" id="admin_incident_add_reference" name="reference" type="text" value="" />
|
||||||
|
</div>
|
||||||
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="admin_incident_add_description">Description</label>
|
||||||
|
<div class="text">
|
||||||
|
<textarea class="xlarge" id="admin_incident_add_description" name="description"></textarea>
|
||||||
|
</div>
|
||||||
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="admin_incident_add_status">Initial Classification</label>
|
||||||
|
<div class="select">
|
||||||
|
<select class="xlarge span5" id="admin_incident_add_status" name="status">
|
||||||
|
{foreach from=StatusBoard_Status::available() item=status}
|
||||||
|
{if $status != StatusBoard_Status::STATUS_Resolved}
|
||||||
|
<option value="{$status}">{StatusBoard_Status::name($status)}</option>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="admin_incident_add_starttime">Start Time</label>
|
||||||
|
<div class="text">
|
||||||
|
<input class="xlarge span5" id="admin_incident_add_starttime" name="starttime" type="text" value="Now" />
|
||||||
|
</div>
|
||||||
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
|
<div class="clearfix">
|
||||||
|
<label for="admin_incident_add_estimatedendtime">Estimated End Time</label>
|
||||||
|
<div class="text">
|
||||||
|
<input class="xlarge span5" id="admin_incident_add_estimatedendtime" name="estimatedendtime" type="text" value="+4 hours" />
|
||||||
|
</div>
|
||||||
|
</div><!-- /clearfix -->
|
||||||
|
|
||||||
|
<div class="clearfix">
|
||||||
|
<div class="input">
|
||||||
|
<input type="submit" class="btn primary" name="addincident" value="Add Incident" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div><!--/Row for New Service-->
|
||||||
|
</div>
|
||||||
|
</div><!-- /container -->
|
||||||
@@ -1,4 +1,12 @@
|
|||||||
<div id="statusboard">
|
<div id="statusboard">
|
||||||
|
<div class="row">
|
||||||
|
<div class="span14">
|
||||||
|
<h2>Atos UK Networks Shared Services Status</h2>
|
||||||
|
</div>
|
||||||
|
<div class="span2">
|
||||||
|
<a href="#" class="btn small">Add Incident</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<table class="bordered-table">
|
<table class="bordered-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span16"><!--name content container -->
|
<div class="span16"><!--name content container -->
|
||||||
<h1>Site Status History: {$service->name|escape:html} - {$site->name|escape:html}</h1>
|
<h1>Site Status History: {$service->name|escape:html} - {$site->name|escape:html}</h1>
|
||||||
<p>This page details the incident history for a site</p>
|
<div class="rounded_content">
|
||||||
|
<p>This page details the incident history for a site:</p>
|
||||||
{if $start && $end}
|
{if $start && $end}
|
||||||
{$incidentsDuring=$site->openIncidentsDuring($start, $end)}
|
{$incidentsDuring=$site->openIncidentsDuring($start, $end)}
|
||||||
{$incidentCount=count($incidentsDuring)}
|
{$incidentCount=count($incidentsDuring)}
|
||||||
@@ -18,7 +19,7 @@
|
|||||||
<p>Estimated End Time: {$time_difference|fuzzyTime}</p>
|
<p>Estimated End Time: {$time_difference|fuzzyTime}</p>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 column">
|
<div class="span11 column">
|
||||||
<table class="bordered-table">
|
<table class="bordered-table">
|
||||||
<thead>
|
<thead>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
@@ -51,7 +52,7 @@
|
|||||||
<h3 class="status">{if $day == 0}Today {/if}{$start|date_format:"d M Y"}</h3>
|
<h3 class="status">{if $day == 0}Today {/if}{$start|date_format:"d M Y"}</h3>
|
||||||
<p>{$incidentCount} {StatusBoard_Formatting::pluralise('incident','incidents',$incidentCount)}</p>
|
<p>{$incidentCount} {StatusBoard_Formatting::pluralise('incident','incidents',$incidentCount)}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span12 column">
|
<div class="span11 column">
|
||||||
{if $incidentsDuring}
|
{if $incidentsDuring}
|
||||||
<table class="bordered-table"><!--Services table -->
|
<table class="bordered-table"><!--Services table -->
|
||||||
<thead>
|
<thead>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user