menu.ejs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <div id="menu" class="menu">
  2. <div id="max" class="menuHead">
  3. <a href="/">
  4. <img class="menuLogo" src="/shared/images/logo.png" alt="The Subline">
  5. <p>THE SUBLINE</p>
  6. </a>
  7. <button id="menuShifter" class="menuShifter">&#8801;</button>
  8. </div>
  9. <p id="menuLocationName"></p>
  10. <div id="min" class="menuHead menuHeadMin">
  11. <a href="/">
  12. <img class="menuLogoMin" src="/shared/images/logo.png" alt="The Subline">
  13. </a>
  14. <button id="menuShifter2" onclick="controller.changeMenu()">&#8801;</button>
  15. </div>
  16. <button class="menuButton active" id="homeBtn">
  17. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  18. <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
  19. <polyline points="9 22 9 12 15 12 15 22"></polyline>
  20. </svg>
  21. <p>DASHBOARD</p>
  22. </button>
  23. <button class="menuButton" id="ingredientsBtn">
  24. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  25. <polyline points="21 8 21 21 3 21 3 8"></polyline>
  26. <rect x="1" y="3" width="22" height="5"></rect>
  27. <line x1="10" y1="12" x2="14" y2="12"></line>
  28. </svg>
  29. <p>INGREDIENTS</p>
  30. </button>
  31. <button class="menuButton" id="recipeBookBtn">
  32. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  33. <path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
  34. <path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
  35. </svg>
  36. <p>RECIPE BOOK</p>
  37. </button>
  38. <button class="menuButton" id="analyticsBtn">
  39. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  40. <polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline>
  41. <polyline points="17 6 23 6 23 12"></polyline>
  42. </svg>
  43. <p>ANALYTICS</p>
  44. </button>
  45. <button class="menuButton" id="ordersBtn">
  46. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  47. <circle cx="9" cy="21" r="1"></circle>
  48. <circle cx="20" cy="21" r="1"></circle>
  49. <path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
  50. </svg>
  51. <p>ORDERS</p>
  52. </button>
  53. <button class="menuButton" id="transactionsBtn">
  54. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  55. <rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect>
  56. <line x1="1" y1="10" x2="23" y2="10"></line>
  57. </svg>
  58. <p>TRANSACTIONS</p>
  59. </button>
  60. <button class="menuButton" id="accountBtn">
  61. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  62. <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
  63. <circle cx="12" cy="7" r="4"></circle>
  64. </svg>
  65. <p>SETTINGS</p>
  66. </button>
  67. <a class="menuButton" href="/logout">
  68. <svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  69. <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
  70. <polyline points="16 17 21 12 16 7"></polyline>
  71. <line x1="21" y1="12" x2="9" y2="12"></line>
  72. </svg>
  73. <p>LOGOUT</p>
  74. </a>
  75. <div id="menuLinks" class="menuLinks">
  76. <button id="feedbackButton">Leave Feedback</button>
  77. <a href="/help">Help</a>
  78. </div>
  79. </div>