2020-08-16 04:16:36 +02:00
|
|
|
<!doctype html>
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2020-08-19 02:12:51 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>CAN debugger</title>
|
2020-08-16 04:16:36 +02:00
|
|
|
<style>
|
2020-09-08 18:52:38 +02:00
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
2020-09-08 18:52:38 +02:00
|
|
|
|
|
|
|
.hide {
|
2020-08-16 04:16:36 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
.parsed {
|
|
|
|
background: lightgreen;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
td.raw {
|
|
|
|
font-family: monospace, monospace;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
th, td {
|
|
|
|
border-left: 1px solid black;
|
|
|
|
border-right: 1px solid black;
|
|
|
|
padding: 5px;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
th {
|
|
|
|
background-color: gold;
|
|
|
|
border-bottom: 2px solid black;
|
|
|
|
border-top: 2px solid black;
|
|
|
|
height: 20px;
|
|
|
|
text-align: left;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
tr:hover {
|
|
|
|
background-color: #aaa;
|
2020-08-16 04:16:36 +02:00
|
|
|
}
|
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
td[error] {
|
|
|
|
background-color: rgb(255, 71, 71);
|
|
|
|
}
|
2020-08-16 04:16:36 +02:00
|
|
|
|
2020-09-08 18:52:38 +02:00
|
|
|
.time, .raw_id, .sender_id {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2020-08-16 04:16:36 +02:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2020-09-08 18:52:38 +02:00
|
|
|
<button onclick="toggle_logging()" id="toggle_button">Start</button>
|
|
|
|
|
|
|
|
<input type="checkbox" id="show_raw" name="show_raw" checked autocomplete="off" onchange="updateShow()">
|
2020-08-19 02:12:51 +02:00
|
|
|
<label for="show_raw">Show raw address and payload</label>
|
2020-09-08 18:52:38 +02:00
|
|
|
|
|
|
|
<table id="message_table">
|
|
|
|
<tr>
|
|
|
|
<th>Human-readable type</th>
|
|
|
|
<th>Sender ID</th>
|
|
|
|
<th>Parsed payload</th>
|
|
|
|
<th>Time</th>
|
|
|
|
<th class="raw">Raw Message</th>
|
|
|
|
<th class="raw">Raw ID</th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2020-08-19 02:12:51 +02:00
|
|
|
<script src="static/script.js"></script>
|
2020-08-16 04:16:36 +02:00
|
|
|
</body>
|
|
|
|
</html>
|