diff options
author | Munyoki Kilyungi | 2024-02-26 13:43:23 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-26 10:01:13 +0300 |
commit | cc42dd690513f044b9a05c466e9e8c9a97981f74 (patch) | |
tree | 57531f3c4c75e7c532e106eb651de74dca18cf5e /gn2/wqflask/templates/metadata/dataset.html | |
parent | b1fa8a931f0662c50935d2a3d14f754cf756e9d1 (diff) | |
download | genenetwork2-cc42dd690513f044b9a05c466e9e8c9a97981f74.tar.gz |
Have one template for datasets.
* gn2/wqflask/templates/metadata/dataset.html: Move this ...
* gn2/wqflask/templates/dataset.html: ... here.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask/templates/metadata/dataset.html')
-rw-r--r-- | gn2/wqflask/templates/metadata/dataset.html | 170 |
1 files changed, 0 insertions, 170 deletions
diff --git a/gn2/wqflask/templates/metadata/dataset.html b/gn2/wqflask/templates/metadata/dataset.html deleted file mode 100644 index 1946d01a..00000000 --- a/gn2/wqflask/templates/metadata/dataset.html +++ /dev/null @@ -1,170 +0,0 @@ -<header class="page-header text-justify"> - <h1> - {% if dataset.title or dataset.label or dataset.altLabel %} - {{ dataset.title or dataset.label or dataset.altLabel }} - {% if dataset.title != dataset.altLabel and dataset.label != dataset.altLabel %} - <br/> - <small>({{ dataset.altLabel }})</small> - {% endif %} - {% else %} - {{ name }} - {% endif %} - </h1> -</header> - -<div class="container dataset-content"> - <div class="panel-about panel panel-info panel-metadata text-muted"> - <div class="panel-heading"> - <strong> - <span class="glyphicon glyphicon-info-sign aria-hidden=true"></span> - Details - </strong> - {% if dataset.accessionId %} - <small> - <a href="https://gn1.genenetwork.org/webqtl/main.py?FormID=sharinginfo&GN_AccessionId={{ dataset.accessionId.split('GN')[-1] }}" target="_blank">(GN1 Link)</a> - </small> - {% endif %} - </div> - <div class="panel-body"> - <dl class="dl-horizontal"> - {% if dataset.label != dataset.altLabel and dataset.label != dataset.title %} - <dt>Name</dt> - <dd> {{ dataset.label }} </dd> - {% endif %} - {% if dataset.created %} - <dt>Created</dt> - <dd>{{ dataset.created }}</dd> - {% endif %} - {% if dataset.inbredSet %} - <dt>Group</dt> - <dd>{{ dataset.inbredSet.label}}</dd> - {% endif %} - - {% if dataset.accessionId %} - <dt>Accession Id</dt> - <dd>{{ dataset.accessionId}}</dd> - {% endif %} - - {% if dataset.hasGeoSeriesId %} - <dt>GEO Series</dt> - <dd> - <a href="{{ dataset.geoSeriesId }}" target="_blank">{{ dataset.geoSeriesId.split("=")[-1] }}</a> - </dd> - {% endif %} - - {% if dataset.tissue %} - <dt>Tissue</dt> - <dd>{{ dataset.tissue.label }}</dd> - {% endif %} - - {% if dataset.platform %} - <dt>Platforms</dt> - <dd> - {{ dataset.platform.label }} - [<a href="{{ dataset.platform.id}}" target="_blank"> - {{ dataset.platform.prefLabel}} - </a>] - </dd> - {% endif %} - - {% if dataset.normalization %} - <dt>Normalization</dt> - <dd>{{ dataset.normalization.label }}</dd> - {% endif %} - - {% if dataset.contactPoint %} - <dt>Investigator</dt> - <dd> - {% if dataset.contactPoint.contactWebUrl %} - <a href="{{ dataset.contactPoint.contactWebUrl }}" target="_blank"> - {{ dataset.contactPoint.contactName }} - </a> - {% else %} - {{ dataset.contactPoint.contactName }} - {% endif %} - </dd> - {% endif %} - - {% if dataset.organization %} - <dt>Organization</dt> - <dd>{{ dataset.organization }}</dd> - {% endif %} - </dl> - </div> - </div> - - <div id="dataset-description" class="container row dataset-metadata"> - {% if dataset.description %} - <h3> - Description - <sup> - [ - <a href="/metadata/edit?type=dcat:Dataset§ion=description&name={{ dataset.label}}" target="_blank">edit</a> - ] - </sup> - </h3> - <div>{{ dataset.description|safe }}</div>g - {% endif %} - - {% if dataset.experimentType %} - <h3><strong>Experiment Type</strong></h3> - <div>{{ dataset.experimentType|safe }}</div> - {% endif %} - - {% if dataset.specificity %} - <h2><strong>Specifics of this Dataset</strong></h2> - <div>{{ dataset.specificity }}</div> - {% endif %} - - {% if dataset.experimentDesignInfo %} - <h3><strong>Experiment Design</strong></h3> - <div>{{ dataset.experimentDesignInfo|safe }}</div> - {% endif %} - - {% if dataset.caseInfo %} - <h3><strong>About the Cases Used to Generate this Dataset:</strong></h3> - <div>{{ dataset.caseInfo|safe }}</div> - {% endif %} - - {% if dataset.tissue and dataset.tissueInfo %} - <h3><strong>About the Tissue - {%if dataset.tissue and dataset.tissue.label %}({{ dataset.tissue.label }}) - {% endif %}Used to Generate this Dataset</strong></h3> - <div>{{ dataset.tissueInfo|safe }}</div> - {% endif %} - - {% if dataset.platform and dataset.platformInfo %} - <h3 title="{{ dataset.platform.label }}"><strong>About the Array Platform</strong></h3> - <div>{{ dataset.platformInfo|safe }}</div> - {% endif %} - - {% if dataset.processingInfo %} - <h3><strong>About Data Values and Data Processing</strong></h3> - <div>{{ dataset.processingInfo|safe }}</div> - {% endif %} - - {% if dataset.notes %} - <h3><strong>Notes</strong></h3> - <div>{{ dataset.notes|safe }}</div> - {% endif %} - - {% if dataset.citation|trim %} - <h3><strong>Citation</strong></h3> - <div>{{ dataset.citation|safe}}</div> - {% endif %} - - {% if dataset.acknowledgement|trim %} - <h3><strong>Acknowledgment</strong></h3> - <div>{{ dataset.acknowledgement|safe}}</div> - {% endif %} - - {% if dataset.contributors %} - <h3><strong>Contributors</strong></h3> - <div>{{ dataset.contributors|safe }}</div> - {% endif %} - </div> - -</div> - -</div> - |