From 986ce7a38029f7fb20a51271f67d943678e17386 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 1 Apr 2020 21:29:56 -0700 Subject: first iteration of web interface Copied and tweaked from fatcat:python/fatcat_web LICENSE file for this repo is a TODO and will need to match that of fatcat. --- fatcat_covid19/templates/base.html | 106 +++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 fatcat_covid19/templates/base.html (limited to 'fatcat_covid19/templates/base.html') diff --git a/fatcat_covid19/templates/base.html b/fatcat_covid19/templates/base.html new file mode 100644 index 0000000..0ca8471 --- /dev/null +++ b/fatcat_covid19/templates/base.html @@ -0,0 +1,106 @@ + + + + + + + + COVID-19 Research Search + + + + {% block extra_head %}{% endblock %} + + + + + +{% block fullmain %} + +
+{% with messages = get_flashed_messages() %} + {% if messages %} +
+ {# Needs more javascript: #} +
Flash Message!
+
    + {% for message in messages %} +
  • {{ message|safe }} + {% endfor %} +
+
+ {% endif %} +{% endwith %} +{% block fullbody %} +
+ {% block body %}Nothing to see here.{% endblock %} +
+{% endblock %} +
+{% endblock %} + + + + + + +{% block postscript %}{% endblock %} + + + -- cgit v1.2.3