File size: 1,453 Bytes
857499b
cc1dbdd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Blenderbot</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
</head>
<style>
    body {
        font-family: Arial, Helvetica, sans-serif;
        background-color: rgb(59, 59, 59);
        color: white;
    }

    input {
        color: white;
        font-size: large;
    }

    ul {
        list-style-type: none;
    }

    li {
        color: white;
    }

    li:nth-child(even) {
        color:rgb(0, 200, 200);
    }

    #title {
        font-size: large;
        margin-top: 5%;
        margin-left: 17%;
        margin-right: 17%;
        margin-bottom: 2%;
    }

    #chat {
        font-size: large;
        margin-top: 5%;
        margin-left: 17%;
        margin-right: 17%;
        margin-bottom: 7%;
    }
</style>

<body>
    <div id="title">
        <h1>Blenderbot🚀🚀🚀</h1>
    </div>


    <div id="chat">
        <ul>
            {% for item in ui_history %}
            <li>{{ item }}</li>
            {% endfor %}
        </ul>

        <form action="/" id="chat-form" method="post" class="input-field">
            <input type="text" name="user_input" placeholder="Enter your response">
            <button type="submit" class="btn">Send</button>
        </form>
    </div>

</body>

</html>