git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work on a hard wired list of slice names from views.py
[unfold.git]
/
slice
/
templates
/
slice.html
diff --git
a/slice/templates/slice.html
b/slice/templates/slice.html
index
dc6809b
..
ee9186d
100644
(file)
--- a/
slice/templates/slice.html
+++ b/
slice/templates/slice.html
@@
-10,14
+10,15
@@
{% insert_str prelude "datatables/js/dataTables.js" %}
{% insert_str prelude "css/slice.css" %}
{% insert prelude_js %}
{% insert_str prelude "datatables/js/dataTables.js" %}
{% insert_str prelude "css/slice.css" %}
{% insert prelude_js %}
-$(document).ready(function () {
window.console.log('hi'); $('#datatable').dataTable()}
)
+$(document).ready(function () {
$('#datatable').dataTable() }
)
{% endinsert %}
<table id='datatable'>
<thead> <tr> <th>slice</th> </tr> </thead>
<tbody>
{% endinsert %}
<table id='datatable'>
<thead> <tr> <th>slice</th> </tr> </thead>
<tbody>
- <tr><td> ple.inria.foo </td></tr>
- <tr><td>ple.inria.bar</td></tr>
+ {% for slicename in slices %}
+ <tr><td> <a href="/slice/{{ slicename }}/">{{ slicename }}</a></td></tr>
+ {% endfor %}
</tbody>
</table>
{% endblock content_related %}
</tbody>
</table>
{% endblock content_related %}