diff --git a/views/password.pug b/views/password.pug new file mode 100644 index 0000000..c5d937d --- /dev/null +++ b/views/password.pug @@ -0,0 +1,24 @@ +extends ./partials/layout.pug + +block title + |Security check | Icy Network + +block body + include ./partials/logo.pug + div.container + div.center-box + h1 Please enter your current password + if message.text + if message.error + .alert.alert-danger + span #{message.text} + else + .alert.alert-success + span #{message.text} + + form(method="post") + div.form-container + input#csrf(type="hidden", name="_csrf", value=csrf) + label.form-label(for="password") Password + input.form-control#password(type="password", name="password", autofocus) + button.btn.btn-primary(type="submit") Submit