diff --git a/public/s/css/w0bm.css b/public/s/css/w0bm.css index 19c3e1a..354a0dd 100644 --- a/public/s/css/w0bm.css +++ b/public/s/css/w0bm.css @@ -136,4 +136,8 @@ html[theme="f0ck"] .image-brand { .login-image { width: 300px; + } + + .tos { + margin: 2em; } \ No newline at end of file diff --git a/src/inc/routes/index.mjs b/src/inc/routes/index.mjs index 9d936dc..20aca11 100644 --- a/src/inc/routes/index.mjs +++ b/src/inc/routes/index.mjs @@ -111,6 +111,12 @@ export default (router, tpl) => { }); }); + router.get(/^\/(terms)$/, (req, res) => { + res.reply({ + body: tpl.render(req.url.split[0], { tmp: null }, req) + }); + }); + router.get(/^\/mode\/(\d)/, lib.loggedin, async (req, res) => { const mode = +req.url.split[1]; let referertmp = req.headers.referer; diff --git a/views/item.html b/views/item.html index 3dd9415..dd008c7 100644 --- a/views/item.html +++ b/views/item.html @@ -2,6 +2,7 @@
@include(snippets/footer) diff --git a/views/snippets/navbar.html b/views/snippets/navbar.html index 01939c2..96e7e58 100644 --- a/views/snippets/navbar.html +++ b/views/snippets/navbar.html @@ -1,3 +1,97 @@ + + @if(session) @@ -95,6 +171,7 @@ +
foo bar
+ by foobar timedate +