aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/list_case_attribute_diffs.html
diff options
context:
space:
mode:
authorArun Isaac2023-12-29 18:55:37 +0000
committerArun Isaac2023-12-29 19:01:46 +0000
commit204a308be0f741726b9a620d88fbc22b22124c81 (patch)
treeb3cf66906674020b530c844c2bb4982c8a0e2d39 /gn2/wqflask/templates/list_case_attribute_diffs.html
parent83062c75442160427b50420161bfcae2c5c34c84 (diff)
downloadgenenetwork2-204a308be0f741726b9a620d88fbc22b22124c81.tar.gz
Namespace all modules under gn2.
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.
Diffstat (limited to 'gn2/wqflask/templates/list_case_attribute_diffs.html')
-rw-r--r--gn2/wqflask/templates/list_case_attribute_diffs.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/list_case_attribute_diffs.html b/gn2/wqflask/templates/list_case_attribute_diffs.html
new file mode 100644
index 00000000..f5c7482f
--- /dev/null
+++ b/gn2/wqflask/templates/list_case_attribute_diffs.html
@@ -0,0 +1,59 @@
+{%extends "base.html"%}
+{%block title%}List Case Attribute Diffs{%endblock%}
+
+{%block css%}
+<link rel="stylesheet" type="text/css"
+ href="/css/DataTables/css/jquery.dataTables.css" />
+<link rel="stylesheet" type="text/css"
+ href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
+<link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" />
+
+<style>
+ .table-fixed-head {overflow-y: auto; height: 32em;}
+ .table-fixed-head thead th {position: sticky; top: 0;}
+</style>
+{%endblock%}
+
+{%block content%}
+<div class="container">
+ <h1>List Diffs</h1>
+
+ {{flash_me()}}
+
+ <table class="table-hover table-striped cell-border dataTable no-footer">
+ <thead>
+ <tr>
+ <th>Edit on</th>
+ <th>Filename</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ {%for diff in diffs%}
+ <tr>
+ <td>{{diff.time_stamp}}</td>
+ <td>
+ <a href="{{url_for('view_diff', inbredset_id=diff.json_diff_data.inbredset_id, diff_id=diff.id)}}"
+ title="View the diff">
+ {{diff.filename}}
+ </a>
+ </td>
+ </tr>
+ {%else%}
+ <tr>
+ <td colspan="5" class="text-info" style="text-align: center;line-height: 2em;">
+ <span class="glyphicon glyphicon-exclamation-sign">
+ </span>
+ There are no diffs pending review
+ </td>
+ </tr>
+ {%endfor%}
+ </tbody>
+ </table>
+{%endblock%}
+
+{%block js%}
+<script language="javascript"
+ type="text/javascript"
+ src="{{url_for('js', filename='DataTables/js/jquery.js')}}"></script>
+{%endblock%}