config.mustache 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. <div class="config-pane">
  24. <div class="config">
  25. <p>Drag the following link to your bookmark bar to create a bookmarklet:</p>
  26. <p><a href="{{bookmarklet_link}}">Add Lament</a></p>
  27. </div>
  28. </div>
  29. {{#admin_pane}}
  30. <div class="config-pane">
  31. <div class="config">
  32. User Invites:
  33. <ul>
  34. {{#invites}}
  35. {{#claimed}}
  36. <li><span class="invite">{{token}}</span> claimed: <span class="user"><a href="/u/{{claimant}}">@{{claimant}}</a></span></li>
  37. {{/claimed}}
  38. {{^claimed}}
  39. <li>Token <span class="invite"><a href="/u?token={{token}}">{{token}}</a></invite></li>
  40. {{/claimed}}
  41. {{/invites}}
  42. </ul>
  43. <div class="add-new">
  44. <form name="new-invite" action="/u/{{username}}/invite" method="POST">
  45. <div>
  46. <input type="submit" value="Create invite link" />
  47. </div>
  48. </form>
  49. </div>
  50. </div>
  51. </div>
  52. {{/admin_pane}}