from flask import Blueprint, render_template
from flask_jwt_extended import jwt_required

index_bp = Blueprint("index", __name__)


@index_bp.route("/")
@jwt_required()
def index():
    return render_template("index.html")


@index_bp.route("/login.html")
@index_bp.route("/login")
def login():
    return render_template("login.html")


@index_bp.route("/register.html")
def register():
    return render_template("register.html")


@index_bp.route("/view/console/index.html")
def console1():
    return render_template("view/console/index.html")


@index_bp.route("/view/analysis/index.html")
def analysis():
    return render_template("view/analysis/index.html")
