移除旧版本静态模板

This commit is contained in:
zhengxinonly
2022-06-01 20:27:19 +08:00
parent 8835721924
commit d7d7e554ee
40 changed files with 1311 additions and 2912 deletions
+7 -7
View File
@@ -5,11 +5,11 @@ from models import RightModel
from applications.view import index_bp
@index_bp.get('/rights/')
@view_logging_required
@permission_required("admin:power:main")
def rights_index():
return render_template('admin/rights/rights.html')
# @index_bp.get('/rights/')
# @view_logging_required
# @permission_required("admin:power:main")
# def rights_index():
# return render_template('admin/rights/rights.html')
@index_bp.get('/rights/power/<int:power_id>')
@@ -22,11 +22,11 @@ def rights_edit(power_id):
icon = icon[1]
else:
icon = None
return render_template('admin/rights/rights_edit.html', power=power, icon=icon)
return render_template('view/system/power_edit.html', power=power, icon=icon)
@index_bp.get('/rights/add')
@view_logging_required
@permission_required("admin:power:main")
def rights_add():
return render_template('admin/rights/rights_add.html')
return render_template('view/system/power_add.html')