mirror of https://github.com/midoks/mdserver-web
parent
3d9d528694
commit
71877f7403
@ -0,0 +1,17 @@ |
|||||||
|
# coding:utf-8 |
||||||
|
|
||||||
|
# --------------------------------------------------------------------------------- |
||||||
|
# MW-Linux面板 |
||||||
|
# --------------------------------------------------------------------------------- |
||||||
|
# copyright (c) 2018-∞(https://github.com/midoks/mdserver-web) All rights reserved. |
||||||
|
# --------------------------------------------------------------------------------- |
||||||
|
# Author: midoks <midoks@163.com> |
||||||
|
# --------------------------------------------------------------------------------- |
||||||
|
|
||||||
|
|
||||||
|
from flask import Blueprint, render_template |
||||||
|
|
||||||
|
blueprint = Blueprint('dashboard', __name__, url_prefix='/') |
||||||
|
@blueprint.route('/') |
||||||
|
def index(): |
||||||
|
return "dashboard" |
@ -0,0 +1,7 @@ |
|||||||
|
|
||||||
|
from .dashboard import blueprint as DashboardModule |
||||||
|
|
||||||
|
def get_submodules(): |
||||||
|
return [ |
||||||
|
DashboardModule, |
||||||
|
] |
Loading…
Reference in new issue