aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/demo.html
diff options
context:
space:
mode:
Diffstat (limited to 'bh20simplewebuploader/templates/demo.html')
-rw-r--r--bh20simplewebuploader/templates/demo.html44
1 files changed, 24 insertions, 20 deletions
diff --git a/bh20simplewebuploader/templates/demo.html b/bh20simplewebuploader/templates/demo.html
index 2137f59..49669ab 100644
--- a/bh20simplewebuploader/templates/demo.html
+++ b/bh20simplewebuploader/templates/demo.html
@@ -1,28 +1,32 @@
<!DOCTYPE html>
<html>
{% include 'header.html' %}
- <body>
- {% include 'banner.html' %}
- {% include 'menu.html' %}
- <!-- {% include 'search.html' %} -->
- {% include 'demo-run.html' %}
+ <body>
+ {% include 'banner.html' %}
+ {% include 'menu.html' %}
+ <!-- {% include 'search.html' %} -->
+ {% include 'demo-run.html' %}
- <script type="text/javascript">
- let scriptRoot = {{ request.script_root|tojson|safe }}; // examples
+ WIP
- 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);
- });
- });
+ {% include 'footer.html' %}
- </script>
- </body>
+ <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>