From 426d6e460b36690e8fbbc0d09ad34e7bacade61a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sat, 17 Oct 2020 18:22:35 +0530 Subject: added Molecule Properties and Alerts --- app/templates/mol-characteristics.html | 66 ++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 app/templates/mol-characteristics.html (limited to 'app/templates/mol-characteristics.html') diff --git a/app/templates/mol-characteristics.html b/app/templates/mol-characteristics.html new file mode 100644 index 0000000..c7fc945 --- /dev/null +++ b/app/templates/mol-characteristics.html @@ -0,0 +1,66 @@ +{% extends 'base.html' %} +{% set active_page = "analyse" %} +{% block main %} +

Chemical Properties and Alerts

+
+ {% include 'flash_messages.html' %} + {{ form.csrf_token }} +
+ {{ form.query.label }} + {{ form.query(class="form-control")}} +
+ +
+
+ +
+
+ + {% if complete %} +
+

Properties

+ + + + + + + + + {% for x in prop %} + + + + + + + {% endfor %} +
PropertyValue
{{x}}{{prop[x]}}
+ + {% if perfect %} +

No alerts for the given compound.

+ {% endif %} + +
+ {% for x in range(result|length) %} + +
+
+ {{result[x]["SVG"] | safe }} +
+
+
{{result[x]["Name"]}}
+

{{result[x]["Description"]}}

+ Read Paper +
+
+ {% endfor %} +
+ {% endif %} + + + +{% endblock %} \ No newline at end of file -- cgit v1.2.3