aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/footer.html
diff options
context:
space:
mode:
authorPjotr Prins2020-10-28 08:43:02 +0000
committerPjotr Prins2020-10-28 08:43:02 +0000
commit38ee6ad0cfa86b40566c8d45a92400b38351a717 (patch)
tree99601ef80b0b3a532c41a199deb8424ac254f697 /bh20simplewebuploader/templates/footer.html
parent29f349c504101d20407641c182773d53570e10c2 (diff)
downloadbh20-seq-resource-38ee6ad0cfa86b40566c8d45a92400b38351a717.tar.gz
bh20-seq-resource-38ee6ad0cfa86b40566c8d45a92400b38351a717.tar.lz
bh20-seq-resource-38ee6ad0cfa86b40566c8d45a92400b38351a717.zip
Use Flask url_for to make relative routes work
Diffstat (limited to 'bh20simplewebuploader/templates/footer.html')
-rw-r--r--bh20simplewebuploader/templates/footer.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/bh20simplewebuploader/templates/footer.html b/bh20simplewebuploader/templates/footer.html
index f78e8bf..efa1817 100644
--- a/bh20simplewebuploader/templates/footer.html
+++ b/bh20simplewebuploader/templates/footer.html
@@ -14,30 +14,31 @@
the <a href="https://github.com/arvados/bh20-seq-resource/blob/master/paper/paper.md">paper</a>
</p>
+
</div>
<div class="sponsors">
- <a href="static/image/BCC2020_AndreaGuarracino_COVID19PubSeq_Poster.pdf">
- <img src="static/image/BCC2020_AndreaGuarracino_COVID19PubSeq_Poster.png" alt="BCC2020 COVID19 PubSeq Poster"/>
+ <a href="{{ url_for('static',filename='image/BCC2020_AndreaGuarracino_COVID19PubSeq_Poster.pdf') }}">
+ <img src="{{ url_for('static', filename='image/BCC2020_AndreaGuarracino_COVID19PubSeq_Poster.png') }}" alt="BCC2020 COVID19 PubSeq Poster"/>
</a>
<h3>OUR SPONSORS</h3>
<div class="sponsorimg">
<a href="https://github.com/virtual-biohackathons/covid-19-bh20">
- <img src="static/image/covid19biohackathon.png"></a>
+ <img src="{{ url_for('static',filename='image/covid19biohackathon.png') }}"></a>
</div>
<div class="sponsorimg">
- <a href="https://www.curii.com/"><img src="static/image/curii.logo.ai.png"></a>
+ <a href="https://www.curii.com/"><img src="{{ url_for('static',filename='image/curii.logo.ai.png') }}"></a>
</div>
<div class="sponsorimg">
- <a href="https://arvados.org/"><img src="static/image/arvados-logo.png"></a>
+ <a href="https://arvados.org/"><img src="{{ url_for('static',filename='image/arvados-logo.png') }}"></a>
</div>
<div class="sponsorimg">
- <a href="https://www.commonwl.org/"><img src="static/image/CWL.png"></a>
+ <a href="https://www.commonwl.org/"><img src="{{ url_for('static',filename='image/CWL.png') }}"></a>
</div>
<div class="sponsorimg">
- <a href="https://uthsc.edu/"><img src="static/image/UTHSC-primary-stacked-logo-4c.png"></a>
+ <a href="https://uthsc.edu/"><img src="{{ url_for('static',filename='image/UTHSC-primary-stacked-logo-4c.png') }}"></a>
</div>
<div class="sponsorimg">
- <a href="https://www.esr.cri.nz/"><img src="static/image/ESR.png"></a>
+ <a href="https://www.esr.cri.nz/"><img src="{{ url_for('static',filename='image/ESR.png')}}"></a>
</div>
</div>
@@ -64,7 +65,7 @@
.then((resp) => resp.json())
.then(function (data) {
count = data["sequences"];
- console.log(count);
+ console.log(["Counted: ",count]);
span = document.getElementById("Counter");
txt = document.createTextNode(count);
span.appendChild(txt);