aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/publication.html
blob: 556d184f906295d054589d5be958fe9a81b45cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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 %}