diff --git a/app/static/style.css b/app/static/style.css index 3af01a7..136f204 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -221,11 +221,19 @@ form .row { #chatbox-input, #chatbox-input input{ width: 100%; } +#chatbox, #chatbox-input { + max-width: 600px; + margin: 0 auto; +} +#chatbox-input { + display: block; +} .message { display: inline-block; padding: 5px; min-height: 30px; max-width: 60%; + margin-bottom: 5px; } .message-container.user { text-align: right; diff --git a/app/templates/bot/chat.html b/app/templates/bot/chat.html index f90d886..98a4396 100644 --- a/app/templates/bot/chat.html +++ b/app/templates/bot/chat.html @@ -4,6 +4,12 @@ FediBooks {% include 'imports.html' %} + @@ -33,7 +39,7 @@
- +
diff --git a/app/templates/imports.html b/app/templates/imports.html index b00e33c..aa5b65a 100644 --- a/app/templates/imports.html +++ b/app/templates/imports.html @@ -1,4 +1,5 @@ - + + diff --git a/app/webui.py b/app/webui.py index 54ea180..d07d0bc 100644 --- a/app/webui.py +++ b/app/webui.py @@ -159,8 +159,8 @@ def bot_toggle(id): @app.route("/bot/chat/") def bot_chat(id): - return render_template("coming_soon.html") - # return render_template("/bot/chat.html", bot = id) + # return render_template("coming_soon.html") + return render_template("/bot/chat.html", bot = id) @app.route("/bot/blacklist/") def bot_blacklist(id):