projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update templates to consistently use {% static %} instead of hard coding paths
[htsworkflow.git]
/
htsworkflow
/
frontend
/
templates
/
samples
/
library_index.html
diff --git
a/htsworkflow/frontend/templates/samples/library_index.html
b/htsworkflow/frontend/templates/samples/library_index.html
index c37635d188a2df95b209cb56fd23de816e2695b2..6ee9750cd8e0bc282fe57202596fd803cdd4f2f6 100644
(file)
--- a/
htsworkflow/frontend/templates/samples/library_index.html
+++ b/
htsworkflow/frontend/templates/samples/library_index.html
@@
-1,12
+1,13
@@
{% extends "base_site.html" %}
{% load admin_list i18n %}
{% extends "base_site.html" %}
{% load admin_list i18n %}
+{% load staticfiles %}
{% block extrahead %}
<!-- App Stuff -->
{% block extrahead %}
<!-- App Stuff -->
- <link type="text/css" rel="stylesheet" href="
/static/css/app.css"
/>
+ <link type="text/css" rel="stylesheet" href="
{% static "css/app.css" %}"
/>
{% block additional_javascript %}
{% block additional_javascript %}
- <script type="text/javascript" src="
/static/js/jquery.min.js
"></script>
- <script type="text/javascript" src="
/static/js/htsw.js
"></script>
+ <script type="text/javascript" src="
{% static "js/jquery.min.js" %}
"></script>
+ <script type="text/javascript" src="
{% static "js/htsw.js" %}
"></script>
<script type="text/javascript">
$(document).ready(function() {
$(window).resize(function() {
<script type="text/javascript">
$(document).ready(function() {
$(window).resize(function() {
@@
-91,7
+92,7
@@
<td bgcolor="#66CDAA">{{ lib.lanes_run.1.1 }}</td>
<td bgcolor="#66CDAA">{{ lib.lanes_run.1.2 }}</td>
{% if lib.is_archived %}
<td bgcolor="#66CDAA">{{ lib.lanes_run.1.1 }}</td>
<td bgcolor="#66CDAA">{{ lib.lanes_run.1.2 }}</td>
{% if lib.is_archived %}
- <td ><img src="
/static/img/hdd_unmount.png
" alt="Archived" /></td>
+ <td ><img src="
{% static "img/hdd_unmount.png" %}
" alt="Archived" /></td>
{% else %}
<td ></td>
{% endif %}
{% else %}
<td ></td>
{% endif %}