Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +46 -46
templates/index.html
CHANGED
|
@@ -1,47 +1,47 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
|
| 4 |
-
<head>
|
| 5 |
-
<meta charset="UTF-8" />
|
| 6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
-
<title>TMM Assistant | Chatbot</title>
|
| 8 |
-
<meta name="author" content="Thapelo Madiba Masebe">
|
| 9 |
-
|
| 10 |
-
<!-- Link to the stylesheet using Flask's url_for -->
|
| 11 |
-
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
|
| 12 |
-
|
| 13 |
-
<!-- Link to the favicon -->
|
| 14 |
-
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
| 15 |
-
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
| 16 |
-
</head>
|
| 17 |
-
|
| 18 |
-
<body>
|
| 19 |
-
|
| 20 |
-
<!-- Main container for the chatbot interface -->
|
| 21 |
-
<main class="chat-container">
|
| 22 |
-
<div class="chat-header">
|
| 23 |
-
<h1>BLENDERBOT ASSISTANT</h1>
|
| 24 |
-
</div>
|
| 25 |
-
|
| 26 |
-
<!-- The chat messages will be dynamically added here by JavaScript -->
|
| 27 |
-
<div class="messages-container" id="messages-container"></div>
|
| 28 |
-
|
| 29 |
-
<!-- The form for user input -->
|
| 30 |
-
<form class="chat-form" id="message-form">
|
| 31 |
-
<textarea id="message-input" placeholder="Send a message..." rows="1"></textarea>
|
| 32 |
-
<button type="submit">SEND</button>
|
| 33 |
-
</form>
|
| 34 |
-
</main>
|
| 35 |
-
<!-- End chatbot container -->
|
| 36 |
-
|
| 37 |
-
<footer>
|
| 38 |
-
<p>
|
| 39 |
-
Copyright © Thapelo Madiba Masebe
|
| 40 |
-
</p>
|
| 41 |
-
</footer>
|
| 42 |
-
|
| 43 |
-
<!-- Link to the JavaScript file that powers the chat logic -->
|
| 44 |
-
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
| 45 |
-
|
| 46 |
-
</body>
|
| 47 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
+
<title>TMM Assistant | Chatbot</title>
|
| 8 |
+
<meta name="author" content="Thapelo Madiba Masebe">
|
| 9 |
+
|
| 10 |
+
<!-- Link to the stylesheet using Flask's url_for -->
|
| 11 |
+
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
|
| 12 |
+
|
| 13 |
+
<!-- Link to the favicon -->
|
| 14 |
+
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
| 15 |
+
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
| 16 |
+
</head>
|
| 17 |
+
|
| 18 |
+
<body>
|
| 19 |
+
|
| 20 |
+
<!-- Main container for the chatbot interface -->
|
| 21 |
+
<main class="chat-container">
|
| 22 |
+
<div class="chat-header">
|
| 23 |
+
<h1>BLENDERBOT ASSISTANT</h1>
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
<!-- The chat messages will be dynamically added here by JavaScript -->
|
| 27 |
+
<div class="messages-container" id="messages-container"></div>
|
| 28 |
+
|
| 29 |
+
<!-- The form for user input -->
|
| 30 |
+
<form class="chat-form" id="message-form">
|
| 31 |
+
<textarea id="message-input" placeholder="Send a message..." rows="1"></textarea>
|
| 32 |
+
<button type="submit">SEND</button>
|
| 33 |
+
</form>
|
| 34 |
+
</main>
|
| 35 |
+
<!-- End chatbot container -->
|
| 36 |
+
|
| 37 |
+
<footer>
|
| 38 |
+
<p>
|
| 39 |
+
Copyright © Thapelo Madiba Masebe 2025 - View the <a href="https://github.com/Cozisoul/flask-chatbot-blenderbot" target="_blank">source code on GitHub</a>
|
| 40 |
+
</p>
|
| 41 |
+
</footer>
|
| 42 |
+
|
| 43 |
+
<!-- Link to the JavaScript file that powers the chat logic -->
|
| 44 |
+
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
| 45 |
+
|
| 46 |
+
</body>
|
| 47 |
</html>
|