admin: submissions page, download endpoint, uploads search by app_id
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -27,3 +27,12 @@ func uploadsWebHandler(c *gin.Context) {
|
||||
}
|
||||
c.Data(http.StatusOK, "text/html; charset=utf-8", data)
|
||||
}
|
||||
|
||||
func submissionsWebHandler(c *gin.Context) {
|
||||
data, err := webFS.ReadFile("web/submissions.html")
|
||||
if err != nil {
|
||||
c.String(http.StatusInternalServerError, "submissions.html: %v", err)
|
||||
return
|
||||
}
|
||||
c.Data(http.StatusOK, "text/html; charset=utf-8", data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user