config.mustache 1.7 KB

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