aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/publication.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/publication.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/publication.html')
-rw-r--r--gn2/wqflask/templates/publication.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/publication.html b/gn2/wqflask/templates/publication.html
new file mode 100644
index 00000000..556d184f
--- /dev/null
+++ b/gn2/wqflask/templates/publication.html
@@ -0,0 +1,62 @@
+{% extends "base.html" %}
+
+{% block css %}
+<style type="text/css">
+ .page-header {
+ text-underline-offset: 0.5rem;
+ padding: 1em;
+ }
+
+ .panel-metadata {
+ display: inline-block;
+ width: fit-content;
+ height: fit-content;
+ padding: 0;
+ }
+
+ .panel-metadata dt {
+ color: green;
+ }
+
+ .panel-metadata dt::after {
+ content: ":";
+ }
+
+</style>
+{% endblock %}
+
+{% block title %}Title: {{metadata.title}}{% endblock %}
+
+{% block content %}
+
+<header class="page-header text-justify">
+ <h1>
+ {% if metadata.title %}
+ <u><a href="{{ metadata.id }}">{{ metadata.title}}</a></u>
+ {% else %}
+ {{ name }}
+ {% endif %}
+ </h1>
+</header>
+
+<div class="container">
+ {% if metadata == {} %}
+ <p class="lead">We appreciate your interest, but unfortunately, we don't have any additional information available for: <strong>{{ name }}</strong>. If you have any other questions or need assistance with something else, please feel free to reach out to us.</p>
+ {% else %}
+ <div class="panel-about panel panel-info panel-metadata text-muted{{ float_p }}">
+ <div class="panel-heading"><strong><span class="glyphicon glyphicon-info-sign aria-hidden=true"></span> Details</strong> </div>
+ <div class="panel-body">
+ <dl class="dl-horizontal">
+ <dt>Abstract</dt> <dd>{{ metadata.abstract or "N/A" }}</dd>
+ <dt>Journal</dt> <dd>{{ metadata.journal or "N/A" }}</dd>
+ <dt>Month</dt> <dd>{{ metadata.month or "N/A" }}</dd>
+ <dt>Page</dt> <dd>{{ metadata.pages or "N/A" }}</dd>
+ <dt>Year</dt> <dd>{{ metadata.year or "N/A" }}</dd>
+ </dl>
+ </div>
+ </div>
+ {% endif %}
+
+</div>
+
+{% endblock %}