Mercurial > lbo > hg > analyrics
view assets/settings.html.hbs @ 68:2a7b358c2710
Deploy settings page (no admin stuff yet)
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Sun, 31 Jul 2022 21:17:53 -0700 |
parents | |
children | eade8c0055bf |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <title>Analyrics - Settings</title> <meta name="robots" content="noindex"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="static/style.css" type="text/css" /> <link rel="icon" type="image/png" href="static/favicon.ico"> </head> <body> <!-- Header --> <div id="header"> <span id="logo">AnaLyrics</span> <form id="logout" action="logout" method="POST"> <input type="submit" value="Log out" /> </form> <a class="useraction" href="{{ basepath }}">Dashboard</a> </div> {{#if flash}}<div id="flash"><span id="flashtext">{{flash}}<span></div>{{/if}} {{#if error}}<div id="error"><span id="errortext">{{error}}</span></div>{{/if}} <h1>Welcome, {{user}}!</h1> <h2>Password</h2> <form id="pwform" action="{{thispath}}" method="POST"> <label for="oldpassword">Old password:</label> <input type="password" name="oldpassword" /> <label for="newpassword">New password:</label> <input type="password" name="newpassword" /> <input type="submit" value="Save" /> </form> <h2>Time zone</h2> <form id="tzform" action="{{thispath}}" method="POST"> <label>Your time zone:</label> <input type="number" min="-12" max="12" name="tz_offset" value="{{tz_offset}}" /> <input type="submit" value="Save" /> </form> </body> </html>