upgraded bootstrap, fixed style, added share blacklisting

This commit is contained in:
ston1th 2018-09-14 20:49:50 +02:00
commit 3fb1cfc17d
37 changed files with 811 additions and 892 deletions

View file

@ -45,6 +45,12 @@ var routes = []route{
allHandler,
[]string{"GET"},
},
{
"/blacklist",
authHandler(
pageBlacklistHandler),
[]string{"GET", "POST"},
},
{
"/user",
adminAuthHandler(
@ -105,7 +111,7 @@ var routes = []route{
{
"/{section}/{title}/share",
pageShareHandler,
[]string{"GET"},
[]string{"GET", "POST"},
},
{
"/{section}/{title}/edit",