diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4fcb21 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +src/**/__pycache__ diff --git a/src/execute.sh b/src/execute.sh new file mode 100755 index 0000000..0aec092 --- /dev/null +++ b/src/execute.sh @@ -0,0 +1,3 @@ +#!/bin/bash +export FLASK_APP=nightserver.py +flask run diff --git a/src/nightserver.py b/src/nightserver.py new file mode 100644 index 0000000..9b0f115 --- /dev/null +++ b/src/nightserver.py @@ -0,0 +1,6 @@ +from flask import Flask, render_template +app = Flask(__name__) + +@app.route('/') +def uiindex(): + return render_template('index.html') diff --git a/src/templates/index.html b/src/templates/index.html new file mode 100644 index 0000000..96c092e --- /dev/null +++ b/src/templates/index.html @@ -0,0 +1,193 @@ + + + + + + +
+
+
+

Vitals

+
+
+

Top message

+
+
+
+
+
+ +
+
+

K.A.T.I.E.

+
+
+
+ +
+
+

00:00:00

+
+
+
+
+
+
+

Comms

+
+
+

Popup

+
+
+

Info

+
+
+
+

Test2

+
+
+ +