From 026964990db4ce51a55dc6332a8abc2b6fd28d7e Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 20 Dec 2023 23:09:03 +0300 Subject: init gnqna ui implementation --- wqflask/wqflask/templates/gnqa.html | 117 ++++++++++++++++++++++ wqflask/wqflask/templates/gnqa_answer.html | 149 +++++++++++++++++++++++++++++ 2 files changed, 266 insertions(+) create mode 100644 wqflask/wqflask/templates/gnqa.html create mode 100644 wqflask/wqflask/templates/gnqa_answer.html diff --git a/wqflask/wqflask/templates/gnqa.html b/wqflask/wqflask/templates/gnqa.html new file mode 100644 index 00000000..58ece618 --- /dev/null +++ b/wqflask/wqflask/templates/gnqa.html @@ -0,0 +1,117 @@ +{% extends "base.html" %} +{% block title %}GNQNA{% endblock %} + +{% block content %} + + + + + +
+
+
+
+ + +
+
+ +
+ +
+ +
+ + + + + + + + + + +{% endblock %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wqflask/wqflask/templates/gnqa_answer.html b/wqflask/wqflask/templates/gnqa_answer.html new file mode 100644 index 00000000..e3d010f0 --- /dev/null +++ b/wqflask/wqflask/templates/gnqa_answer.html @@ -0,0 +1,149 @@ +{% extends "base.html" %} +{% block title %}GNQNA{% endblock %} + +{% block content %} + + + + +{% block css %} + +{% endblock %} + + + + +
+
+
+

{{query}}

+

+ +
+

{{answer}}

+

+
+ +
+ + + +
+

References

+ {% if references %} +
    + {% for reference in references %} +
  • +

    {{ reference.bibInfo }}

    +

    {{reference.comboTxt}}

    +
  • + {% endfor %} +
+ {% else %} +

No references available.

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