-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
23 lines (23 loc) · 896 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "layout.html" %}
{% block body %}
{%- if text %}
{%- set btn_txt = 'Clear result' %}
{%- set btn_cls = 'btn-secondary' %}
{%- set readonly = ' readonly' %}
{% else %}
{%- set btn_txt = 'Check citations' %}
{%- set btn_cls = 'btn-info' %}
{%- set readonly = '' %}
{% endif -%}
<div class="sub-container">
<div class="backdrop">
<div class="highlights">{%- if highlights %}{{ highlights|safe }}{% endif %}</div>
</div>
<textarea placeholder="Paste APA or AMA citations to check if there are any citations to retracted articles..."{{ readonly }}>{%- if text %}{{ text }}{% endif %}</textarea>
</div>
<form action="" method="post">
<input type="hidden" name="citations" id="citations" value="">
<button class="col-12 col-sm-6 btn {{ btn_cls }}">{{ btn_txt }}</button>
</form>
<script src="{{ url_for('static', filename='js/recite.js') }}"></script>
{% endblock %}