diff options
author | Pjotr Prins | 2020-05-23 08:42:00 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-05-23 08:42:00 -0500 |
commit | ef5c0de4f309923b844d9fe0dd9ac70b7347a49a (patch) | |
tree | 83a278b859d95ff59a0da6f1bac2be97d03e7dce /bh20simplewebuploader/templates/blog.html | |
parent | 4e9df3187214536d19c34da5335c7ec1310b0067 (diff) | |
download | bh20-seq-resource-ef5c0de4f309923b844d9fe0dd9ac70b7347a49a.tar.gz bh20-seq-resource-ef5c0de4f309923b844d9fe0dd9ac70b7347a49a.tar.lz bh20-seq-resource-ef5c0de4f309923b844d9fe0dd9ac70b7347a49a.zip |
Menu and forms
Diffstat (limited to 'bh20simplewebuploader/templates/blog.html')
-rw-r--r-- | bh20simplewebuploader/templates/blog.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bh20simplewebuploader/templates/blog.html b/bh20simplewebuploader/templates/blog.html new file mode 100644 index 0000000..47b68fa --- /dev/null +++ b/bh20simplewebuploader/templates/blog.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> |