config.mustache 1.3 KB

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