config.mustache 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <div class="config-pane">
  2. Change password:
  3. <form name="password-change" action="/u/{{username}}/password" method="POST">
  4. <div>
  5. <label for="old">Old password</label>
  6. <input name="old" type="password" />
  7. </div>
  8. <div>
  9. <label for="n1">New password</label>
  10. <input name="n1" type="password" />
  11. </div>
  12. <div>
  13. <label for="n2">Retype password</label>
  14. <input name="n2" type="password" />
  15. </div>
  16. <div>
  17. <input type="submit" value="Change Password" />
  18. </div>
  19. </form>
  20. </div>
  21. {{#admin_pane}}
  22. <div class="config-pane">
  23. User Invites:
  24. <ul>
  25. {{#invites}}
  26. {{#claimed}}
  27. <li>Token {{token}} claimed by <a href="/u/{{claimant}}">{{claimant}}</a></li>
  28. {{/claimed}}
  29. {{^claimed}}
  30. <li>Token <a href="/u?token={{token}}">{{token}}</a></li>
  31. {{/claimed}}
  32. {{/invites}}
  33. </ul>
  34. <form name="new-invite" action="/u/{{username}}/invite" method="POST">
  35. <div>
  36. <input type="submit" value="Create invite link" />
  37. </div>
  38. </form>
  39. </div>
  40. {{/admin_pane}}