refactor: own taslsList page
This commit is contained in:
1 parent
6673986662
commit
ec510b5980
3 files changed
+21
-1
No files matched your search
@@ -315,6 +315,12 @@ def admin_results():
|
||||
}
|
||||
return render_template("admin_results.html", rows=rows, stats=stats, songs=songs)
|
||||
|
||||
@bp.route("/admin/list")
|
||||
@admin_required
|
||||
def admin_list():
|
||||
songs = load_songs_list()
|
||||
return render_template("admin_tasksList.html", songs=songs)
|
||||
|
||||
@bp.route("/api/admin/add", methods=["POST"])
|
||||
@admin_required
|
||||
def api_admin_add():
|
||||
|
||||
Reference in new issue
Block a user