10 lines
258 B
Python
10 lines
258 B
Python
import flask
|
|
|
|
page = flask.Blueprint("panel", __name__, template_folder="templates")
|
|
|
|
@page.route("/panel")
|
|
def show():
|
|
if (not flask.session.get("email")):
|
|
return (flask.redirect("/login"))
|
|
return (flask.render_template("panel/panel.html"))
|