{% extends "base.html" %} {% block body %}
{% if have_word %}

{{ word.name }}

Box: {{ word.box }}

{% for w in word.comment %}

{{ word.comment[w].part }}

    {% for e in word.comment[w].eg %}
  • {{ e.split('##')[0] }}

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

Sorry, there not any word.

Next word
{% endif %}
{% if have_word %}

{{ word.name }}

{% for w in word.comment %}

{{ word.comment[w].chinese }}

{{ word.comment[w].english }}

({{ word.comment[w].part }})

    {% for e in word.comment[w].eg %}
  • {{ e.split('##')[0] }}

    {{ e.split('##')[1] }}

  • {% endfor %}
{% endfor %}
Next word Download word Delete word Right Wrong
{% endif %}
{{ reset_delete.hidden_tag() }}

User: {{ current_user.user }}

You have {{ box_sum_distinct }}({{ box_sum }}) word(s) in database.

Today, you have feedback {{ right_count + wrong_count }} word.
Right: {{ right_count }}
Wrong: {{ wrong_count }}
{{ history }}

Word List
{{ search.hidden_tag() }}
{{ search.search(class="form-control") }}
{% for error in search.search.errors %} {{ error }} {% endfor %}
{{ search.submit(class='btn btn-outline-primary mr-2') }} {{ search.from_internet() }} {{ search.from_internet.label }} {{ search.add_to_db() }} {{ search.add_to_db.label }}
{% if have_job %}

Please wait for the current task to complete.

{% else %}
{{ upload.hidden_tag() }} {{ upload.submit(class='btn btn-outline-primary mr-2') }} {{ upload.file(class="btn") }}
{% endif %} LOGOUT RESET/DELETE USER
{% endblock %} {% block javascript %} {{ super() }} {% endblock %}