Mocked up status page

Signed-off-by: Nathan Booth <nath.booth@gmail.com>
This commit is contained in:
Nathan Booth
2011-12-21 18:40:41 +00:00
parent 158b739f1a
commit 0c7b6d8d7a
2 changed files with 69 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
<div class="row" name="edit service"> <div class="row" name="edit service">
<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 define a new 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="span12 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/">
@@ -44,7 +44,7 @@
<div class="row" name="Sites_existing"> <div class="row" name="Sites_existing">
<div class="span4 column"> <div class="span4 column">
<h3>Existing Sites</h3> <h3>Existing Sites</h3>
<p>Description</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="span12 column">
<table class="bordered-table" name="sites_list_table"><!--Services table --> <table class="bordered-table" name="sites_list_table"><!--Services table -->
@@ -79,7 +79,7 @@
<div class="row" name="edit service"> <div class="row" name="edit service">
<div class="span4 column"><!--New description--> <div class="span4 column"><!--New description-->
<h3>Add Site</h3> <h3>Add Site</h3>
<p>Use this form to define a new site</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"><!--Add New Service --> <div class="span12 column"><!--Add New Service -->
<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/">

View File

@@ -0,0 +1,66 @@
<div class="container">
<div class="row">
<div class="span16" name="name"><!--name content container -->
<h1>Site Status History {$service->name|escape:html}LDAP - External{$site->name|escape:html}</h1>
<p>This page details the incident history for a Site related to a Service</p>
<div class="row" name="edit service">
<div class="span4 column"><!--New description-->
<h3>Today 21/12/11</h3>
<p>x incidents</p>
</div>
<div class="span12 column">
<table class="bordered-table" name="sites_list_table"><!--Services table -->
<thead>
<th>Incident</th>
<th>Description</th>
<th>Time Opened</th>
<th>Status</th>
<th>Time Closed</th>
</thead>
<tbody>
<tr>
<td>123456</td>
<td>Loss of power on remote site</td>
<td>14:00</td>
<td>Major Incident</td>
<td>-</td>
</tr><tr>
<td>123457</td>
<td>Loss of power on remote site</td>
<td>14:00</td>
<td>Major Incident</td>
<td>-</td>
</tr>
</tbody>
</table><!--/name table -->
</div>
</div>
<div class="row" name="edit service">
<div class="span4 column"><!--New description-->
<h3>Yesterday 20/12/11</h3>
<p>x incidents</p>
</div>
<div class="span12 column">
<table class="bordered-table" name="sites_list_table"><!--Services table -->
<thead>
<th>Incident</th>
<th>Description</th>
<th>Time Opened</th>
<th>Status</th>
<th>Time Closed</th>
</thead>
<tbody>
<tr>
<td>123456</td>
<td>Loss of power on remote site</td>
<td>14:00</td>
<td>Resolved</td>
<td>15:00</td>
</tr>
</tbody>
</table><!--/name table -->
</div>
</div>
</div>
</div>