diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/contacts.pug | 4 | ||||
-rw-r--r-- | views/message_outbox.pug | 2 | ||||
-rw-r--r-- | views/user.pug | 8 | ||||
-rw-r--r-- | views/webhook.pug | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/views/contacts.pug b/views/contacts.pug index 78f1f5b..64d39d0 100644 --- a/views/contacts.pug +++ b/views/contacts.pug @@ -29,7 +29,7 @@ html td= who.atime td.r a.blue(href="/message/send/"+who.name) 📝 - a.red(href="/contact/remove/"+who.name) ❌ + a.red(href="/contacts/remove/"+who.name) ❌ else tr td Nobody @@ -48,7 +48,7 @@ html td a.black(href="/user/"+who.name)= who.name td.r - a.red(href="/contact/remove/"+who.name) ❌ + a.red(href="/contacts/remove/"+who.name) ❌ else tr td Nobody diff --git a/views/message_outbox.pug b/views/message_outbox.pug index 267a8b3..f305d83 100644 --- a/views/message_outbox.pug +++ b/views/message_outbox.pug @@ -10,7 +10,7 @@ html function delete_all() { let warning = "Are you sure you want to delete ALL the messages?" if (window.confirm(warning)) - window.location.href = "/outbox/delete" + window.location.href = "/message/delete/outbox" } body include header diff --git a/views/user.pug b/views/user.pug index c11f865..abb7865 100644 --- a/views/user.pug +++ b/views/user.pug @@ -31,13 +31,13 @@ html a(href="/message/send/"+who.name) Send message br if relation > 0 - a(href="/contact/remove/"+who.name) Remove from friends + a(href="/contacts/remove/"+who.name) Remove from friends else if relation < 0 - a(href="/contact/remove/"+who.name) Remove from blacklist + a(href="/contacts/remove/"+who.name) Remove from blacklist else - a(href="/contact/add-friend/"+who.name) Add to friends + a(href="/contacts/add-friend/"+who.name) Add to friends br - a(href="/contact/add-enemy/"+who.name) Blacklist user + a(href="/contacts/add-enemy/"+who.name) Blacklist user if open_games.length > 0 h2 Open diff --git a/views/webhook.pug b/views/webhook.pug index ad6c75f..20d20ac 100644 --- a/views/webhook.pug +++ b/views/webhook.pug @@ -14,7 +14,7 @@ html(lang="en") - var format = webhook && webhook.format || "" - var prefix = webhook && webhook.prefix || "" - form(action="/update-webhook" method="post") + form(action="/api/webhook/update" method="post") if webhook && webhook.error p.error ERROR: #{webhook.error} p Webhook URL: @@ -34,7 +34,7 @@ html(lang="en") button(type="submit") Create if webhook - form(action="/delete-webhook" method="post") + form(action="/api/webhook/delete" method="post") button(type="submit") Delete h2 Discord Notifications |