mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
15 lines
322 B
Python
15 lines
322 B
Python
from flask import render_template
|
|
from flask_login import login_required
|
|
from . import main
|
|
|
|
|
|
@main.route('/')
|
|
def index():
|
|
return render_template('main/index.html.j2', title='Opaque')
|
|
|
|
|
|
@main.route('/dashboard')
|
|
@login_required
|
|
def dashboard():
|
|
return render_template('main/dashboard.html.j2', title='Dashboard')
|