allmon2-last-heard/index.html

53 lines
1.8 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Log Tail - WIN System</title>
<link rel="stylesheet" href="css/pure-min.css"
integrity="sha384-cg6SkqEOCV1NbJoCu11+bm0NvBRc8IYLRGXkmNrqUBfTjmMYwNKPWBTIKyw9mHNJ" crossorigin="anonymous">
<link rel="stylesheet" href="css/grids-responsive-min.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div id="app">
<div class="header">
<div class="text-center">
<h1>WIN System Log Tail</h1>
<lt-startstop @click="toggleTail"/>
</div>
</div>
<div class="content-wrapper">
<div class="content">
<table class="pure-table logs">
<thead>
<tr>
<th>Node #</th>
<th>Via Node</th>
<th>Type</th>
<th>Description</th>
<th>Date/Time</th>
</tr>
</thead>
<tbody v-cloak>
<tr v-for="row in logs">
<td>{{ row.node }}</td>
<td>{{ row.via }}</td>
<td>{{ row.typeLabel }}</td>
<td>{{ fetchNodeInfo(row.node) }}</td>
<td>{{ row.dateTime }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.10.2/underscore-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="app.js" type="text/javascript"></script>
</body>
</html>