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 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;">
|
|
|
|
<a class="button btn-primary" href="/bot/accounts/add" role="button"><i class="fas fa-home"></i> Home</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<noscript>
|
|
|
|
<div class="container centred">
|
|
|
|
<h2>This feature requires JavaScript.</h2>
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div id="chatbox">
|
2020-01-20 03:18:59 +00:00
|
|
|
<!-- <div class="message-container user">
|
2019-09-23 03:30:45 +00:00
|
|
|
<div class="message user">Henlo</div>
|
|
|
|
</div>
|
|
|
|
<div class="message-container bot">
|
|
|
|
<div class="bot-icon"></div>
|
|
|
|
<div class="message bot">Henlo human uwu<br>How are you</div>
|
2020-01-20 03:18:59 +00:00
|
|
|
</div> -->
|
2019-09-23 03:30:45 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<form id="chatbox-input">
|
2020-01-20 02:43:25 +00:00
|
|
|
<input id="chatbox-input-box" name="message" placeholder="Press enter to send">
|
2019-09-23 03:30:45 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% include 'footer.html' %}
|
|
|
|
</body>
|
|
|
|
</html>
|