aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-27 15:04:02 +0300
committerBonfaceKilz2021-10-28 08:34:35 +0300
commitf7e18594b5a60ea966a38fc3424c32d104ce7a77 (patch)
tree2b24d2cb1725793e775245ce96fcfcddd15cb977
parent77865c2ffbc921abb2fe04a64d03e51d47b2ecce (diff)
downloadgenenetwork2-f7e18594b5a60ea966a38fc3424c32d104ce7a77.tar.gz
edit_probeset.html: Apply indentation
-rw-r--r--wqflask/wqflask/templates/edit_probeset.html70
1 files changed, 35 insertions, 35 deletions
diff --git a/wqflask/wqflask/templates/edit_probeset.html b/wqflask/wqflask/templates/edit_probeset.html
index cd7b1379..ab91b701 100644
--- a/wqflask/wqflask/templates/edit_probeset.html
+++ b/wqflask/wqflask/templates/edit_probeset.html
@@ -9,52 +9,52 @@ Submit Trait | Reset
<div class="container">
<details class="col-sm-12 col-md-10 col-lg-12">
- <summary>
- <h2>Update History</h2>
- </summary>
- <table class="table">
- <tbody>
- <tr>
- <th>Timestamp</th>
- <th>Editor</th>
- <th>Field</th>
- <th>Diff</th>
- </tr>
- {% set ns = namespace(display_cell=True) %}
+ <summary>
+ <h2>Update History</h2>
+ </summary>
+ <table class="table">
+ <tbody>
+ <tr>
+ <th>Timestamp</th>
+ <th>Editor</th>
+ <th>Field</th>
+ <th>Diff</th>
+ </tr>
+ {% set ns = namespace(display_cell=True) %}
- {% for timestamp, group in diff %}
- {% set ns.display_cell = True %}
- {% for i in group %}
- <tr>
- {% if ns.display_cell and i.timestamp == timestamp %}
+ {% for timestamp, group in diff %}
+ {% set ns.display_cell = True %}
+ {% for i in group %}
+ <tr>
+ {% if ns.display_cell and i.timestamp == timestamp %}
- {% set author = i.author %}
- {% set timestamp_ = i.timestamp %}
+ {% set author = i.author %}
+ {% set timestamp_ = i.timestamp %}
- {% else %}
+ {% else %}
- {% set author = "" %}
- {% set timestamp_ = "" %}
+ {% set author = "" %}
+ {% set timestamp_ = "" %}
- {% endif %}
- <td>{{ timestamp_ }}</td>
- <td>{{ author }}</td>
- <td>{{ i.diff.field }}</td>
- <td><pre>{{ i.diff.diff }}</pre></td>
- {% set ns.display_cell = False %}
- </tr>
- {% endfor %}
- {% endfor %}
- </tbody>
- </table>
+ {% endif %}
+ <td>{{ timestamp_ }}</td>
+ <td>{{ author }}</td>
+ <td>{{ i.diff.field }}</td>
+ <td><pre>{{ i.diff.diff }}</pre></td>
+ {% set ns.display_cell = False %}
+ </tr>
+ {% endfor %}
+ {% endfor %}
+ </tbody>
+ </table>
</details>
</div>
{% endif %}
-<form id="edit-form" class="form-horizontal" method="post" action="/datasets/traits/{{ dataset_id }}?resource-id={{ resource_id }}>
- <h2 class="text-center">Probeset Information:</h2>
+<form id="edit-form" class="form-horizontal" method="post" action="/datasets/traits/{{ name }}?resource-id={{ resource_id }}">
+ <h2 class="text-center">Probeset Information:</h2>
<div class="form-group">
<label for="symbol" class="col-sm-2 control-label">Symbol:</label>
<div class="col-sm-4">