diff --git a/application/dashboard/templates/live.html b/application/dashboard/templates/live.html
new file mode 100644
index 0000000..4b0cf3c
--- /dev/null
+++ b/application/dashboard/templates/live.html
@@ -0,0 +1,15 @@
+{%extends 'base.html' %}
+
+{% block content %}
+
+
}})
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/application/dashboard/views.py b/application/dashboard/views.py
index 0c90980..dc8197f 100644
--- a/application/dashboard/views.py
+++ b/application/dashboard/views.py
@@ -1,4 +1,11 @@
-from flask import Blueprint, render_template, request, jsonify, flash
+from flask import (
+ Blueprint,
+ render_template,
+ request,
+ jsonify,
+ flash,
+ send_from_directory,
+)
from application.dashboard.models import AllowedPlate, LoggedItem
from application import db
from application.dashboard.forms import npForm
@@ -48,3 +55,20 @@ def add():
return render_template(
"add.html", form=npForm(formdata=None), plates=Plates
)
+
+
+@dash_blueprint.route("/live", methods=["GET"])
+@login_required
+def live():
+ return render_template("live.html")
+
+
+@dash_blueprint.route("/live_image", methods=["GET"])
+@login_required
+def live_image():
+ return send_from_directory(
+ "static/live",
+ "feed.png",
+ as_attachment=False,
+ conditional=True,
+ )
diff --git a/application/static/live/feed.png b/application/static/live/feed.png
new file mode 100644
index 0000000..51d4420
Binary files /dev/null and b/application/static/live/feed.png differ