mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
390 B
20 lines
390 B
# 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')
|
|
|