From 946ec7318e2285707e245ad9cb3f2888557ea488 Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 7 Dec 2020 00:04:37 +0100 Subject: [PATCH] syncing with web-ui --- server/app/routes.py | 5 +++ server/app/templates/base.html | 10 ++++-- server/app/templates/create_ssh.html | 47 ++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 server/app/templates/create_ssh.html diff --git a/server/app/routes.py b/server/app/routes.py index fba07f2..3b21541 100644 --- a/server/app/routes.py +++ b/server/app/routes.py @@ -20,6 +20,11 @@ def index(): def wifi_setup(): return render_template('wifi.html', title='Wifi-setup') +# SSH file +@app.route('/create_ssh') +def create_ssh(): + return render_template('create_ssh.html', title='SSH file generator') + # Inkycal-setup @app.route('/inkycal-config-v2-0-0', methods=['GET', 'POST']) diff --git a/server/app/templates/base.html b/server/app/templates/base.html index aa1dd94..974c6a9 100644 --- a/server/app/templates/base.html +++ b/server/app/templates/base.html @@ -31,11 +31,17 @@ + + + + diff --git a/server/app/templates/create_ssh.html b/server/app/templates/create_ssh.html new file mode 100644 index 0000000..c1fddad --- /dev/null +++ b/server/app/templates/create_ssh.html @@ -0,0 +1,47 @@ +{% extends "base.html" %} + + +{% block content %} + + +
+ + +

SSH file generator

+ + + + + + + +
+ +
+ + + + +
+ +{% endblock %} \ No newline at end of file