mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -14,4 +14,10 @@ from flask import Blueprint, render_template
|
||||
blueprint = Blueprint('config', __name__, url_prefix='/config', template_folder='../../templates/default')
|
||||
@blueprint.route('/index', endpoint='index')
|
||||
def index():
|
||||
return render_template('config.html', data={})
|
||||
return render_template('config.html', data={})
|
||||
|
||||
|
||||
|
||||
@blueprint.route('/get_panel_list', endpoint='get_panel_list', methods=['POST'])
|
||||
def get_panel_list():
|
||||
return []
|
||||
@@ -14,4 +14,10 @@ from flask import Blueprint, render_template
|
||||
blueprint = Blueprint('plugins', __name__, url_prefix='/plugins', template_folder='../../templates/default')
|
||||
@blueprint.route('/index', endpoint='index')
|
||||
def index():
|
||||
return render_template('plugins.html', data={})
|
||||
return render_template('plugins.html', data={})
|
||||
|
||||
|
||||
# 插件列表
|
||||
@blueprint.route('/list', endpoint='list', methods=['GET'])
|
||||
def list():
|
||||
return []
|
||||
Reference in New Issue
Block a user