mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
21 lines
390 B
Python
21 lines
390 B
Python
# coding:utf-8
|
|
|
|
from flask import Flask
|
|
from flask import Blueprint, render_template
|
|
from flask import jsonify
|
|
import psutil
|
|
import time
|
|
|
|
|
|
dashboard = Blueprint('dashboard', __name__, template_folder='templates')
|
|
|
|
|
|
@dashboard.route("/")
|
|
def index():
|
|
return render_template('default/index.html')
|
|
|
|
|
|
@dashboard.route("/login")
|
|
def login():
|
|
return render_template('default/login.html')
|