aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/about.html
diff options
context:
space:
mode:
Diffstat (limited to 'bh20simplewebuploader/templates/about.html')
-rw-r--r--bh20simplewebuploader/templates/about.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/bh20simplewebuploader/templates/about.html b/bh20simplewebuploader/templates/about.html
new file mode 100644
index 0000000..47b68fa
--- /dev/null
+++ b/bh20simplewebuploader/templates/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ {% include 'header.html' %}
+ <body>
+ {% include 'banner.html' %}
+ {% include 'menu.html' %}
+
+ WIP
+
+ <script type="text/javascript">
+ let scriptRoot = {{ request.script_root|tojson|safe }}; // examples
+
+ document.addEventListener("DOMContentLoaded", function(){
+ var count = fetch("/api/getCount")
+ .then((resp) => resp.json())
+ .then(function (data) {
+ count = data["sequences"];
+ console.log(count);
+ span = document.getElementById("Counter");
+ txt = document.createTextNode(count);
+ span.appendChild(txt);
+ });
+ });
+
+ </script>
+ </body>
+
+</html>