diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-03 18:00:51 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-03 18:00:51 -0400 |
| commit | f154ae1ec88146017abf3de9d14d119facb5fc4c (patch) | |
| tree | cd857864dd52b088ccc8943b64fe9bbd59c04dc8 /templates/settings.tmpl | |
| parent | 3f3cb7c7cede379914eed51c57e58f66ffdd1856 (diff) | |
| download | lastfm-api-f154ae1ec88146017abf3de9d14d119facb5fc4c.tar.gz | |
Basic web app
Diffstat (limited to 'templates/settings.tmpl')
| -rw-r--r-- | templates/settings.tmpl | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl new file mode 100644 index 0000000..5c757ee --- /dev/null +++ b/templates/settings.tmpl @@ -0,0 +1,37 @@ +{{template "header" .}} +<form method=post action="/settings"> +<section> +<h2>Profile</h2> + <div class="row"> + <div class="form-element"> + <input name="name" id="name" type="text" value={{.UserName}}> + <label for="name">Name</label> + </div> + + <div class="form-element"> + <input name="email" id="email" type="text" value={{.Email}}> + <label for="email">Email</label> + </div> + </div> +</section> + +<section> +<h2>Last.fm</h2> + <div class="row"> + <div class="form-element"> + <input name="lfm_name" id="lfm_name" type="text" value={{.LfmName}}> + <label for="lfm_name">Username</label> + </div> + + <div class="form-element"> + <input name="lfm_password" id="lfm_password" type="password" value={{.LfmPassword}}> + <label for="lfm_password">Password</label> + </div> + </div> + +</section> +<div class="row"> +<input type="submit" value="SAVE"> +</div> +</form> +{{template "footer"}} |
