-
Notifications
You must be signed in to change notification settings - Fork 2
/
sidebar.php
79 lines (76 loc) · 2.33 KB
/
sidebar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
$result = db_query( "SELECT * FROM {application_status} where application_id = 1");
$row = $result->fetch();
?>
<table cellspacing="0" class="riverlevels">
<tr>
<td class="dataHeaders" colspan="2">Data Last Polled</td>
</tr>
<tr>
<td class="dataValues" style="width:190px" colspan="2"><?php print date('jS M \a\t H:i',strtotime($row->last_run)) ?></td>
</tr>
<tr>
<td colspan="2" height="4"></td>
</tr>
<tr>
<td class="dataHeaders" colspan="2">Most Recent Reading</td>
</tr>
<tr>
<td colspan="2" class="dataValues" style="width:190px" ><?php print $row->most_recently_updated_section ?> at <?php print date('H:i \o\n jS M',strtotime($row->most_recently_updated_time)) ?> was <?php print $row->most_recently_updated_level ?>
</td>
</tr>
</table>
<div class="riverHeader" id="sectionname"> </div>
<div class="riverHeader" id="level"> </div>
<div class="riverHeader" id="lastUpdated"> </div>
<table>
<tbody>
<tr>
<td class="dataHeaders">Current Reading</td>
<td class="dataValues" id="currentReading"> </td>
</tr>
<tr>
<td class="dataHeaders">Trend</td>
<td class="dataValues" id="trend"> </td>
</tr>
<tr>
<td class="dataHeaders" colspan="2">Callibration used:</td>
</tr>
<tr>
<td align="right" colspan="2" bgcolor="#424242">
<table class="sub-table">
<tbody>
<tr>
<td class="callibHeaders" bgcolor="#FF0000">Huge</td>
<td class="callibVals" id="huge">0</td>
</tr>
<tr>
<td class="callibHeaders" bgcolor="#FF6060">Very High</td>
<td class="callibVals" id="veryHigh">0</td>
</tr>
<tr>
<td class="callibHeaders" bgcolor="#FFC004">High</td>
<td class="callibVals" id="high">0</td>
</tr>
<tr>
<td class="callibHeaders" bgcolor="#FFFF33">Medium</td>
<td class="callibVals" id="medium">0</td>
</tr>
<tr>
<td class="callibHeaders" bgcolor="#00FF00">Low</td>
<td class="callibVals" id="low">0</td>
</tr>
<tr>
<td class="callibHeaders" bgcolor="#CCFFCC">Scrapeable</td>
<td class="callibVals" id="justRunnable">0</td>
</tr>
<tr>
<td class="callibHeaders" bgcolor="#CCCCCC">Empty</td>
<td class="callibVals" id="empty">0</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>