diff options
author | Frederick Muriuki Muriithi | 2024-12-17 12:50:05 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-17 15:23:27 -0600 |
commit | e15e4a0d34f918a4d488f25012aaa7b32984f935 (patch) | |
tree | 5e35e30caf307f1c44fc78d480105f7a54dd209b /uploader/templates/phenotypes/macro-display-preview-table.html | |
parent | e8fd56734dc582355bd807cfc34b872c10c794c1 (diff) | |
download | gn-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.html | 21 |
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%} |