This commit is contained in:
Mr Chen
2024-10-19 21:44:12 +08:00
parent c42b92bb95
commit 76199a20a4
4 changed files with 42 additions and 4 deletions
+17
View File
@@ -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={})
+17
View File
@@ -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={})
+4
View File
@@ -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
]