mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:39:26 +08:00
update
This commit is contained in:
@@ -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('files', __name__, url_prefix='/files', template_folder='../../templates/default')
|
||||
@blueprint.route('/index', endpoint='index')
|
||||
def index():
|
||||
return render_template('files.html', data={})
|
||||
@@ -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('logs', __name__, url_prefix='/logs', template_folder='../../templates/default')
|
||||
@blueprint.route('/index', endpoint='index')
|
||||
def index():
|
||||
return render_template('logs.html', data={})
|
||||
@@ -3,11 +3,15 @@ from .dashboard import blueprint as DashboardModule
|
||||
from .site import blueprint as SiteModule
|
||||
from .task import blueprint as TaskModule
|
||||
from .config import blueprint as ConfigModule
|
||||
from .logs import blueprint as LogsModule
|
||||
from .files import blueprint as FilesModule
|
||||
|
||||
def get_submodules():
|
||||
return [
|
||||
DashboardModule,
|
||||
SiteModule,
|
||||
TaskModule,
|
||||
LogsModule,
|
||||
FilesModule,
|
||||
ConfigModule
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user