Added a vocab page
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<a href="{{ url_for('get_weather') }}">Weather</a>
|
||||
<a href="{{ url_for('rank') }}">Relative Rank</a>
|
||||
<a href="{{ url_for('motion') }}">Motion Graphics</a>
|
||||
<a href="{{ url_for('vocabulary') }}">Vocabulary</a>
|
||||
<a href="{{ url_for('about') }}">About</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
20
templates/vocabulary.html
Normal file
20
templates/vocabulary.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Japanese Vocabulary</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Japanese</th>
|
||||
<th>English</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for japanese, english in vocab_list %}
|
||||
<tr>
|
||||
<td>{{ japanese }}</td>
|
||||
<td>{{ english }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user