You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
406 B
Python
15 lines
406 B
Python
from quart import Blueprint, render_template, request, redirect, url_for, flash
|
|
from flask_login import login_required
|
|
|
|
|
|
bp = Blueprint('manage', 'manage', url_prefix='/manage')
|
|
|
|
@bp.route('')
|
|
@login_required
|
|
async def index():
|
|
return await render_template('manage.html')
|
|
|
|
@bp.route('/upload', methods=['GET', 'POST'])
|
|
@login_required
|
|
async def upload():
|
|
return await render_template('upload.html') |