waku-lab/examples/dogfooding/index.html

51 lines
1.3 KiB
HTML
Raw Normal View History

<!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">
<label for="peerID">Your peer ID:</label>
<span id="peerID"></span>
<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>
</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>