2020-07-30 21:36:08 -04:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2020-07-31 00:33:21 -04:00
|
|
|
<title>Who's Talking? - WIN System</title>
|
2020-07-30 21:36:08 -04:00
|
|
|
<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">
|
2020-07-31 00:33:21 -04:00
|
|
|
<h1>WIN System - Who's Talking?</h1>
|
2020-07-31 00:30:36 -04:00
|
|
|
<button v-cloak class="pure-button pure-button-primary" @click="toggleTail" :class="{ 'button-error': enabled }">
|
|
|
|
{{ enabled ? "Stop" : "Start" }} Tail
|
|
|
|
</button>
|
2020-07-30 21:36:08 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<div class="content">
|
|
|
|
<table class="pure-table logs">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2020-07-31 00:30:36 -04:00
|
|
|
<th>Node#</th>
|
2020-07-31 20:39:54 -04:00
|
|
|
<th>Via</th>
|
2020-07-31 07:21:43 -04:00
|
|
|
<th>Key</th>
|
2020-07-30 21:36:08 -04:00
|
|
|
<th>Type</th>
|
2020-07-31 00:30:36 -04:00
|
|
|
<th>When</th>
|
|
|
|
<th class="desc">Description</th>
|
2020-07-30 21:36:08 -04:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody v-cloak>
|
|
|
|
<tr v-for="row in logs">
|
2020-07-31 00:30:36 -04:00
|
|
|
<td><lt-node-link :node="row.node" :type="row.type" /></td>
|
2020-07-31 20:39:54 -04:00
|
|
|
<td>{{ row.via }}</td>
|
2020-07-31 07:21:43 -04:00
|
|
|
<td>{{ row.key }}</td>
|
2020-07-30 21:36:08 -04:00
|
|
|
<td>{{ row.typeLabel }}</td>
|
2020-07-31 00:30:36 -04:00
|
|
|
<td class="when">{{ row.dateTime.format('hh:mm:ss MM/DD/YY') }}</td>
|
2020-07-31 21:17:47 -04:00
|
|
|
<td>{{ row.info }}</td>
|
2020-07-30 21:36:08 -04:00
|
|
|
</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>
|
2020-07-31 00:30:36 -04:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js"></script>
|
2020-07-30 21:36:08 -04:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
|
|
|
<script src="app.js" type="text/javascript"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|