Add corpus page.

This commit is contained in:
Patrick Jentsch
2019-08-05 16:46:34 +02:00
parent e30d3fc048
commit 34b87c23a7
2 changed files with 48 additions and 0 deletions

View File

@ -15,6 +15,11 @@ def index():
return render_template('main/index.html.j2', title='Opaque')
@main.route('/corpora/<corpus>')
def corpora(corpus):
return render_template('main/corpus.html.j2', title=corpus)
@main.route('/dashboard', methods=['GET', 'POST'])
@login_required
def dashboard():