config.mustache 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <div class="config-pane">
  30. <div class="config">
  31. <p><a href="/u/{{username}}/import">Import my bookmarks from Pinboard</a></p>
  32. </div>
  33. </div>
  34. {{#admin_pane}}
  35. <div class="config-pane">
  36. <div class="config">
  37. User Invites:
  38. <ul>
  39. {{#invites}}
  40. {{#claimed}}
  41. <li><span class="invite">{{token}}</span> claimed: <span class="user"><a href="/u/{{claimant}}">@{{claimant}}</a></span></li>
  42. {{/claimed}}
  43. {{^claimed}}
  44. <li>Token <span class="invite"><a href="/u?token={{token}}">{{token}}</a></invite></li>
  45. {{/claimed}}
  46. {{/invites}}
  47. </ul>
  48. <div class="add-new">
  49. <form name="new-invite" action="/u/{{username}}/invite" method="POST">
  50. <div>
  51. <input type="submit" value="Create invite link" />
  52. </div>
  53. </form>
  54. </div>
  55. </div>
  56. </div>
  57. {{/admin_pane}}