aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/demo.html
diff options
context:
space:
mode:
authorPjotr Prins2020-05-23 08:53:17 -0500
committerPjotr Prins2020-05-23 08:53:17 -0500
commita6e411584d7188d1485bad1895f6cc659ecce8c6 (patch)
treebdb1cd3436d42e31608e5351521219b94e363adb /bh20simplewebuploader/templates/demo.html
parentef5c0de4f309923b844d9fe0dd9ac70b7347a49a (diff)
downloadbh20-seq-resource-a6e411584d7188d1485bad1895f6cc659ecce8c6.tar.gz
bh20-seq-resource-a6e411584d7188d1485bad1895f6cc659ecce8c6.tar.lz
bh20-seq-resource-a6e411584d7188d1485bad1895f6cc659ecce8c6.zip
Fixed HTML footer
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>