-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmongo_reader.html
94 lines (91 loc) · 2.68 KB
/
mongo_reader.html
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<head>
<title>MongoReader</title>
<script src="client/angular.min.js" type="text/javascript"></script>
</head>
<body>
{{> header}}
<div class="container">
<div class="span12">
{{> search}}
</div>
</div>
</body>
<template name="header">
<div class="navbar navbar-static-top navbar-inverse">
<div class="navbar-inner">
<a class="brand" href="/">MongoReader</a>
</div>
</div>
</template>
<template name="search">
<label><h4>Search for something</h4></label>
<p>
<input type="text" placeholder="Search expression" />
</p>
<br />
<legend>
<h3>Result</h3>
</legend>
<div id="main">
<table class="table table-hover table-striped">
<thead>
<tr class="success">
<th>
<p class="text-center">
<strong>Facility</strong>
</p></th>
<th>
<p class="text-center">
<strong>Priority</strong>
</p></th>
<th>
<p class="text-center">
<strong>Date</strong>
</p></th>
<th>
<p class="text-center">
<strong>Host</strong>
</p></th>
<th>
<p class="text-center">
<strong>Program</strong>
</p></th>
<th>
<p class="text-center">
<strong>Message</strong>
</p></th>
</tr>
</thead>
<tbody>
{{#each items}}
<tr class="info">
<td>
<p class="text-center">
{{FACILITY}}
</p></td>
<td>
<p class="text-center">
{{PRIORITY}}
</p></td>
<td>
<p class="text-center">
{{DATE}}
</p></td>
<td>
<p class="text-center">
{{HOST}}
</p></td>
<td>
<p class="text-center">
{{PROGRAM}}
</p></td>
<td>
<p class="text-center">
{{MESSAGE}}
</p></td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</template>