From b03bfc8f3fd84141738f775b273a99850d78e1ff Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 12 Nov 2018 23:18:56 -0800 Subject: refactor python modules --- python/fatcat_web/templates/release_search.html | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 python/fatcat_web/templates/release_search.html (limited to 'python/fatcat_web/templates/release_search.html') diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html new file mode 100644 index 00000000..c57ad149 --- /dev/null +++ b/python/fatcat_web/templates/release_search.html @@ -0,0 +1,64 @@ +{% extends "base.html" %} +{% block body %} + +

Article Search

+
+
+
+ + +
+
+ + +
+
+
+ +
+ +{% if found %} +{% if found.results %} + Showing top {{ found.count_returned }} out of {{ found.count_found }} results for: {{ found.query.q }} +{% for paper in found.results %} +
+

{{ paper['title'] }} + {% if paper.file_pdf_url %} +   fulltext + {% endif %} +

+
{{ ", ".join(paper.contrib_names) }}
+ {% if paper.doi %} + DOI: {{ paper.doi }} + - {{ paper.release_type }} + {% if paper.release_date %} + - {{ paper.release_date[:4] }} + {% endif %} +
+ {% endif %} + {% if paper.container_name %} + {% if paper.container_issnl %} + {{ paper.container_name }} + {% else %} + {{ paper.container_name }} + {% endif %} + {% if paper.container_is_oa %}{% endif %} + {% endif %} +
+{% endfor %} +{% else %} +
+

No results found!

+ Query was: {{ found.query.q }} +
+

Try:

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