diff --git a/lib/routes/routes_admin.go b/lib/routes/routes_admin.go index c6eb2ce..5162728 100644 --- a/lib/routes/routes_admin.go +++ b/lib/routes/routes_admin.go @@ -63,6 +63,10 @@ func AdminRoutes(router *gin.RouterGroup) { }) + router.GET("/delete/:padname", func(ctx *gin.Context) { + + }) + // Admin view route router.GET("/view", func(ctx *gin.Context) { diff --git a/templates/pages/admin_view.html b/templates/pages/admin_view.html index 5da8e85..9a092e5 100644 --- a/templates/pages/admin_view.html +++ b/templates/pages/admin_view.html @@ -58,9 +58,9 @@ {{ $element.LastModified }}
- +
Delete - +
@@ -75,4 +75,14 @@ {{ template "inc/theme-toggle.html" .}} + + {{ template "inc/footer.html" .}} \ No newline at end of file