added admin comment interface

This commit is contained in:
nek0 2014-12-21 20:01:03 +01:00
parent b8e8a0c334
commit 86af6fb1bc
5 changed files with 9 additions and 2 deletions

View file

@ -45,6 +45,7 @@ import Handler.Admin
import Handler.AdminProfileSettings
import Handler.AdminAlbumSettings
import Handler.AdminMediumSettings
import Handler.AdminComments
import Handler.Tag
import Handler.RootFeed

View file

@ -37,7 +37,10 @@
/admin/album/#AlbumId/delete AdminAlbumDeleteR GET
/admin/medium AdminMediaR GET
/admin/medium/#MediumId AdminMediumSettingsR GET POST
/admin/meidum/#MediumId/delete AdminMediumDeleteR GET
/admin/medium/#MediumId/delete AdminMediumDeleteR GET
/admin/comment AdminCommentR GET
/admin/comment/#CommentId AdminCommentDeleteR GET
/tag/#Text TagR GET
/feed/root/atom.xml RootFeedAtomR GET

View file

@ -38,6 +38,7 @@ library
Handler.AdminProfileSettings
Handler.AdminAlbumSettings
Handler.AdminMediumSettings
Handler.AdminComments
Handler.Tag
Handler.RootFeed

View file

@ -11,3 +11,5 @@ $newline always
<a href=@{AdminAlbumsR}>Albums
<li>
<a href=@{AdminMediaR}>Media
<li>
<a href=@{AdminCommentR}>Comments

View file

@ -7,4 +7,4 @@ $newline always
<form method="POST" action=@{CommentDeleteR commentId}>
<label for="confirm">Really delete this comment
<input type="checkbox" id="confirm" name="confirm" value="confirm" required>
<input id="delete" type="submit" value="Delete medium">
<input id="delete" type="submit" value="Delete comment">