aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/macro-display-preview-table.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-12-17 12:50:05 -0600
committerFrederick Muriuki Muriithi2024-12-17 15:23:27 -0600
commite15e4a0d34f918a4d488f25012aaa7b32984f935 (patch)
tree5e35e30caf307f1c44fc78d480105f7a54dd209b /uploader/templates/phenotypes/macro-display-preview-table.html
parente8fd56734dc582355bd807cfc34b872c10c794c1 (diff)
downloadgn-uploader-e15e4a0d34f918a4d488f25012aaa7b32984f935.tar.gz
Add template for tables to preview files' parsing.
Diffstat (limited to 'uploader/templates/phenotypes/macro-display-preview-table.html')
-rw-r--r--uploader/templates/phenotypes/macro-display-preview-table.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/macro-display-preview-table.html b/uploader/templates/phenotypes/macro-display-preview-table.html
new file mode 100644
index 0000000..7509158
--- /dev/null
+++ b/uploader/templates/phenotypes/macro-display-preview-table.html
@@ -0,0 +1,21 @@
+{%macro display_preview_table(tableid, filetype)%}
+<div class="card" style="max-width: 676px;">
+ <div class="card-body">
+ <h5 class="card-title">Phenotypes '{{filetype | title}}' File Preview</h5>
+ <div class="card-text">
+ <table id="{{tableid}}" class="table table-condensed table-responsive" style="overflow: hidden;">
+ <thead>
+ <tr>
+ </tr>
+ <tbody>
+ <tr>
+ <td class="data-row-template text-info">
+ Provide a phenotype '{{filetype | lower}}' file to preview.
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+</div>
+{%endmacro%}