2024-07-22 23:35:13 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
|
|
|
<title>Sent Received Message Ratio</title>
|
|
|
|
<link rel="apple-touch-icon" href="./favicon.png" />
|
|
|
|
<link rel="manifest" href="./manifest.json" />
|
|
|
|
<link rel="icon" href="./favicon.ico" />
|
|
|
|
<style>
|
|
|
|
#container {
|
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
#sender,
|
|
|
|
#receiver {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
<h3>Waku Dogfooding App</h3>
|
|
|
|
<div id="runningScreen" style="display: none">
|
2024-10-01 08:42:48 +00:00
|
|
|
<label for="peerID">Your peer ID:</label>
|
|
|
|
<span id="peerID"></span>
|
2024-07-22 23:35:13 +00:00
|
|
|
<br />
|
|
|
|
<label for="numSent">Messages Sent:</label>
|
|
|
|
<span id="numSent">0</span>
|
2024-09-12 00:08:58 +00:00
|
|
|
<br />
|
|
|
|
<label for="numReceived">Messages Received:</label>
|
|
|
|
<span id="numReceived">0</span>
|
2024-07-22 23:35:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="container">
|
|
|
|
<div id="sender">
|
|
|
|
<h3>Sent</h3>
|
|
|
|
<div id="messagesSent"></div>
|
|
|
|
</div>
|
|
|
|
<div id="receiver">
|
|
|
|
<h3>Received</h3>
|
|
|
|
<div id="messagesReceived"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script src="./index.js"></script>
|
|
|
|
</body>
|
2024-09-12 00:08:58 +00:00
|
|
|
</html>
|