git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed Manifold dependency: platforms, user, account are retrieved through Queries...
[myslice.git]
/
rest
/
templates
/
table-default.html
diff --git
a/rest/templates/table-default.html
b/rest/templates/table-default.html
index
d8397ce
..
d971306
100644
(file)
--- a/
rest/templates/table-default.html
+++ b/
rest/templates/table-default.html
@@
-7,8
+7,8
@@
</thead>
<tbody>
{% for d in data %}
</thead>
<tbody>
{% for d in data %}
-<tr
id="{{
id }}">
- {% if "checkbox" in options %}<td><input type="checkbox" name="{{ id }}" /></td>{% endif %}
+<tr
data-key="{{ d|key:
id }}">
+ {% if "checkbox" in options %}<td><input type="checkbox" name="{{ id }}"
value="{{ d|key:id }}"
/></td>{% endif %}
{% for f in fields %}<td><div class="line1">{{ d|key:f }}</div></td>{% endfor %}
</tr>
{% endfor %}
{% for f in fields %}<td><div class="line1">{{ d|key:f }}</div></td>{% endfor %}
</tr>
{% endfor %}