From 2c13a6224aa1fe7cd223a2c9cde237758ecfee7d Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 2 Sep 2024 12:17:54 +0300 Subject: Run djlint for gnqa html files. --- gn2/wqflask/templates/gnqa_answer.html | 243 +++++++++++++++++++++------------ 1 file changed, 153 insertions(+), 90 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 41c1b338..dc924d3b 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -1,98 +1,161 @@ -
-

- {{ query }}
- {{ answer|safe }} -

-
- - - - -
+

+ {{ query }} +
+ {{ answer|safe }} +

+
+ + + + +
-
-

References

- {% if references %} -
    - {% for reference in references %} -
  • -
    -
    - {% if loop.first %} - -
    -
    -

    {{ reference.comboTxt|safe }}

    -
    - {% 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 %} -
    -
    - {% else %} - -
    -
    -

    {{ reference.comboTxt|safe }}

    -
    - {% 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 %} -
    -
    -
    - {% endif %} -
    -
    -
  • - {% endfor %} -
- {% else %} -

No references available.

- {% endif %} -
-
+
+ +

References

+
+ {% if references %} + + {% else %} +

+ No references available. +

+ {% endif %} +
+ +
{% block js %} - - + {% endblock %} -- cgit v1.2.3