21 lines
422 B
Python
21 lines
422 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import annotations
|
|
|
|
import flask
|
|
import flask_login
|
|
|
|
panel_bp: flask.Blueprint = flask.Blueprint(
|
|
"panel", __name__, url_prefix="/panel"
|
|
)
|
|
|
|
|
|
@panel_bp.route("")
|
|
@flask_login.login_required
|
|
def panel() -> str:
|
|
"""Renders the main panel page with PC details.
|
|
|
|
Returns:
|
|
Rendered HTML template with PC details.
|
|
"""
|
|
return flask.render_template("panel.html")
|