root / templates / graphs.html @ 04733cdb
History | View | Annotate | Download (1 kB)
1 |
|
---|---|
2 |
{% for i in urls %} |
3 |
|
4 |
<div class="span4"> |
5 |
<div>
|
6 |
<a href="{% url graphperiods i.graph.pk %}">{{i.lun}}:{{i.graph.description}}</a><br> |
7 |
<img src={{i.url}}> |
8 |
</div>
|
9 |
</div>
|
10 |
|
11 |
{% endfor %} |
12 |
|
13 |
{% comment %} |
14 |
<!DOCTYPE HTML>
|
15 |
<html>
|
16 |
<head>
|
17 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
18 |
<title>Lun Graphs</title> |
19 |
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/excanvas.min.js"></script><![endif]-->
|
20 |
<script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/jquery.js"></script> |
21 |
<script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/jquery.flot.js"></script> |
22 |
<script language="javascript" type="text/javascript" src="{{MEDIA_URL}}/js/jquery.flot.time.js"></script> |
23 |
</head>
|
24 |
<body>
|
25 |
<h1>Lun example</h1> |
26 |
{% for lun in luns %} |
27 |
|
28 |
{% for graph in lun.getGraphs %} |
29 |
<iframe src="{% url graphjson graph.pk %}" width="600" height="400" frameborder="0"></iframe><br> |
30 |
{% endfor %} |
31 |
{% endfor %} |
32 |
|
33 |
|
34 |
</body>
|
35 |
</html>
|
36 |
{% endcomment %} |