Add dashboard chat controls and suppress echoes
This commit is contained in:
1 parent
5a3b299aa9
commit
c3a045d17a
10 files changed
+178
-13
No files matched your search
@@ -6,8 +6,8 @@
|
||||
<meta name="theme-color" content="#10130f" />
|
||||
<meta name="description" content="Live Minecraft bot dashboard" />
|
||||
<title>Mosfet · Minecraft Bot</title>
|
||||
<link rel="stylesheet" href="/static/css/dashboard.css?v=20" />
|
||||
<script defer src="/static/js/dashboard.js?v=23"></script>
|
||||
<link rel="stylesheet" href="/static/css/dashboard.css?v=21" />
|
||||
<script defer src="/static/js/dashboard.js?v=25"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="shell">
|
||||
@@ -83,6 +83,13 @@
|
||||
<div id="chat-log" class="chat-log" role="log" aria-label="Chat messages">
|
||||
<div class="chat-empty">No chat messages yet</div>
|
||||
</div>
|
||||
<form id="chat-form" class="chat-form">
|
||||
<input id="chat-input" type="text" maxlength="256"
|
||||
placeholder="Message or /command…" aria-label="Chat message or command"
|
||||
autocomplete="off" disabled>
|
||||
<button id="chat-send" type="submit" disabled>Send</button>
|
||||
</form>
|
||||
<div id="chat-send-status" class="chat-send-status" role="status" aria-live="polite"></div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user