2019-09-23 03:30:45 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>FediBooks</title>
|
|
|
|
{% include 'imports.html' %}
|
2020-01-20 03:46:30 +00:00
|
|
|
<style>
|
|
|
|
.bot-icon {
|
|
|
|
background: center / contain url("{{icon}}") no-repeat;
|
|
|
|
}
|
|
|
|
</style>
|
2020-01-20 02:43:25 +00:00
|
|
|
<script>
|
|
|
|
window.onload = function() {
|
|
|
|
document.getElementById("chatbox-input-box").focus();
|
|
|
|
document.getElementById("chatbox-input").onsubmit = sendMessage;
|
|
|
|
}
|
|
|
|
</script>
|
2019-09-23 03:30:45 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="container centred">
|
|
|
|
<h1 class="thin centred">Chat</h1>
|
|
|
|
<p class="centred">Talking to {{ bot }}</p>
|
|
|
|
<p class="centred" style="margin: 20px 0;">
|
2020-01-20 04:08:30 +00:00
|
|
|
<a class="button btn-primary" href="/" role="button"><i class="fas fa-home"></i> Home</a>
|
2019-09-23 03:30:45 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<noscript>
|
|
|
|
<div class="container centred">
|
|
|
|
<h2>This feature requires JavaScript.</h2>
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div id="chatbox">
|
2020-01-20 04:08:41 +00:00
|
|
|
|
2019-09-23 03:30:45 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<form id="chatbox-input">
|
2020-01-20 03:46:30 +00:00
|
|
|
<input id="chatbox-input-box" autocomplete="off" required name="message" placeholder="Press enter to send">
|
2019-09-23 03:30:45 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% include 'footer.html' %}
|
|
|
|
</body>
|
|
|
|
</html>
|