Files
text-adventure-llm/web/static/index.html
Aodhan Collins 912b205699 Initial commit.
Basic docker deployment with Local LLM integration and simple game state.
2025-08-17 19:31:33 +01:00

46 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Text Adventure - Web UI</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/static/styles.css" />
</head>
<body>
<header class="app-header">
<h1>Text Adventure</h1>
<div class="status" id="statusDot" title="Backend status"></div>
</header>
<main class="container">
<section id="chat" class="chat">
<div id="messages" class="messages" aria-live="polite"></div>
</section>
<form id="chatForm" class="input-row" autocomplete="off">
<input
id="messageInput"
type="text"
placeholder="Type your message..."
aria-label="Message"
required
/>
<button id="sendBtn" type="submit">Send</button>
</form>
</main>
<template id="msg-user">
<div class="msg msg-user">
<div class="bubble"></div>
</div>
</template>
<template id="msg-assistant">
<div class="msg msg-assistant">
<div class="bubble"></div>
</div>
</template>
<script src="/static/app.js" defer></script>
</body>
</html>