diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5485040 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +__pycache__ diff --git a/WebUI/JinJa2_version/.flaskenv b/WebUI/JinJa2_version/.flaskenv new file mode 100644 index 0000000..2f7252c --- /dev/null +++ b/WebUI/JinJa2_version/.flaskenv @@ -0,0 +1 @@ +FLASK_ENV = 'development' diff --git a/WebUI/app.py b/WebUI/JinJa2_version/app.py similarity index 93% rename from WebUI/app.py rename to WebUI/JinJa2_version/app.py index 62d0b14..711d926 100644 --- a/WebUI/app.py +++ b/WebUI/JinJa2_version/app.py @@ -1,6 +1,7 @@ from flask import Flask, render_template, request, redirect, url_for app = Flask(__name__) +# app.config['STATIC_FOLDER'] = 'templates/build/static' @app.route("/hi") def hello_world(): diff --git a/WebUI/app_backup.py b/WebUI/JinJa2_version/app_backup.py similarity index 100% rename from WebUI/app_backup.py rename to WebUI/JinJa2_version/app_backup.py diff --git a/WebUI/static/footer.css b/WebUI/JinJa2_version/static/footer.css similarity index 100% rename from WebUI/static/footer.css rename to WebUI/JinJa2_version/static/footer.css diff --git a/WebUI/static/header.css b/WebUI/JinJa2_version/static/header.css similarity index 100% rename from WebUI/static/header.css rename to WebUI/JinJa2_version/static/header.css diff --git a/WebUI/static/home.css b/WebUI/JinJa2_version/static/home.css similarity index 100% rename from WebUI/static/home.css rename to WebUI/JinJa2_version/static/home.css diff --git a/WebUI/static/imgs/login.png b/WebUI/JinJa2_version/static/imgs/login.png similarity index 100% rename from WebUI/static/imgs/login.png rename to WebUI/JinJa2_version/static/imgs/login.png diff --git a/WebUI/static/imgs/login2.png b/WebUI/JinJa2_version/static/imgs/login2.png similarity index 100% rename from WebUI/static/imgs/login2.png rename to WebUI/JinJa2_version/static/imgs/login2.png diff --git a/WebUI/static/login.css b/WebUI/JinJa2_version/static/login.css similarity index 100% rename from WebUI/static/login.css rename to WebUI/JinJa2_version/static/login.css diff --git a/WebUI/static/root.css b/WebUI/JinJa2_version/static/root.css similarity index 100% rename from WebUI/static/root.css rename to WebUI/JinJa2_version/static/root.css diff --git a/WebUI/static/search.css b/WebUI/JinJa2_version/static/search.css similarity index 100% rename from WebUI/static/search.css rename to WebUI/JinJa2_version/static/search.css diff --git a/WebUI/static/video/test_video.mp4 b/WebUI/JinJa2_version/static/video/test_video.mp4 similarity index 100% rename from WebUI/static/video/test_video.mp4 rename to WebUI/JinJa2_version/static/video/test_video.mp4 diff --git a/WebUI/templates/about.html b/WebUI/JinJa2_version/templates/about.html similarity index 100% rename from WebUI/templates/about.html rename to WebUI/JinJa2_version/templates/about.html diff --git a/WebUI/templates/footer.html b/WebUI/JinJa2_version/templates/footer.html similarity index 64% rename from WebUI/templates/footer.html rename to WebUI/JinJa2_version/templates/footer.html index 2e632dd..a8f36ee 100644 --- a/WebUI/templates/footer.html +++ b/WebUI/JinJa2_version/templates/footer.html @@ -1,5 +1,5 @@ - +