From 86f18b45cc1bcb2ef1e1b4c88681c0a0654085a9 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 3 Apr 2024 14:32:01 +0300 Subject: Add pubmed info and styling --- gn2/wqflask/templates/gnqa_answer.html | 51 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 26 deletions(-) (limited to 'gn2/wqflask/templates/gnqa_answer.html') diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 6759ef72..825b994c 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -32,15 +32,18 @@

{{ reference.comboTxt }}

-
+
{% if reference.pubmed %} -
- See PubMed Info -

{{ reference.pubmed[0].get('title') }}

-

Authors: {{ reference.pubmed[0].get('authors') }}

-

PMID: {{ reference.pubmed[0].get('pub_id') }}

-

Abstract: {{ reference.pubmed[0].get('abstract')|safe }}

-

See full Article on Pubmed

+
+ See PubMed Info +
+

{{ reference.pubmed[0].get('title') }}:

+

Authors:{{ reference.pubmed[0].get('authors') }}

+

PMID: {{ reference.pubmed[0].get('pub_id') }}

+

Abstract:

+

{{ reference.pubmed[0].get('abstract')|safe }}

+

See full Article on Pubmed

+
{% endif %}
@@ -54,26 +57,24 @@
-
-
- - +

{{reference.comboTxt}}

+
{% if reference.pubmed %} - - -
- - -
- +
+ See PubMed Info +
+

{{ reference.pubmed[0].get('title') }}:

+

Authors:{{ reference.pubmed[0].get('authors') }}

+

PMID: {{ reference.pubmed[0].get('pub_id') }}

+

Abstract:

+

{{ reference.pubmed[0].get('abstract')|safe }}

+

See full Article on Pubmed

+
+
{% endif %} - -

{{reference.comboTxt}}

- +
{% endif %} @@ -82,11 +83,9 @@ {% endfor %} - {% else %}

No references available.

{% endif %} -
-- cgit v1.2.3