account.ejs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <div id="accountStrand" class="strand">
  2. <div class="strandHead">
  3. <h1 id="accountStrandTitle" class="strandTitle"></h1>
  4. </div>
  5. <div class="settings">
  6. <div id="accountInformation" class="settingsSection">
  7. <div class="settingsSectionHeader">
  8. <h2>ACCOUNT INFORMATION</h2>
  9. </div>
  10. <div id="accountInformationData">
  11. <label>BUSINESS NAME:
  12. <input id="accountOwnerName" type="text">
  13. </label>
  14. <label>EMAIL:
  15. <input id="accountEmail" type="email">
  16. </label>
  17. <button id="accountUpdate" class="button">UPDATE</button>
  18. </div>
  19. </div>
  20. <div class="settingsSection">
  21. <div class="settingsSectionHeader">
  22. <h2>YOUR LOCATIONS</h2>
  23. <div class="newLocationButtons">
  24. <h1>NEW:</h1>
  25. <button id="newMerchantSquareButton" type="button">
  26. <svg aria-hidden="true" viewBox="0 0 44 44" width="21" height="21">
  27. <path fill="currentColor" d="M36.65 0H7.354A7.354 7.354 0 0 0 0 7.354V36.65a7.354 7.354 0 0 0 7.354 7.354H36.65a7.353 7.353 0 0 0 7.354-7.354V7.354A7.352 7.352 0 0 0 36.65 0zm-.646 33.685a2.32 2.32 0 0 1-2.32 2.32H10.325a2.32 2.32 0 0 1-2.321-2.32v-23.36a2.32 2.32 0 0 1 2.321-2.321h23.359a2.32 2.32 0 0 1 2.32 2.321v23.36z"></path>
  28. <path fill="currentColor" d="M17.333 28.003c-.736 0-1.332-.6-1.332-1.339V17.34c0-.739.596-1.339 1.332-1.339h9.338c.738 0 1.332.6 1.332 1.339v9.324c0 .739-.594 1.339-1.332 1.339h-9.338z"></path>
  29. </svg>
  30. <svg aria-hidden="true" viewBox="0 0 66 22" width="75" height="21">
  31. <path d="M11.2 10c-.7-.2-1.3-.4-1.8-.6C8.4 9 8 8.4 8 7.6c0-1.5 1.5-2.2 3-2.2 1.4 0 2.6.6 3.5 1.6l.1.1 1.2-.9-.1-.1c-1.1-1.4-2.7-2.2-4.6-2.2-1.2 0-2.4.3-3.2.9-1 .8-1.5 1.7-1.5 2.9 0 2.7 2.6 3.4 4.6 3.9 2.1.6 3.4 1 3.4 2.6s-1.3 2.6-3.2 2.6c-1 0-2.8-.3-3.9-2l-.1-.1-1.2.9v.1c1.1 1.6 2.9 2.5 5.1 2.5 2.9 0 4.9-1.6 4.9-4.1 0-2.8-2.7-3.5-4.8-4.1z" fill="currentColor"></path>
  32. <path d="M25.5 9.5V8h1.4v14h-1.4v-5.5c-.8 1.1-2 1.7-3.4 1.7-2.7 0-4.5-2.1-4.5-5.2s1.9-5.2 4.5-5.2c1.4-.1 2.6.6 3.4 1.7zM19.1 13c0 2.9 1.6 3.9 3.2 3.9 2 0 3.3-1.5 3.3-3.9s-1.3-3.9-3.3-3.9c-2.4 0-3.2 2-3.2 3.9z" fill-rule="evenodd" clip-rule="evenodd" fill="currentColor"></path>
  33. <path d="M36.2 8v5.5c0 1.9-1.3 3.3-3.2 3.3-1.5 0-2.3-.9-2.3-2.8V8h-1.4v6.4c0 2.4 1.3 3.8 3.5 3.8 1.4 0 2.5-.6 3.3-1.6V18h1.4V8h-1.3z" fill="currentColor"></path>
  34. <path d="M40.3 9c1-.8 2.4-1.3 3.9-1.3 2.2 0 3.6 1.1 3.6 3V18h-1.4v-1.1c-.7.9-1.7 1.3-3.1 1.3-2.2 0-3.5-1.2-3.5-3.1 0-2.5 2.3-2.8 3.3-3 .2 0 .3-.1.5-.1 1.4-.2 2.7-.4 2.7-1.6 0-1.3-1.7-1.4-2.2-1.4-.9 0-2.2.3-3.1 1v.2L40.3 9zm.9 6.1c0 1.6 1.5 1.8 2.2 1.8 1.4 0 2.9-.8 2.9-2.9v-1.4c-.7.4-1.7.6-2.5.8l-.4.1c-1.5.1-2.2.5-2.2 1.6z" fill-rule="evenodd" clip-rule="evenodd" fill="currentColor"></path>
  35. <path d="M55.9 8.2c-.3-.2-.9-.4-1.4-.4-1.1 0-2.2.6-2.8 1.5V8h-1.4v10h1.4v-5.4c0-2.4 1.3-3.4 2.7-3.4.4 0 .8.1 1.1.2l.1.1.3-1.3z" fill="currentColor"></path>
  36. <path d="M56.3 13c0-3.1 1.9-5.3 4.7-5.3 2.7 0 4.5 1.9 4.5 4.7V13.2h-7.7c0 2.2 1.4 3.6 3.4 3.6 1.2 0 2.2-.5 2.8-1.3l.1-.1 1 .9-.1.1c-.7.8-1.9 1.8-3.9 1.8-2.9 0-4.8-2.1-4.8-5.2zm4.6-3.9c-1.7 0-2.9 1.1-3.1 2.9H64c-.1-1.4-1-2.9-3.1-2.9z" fill-rule="evenodd" clip-rule="evenodd" fill="currentColor"></path>
  37. </svg>
  38. </button>
  39. <button id="settingsAddMerchant" class="button">NO POS</button>
  40. </div>
  41. </div>
  42. <div id="settingsMerchants"></div>
  43. </div>
  44. <div class="settingsSection">
  45. <div class="settingsSectionHeader">
  46. <h2>SECURITY</h2>
  47. </div>
  48. <div id="securityData">
  49. <button id="accountShowPassword" class="button">CHANGE PASSWORD</button>
  50. <div id="changePasswordBox"style="display:none;">
  51. <label>CURRENT PASSWORD
  52. <input id="accountCurrentPassword" type="password">
  53. </label>
  54. <label>NEW PASSWORD
  55. <input id="accountNewPassword" type="password">
  56. </label>
  57. <label>CONFIRM NEW PASSWORD
  58. <input id="accountConfirmPassword" type="password">
  59. </label>
  60. <div id="accountButtonBox" class="buttonBox">
  61. <button id="cancelPasswordChange" class="button">CANCEL</button>
  62. <button id="changePasswordButton" class="button">CHANGE PASSWORD</button>
  63. </div>
  64. <p>* This will log you out of all current sessions</p>
  65. </div>
  66. <a href="/session/end" class="button">LOG OUT OF ALL DEVICES</a>
  67. <button id="deleteMerchant" class="dangerButton">DELETE THIS MERCHANT</button>
  68. </div>
  69. </div>
  70. </div>
  71. </div>