Advertisement
EBALO_GOVNA

Untitled

May 12th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Смерть русским!</title>
  5. <meta charset="UTF-8"/>
  6. <meta name="viewport" content="width=device-width,initial-scale=1"/>
  7.  
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
  9. integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
  10. crossorigin="anonymous" referrerpolicy="no-referrer"/>
  11.  
  12. <script src="https://cdn.tailwindcss.com"></script>
  13. </head>
  14. <body>
  15. <main id="app">
  16. <div class="w-full min-h-screen bg-blue-200 flex justify-center py-20">
  17. <form class="w-thousand max-w-[90%] bg-slate-50 rounded-lg p-5">
  18. <header>
  19. <h1 class="text-center text-4xl pt-10 font-bold">Форма добавления заказа</h1>
  20. </header>
  21.  
  22. <!-- Выбор клиента -->
  23. <div class="mt-10">
  24. <h3>Выбор клиента:</h3>
  25.  
  26. <select class="mt-2 border border-black outline-none">
  27. <option v-for="value in clients" :key="value.id">
  28. {{ value.name }}
  29. </option>
  30. </select>
  31.  
  32. <div class="mt-2">
  33. <input type="checkbox">
  34. <span class="ml-2">Срочный заказ</span>
  35. </div>
  36. </div>
  37.  
  38. <!-- Выбор услуг-->
  39. <div class="mt-10">
  40. <header>
  41. <h3>Выбор услуг</h3>
  42. </header>
  43.  
  44. <ul class="mt-2">
  45. <li class="border border-black p-2 mt-2 first:mt-0 relative">
  46. <i class="fa-solid fa-xmark absolute top-2 right-2"></i>
  47.  
  48. <h3>Услуга:</h3>
  49.  
  50. <div class="grid grid-cols-2 gap-3 mt-2">
  51. <select class="border border-black outline-none">
  52. <option v-for="service in services" :key="service.id"
  53. > {{ service.name }} -
  54. {{ service.price }}
  55. </option>
  56. </select>
  57.  
  58. <input type="number" value="1" class="border border-black outline-none">
  59. </div>
  60.  
  61. </li>
  62.  
  63. <li class="border border-black p-2 mt-2 first:mt-0 relative hidden">
  64. <i class="fa-solid fa-xmark absolute top-2 right-2"></i>
  65.  
  66. <h3>Услуга:</h3>
  67.  
  68. <div class="grid grid-cols-2 gap-3 mt-2">
  69. <select class="border border-black outline-none">
  70. <option>Проявка плёнки - $10</option>
  71. <option>Фото на паспорт - $100</option>
  72. <option>Проявка плёнки - $10</option>
  73. </select>
  74.  
  75. <input type="number" value="1" class="border border-black outline-none">
  76. </div>
  77.  
  78. <div class="mt-2 p-4 border-t border-black">
  79. <ul>
  80. <li class="mt-2 first:mt-0">
  81. <h3>Код плёнки (1):</h3>
  82. <input type="text" class="border border-black px-2 mt-2 outline-none"
  83. placeholder="ee72921">
  84. </li>
  85. <li class="mt-2 first:mt-0">
  86. <h3>Код плёнки (2):</h3>
  87. <input type="text" class="border border-black px-2 mt-2 outline-none"
  88. placeholder="ee72921">
  89. </li>
  90. </ul>
  91. </div>
  92. </li>
  93. </ul>
  94.  
  95. <div class="mt-2">
  96. <button type="button" @click="createDefaultService"
  97. class="border border-black px-2 duration-100 hover:bg-slate-200">Добавить услугу
  98. </button>
  99. </div>
  100. </div>
  101.  
  102. <!-- Печать фотографий -->
  103. <div class="mt-10">
  104. <header>
  105. <h3>Печать фотографий</h3>
  106. </header>
  107.  
  108. <ul class="mt-2">
  109. <li class="border border-black p-2 mt-2 first:mt-0 relative">
  110. <i class="fa-solid fa-xmark absolute top-2 right-2"></i>
  111.  
  112. <div class="flex items-center">
  113. <h3>Копии:</h3>
  114. <input type="number" value="1" class="border border-black outline-none ml-2">
  115. </div>
  116.  
  117. <div class="mt-2 grid grid-cols-3 gap-3">
  118. <input type="text" placeholder="Плёнка" class="border border-black outline-none">
  119. <input type="text" placeholder="Кадр" class="border border-black outline-none">
  120.  
  121. <select class="border border-black outline-none">
  122. <option>Холст - А2</option>
  123. <option>Матовая - А2</option>
  124. <option>Глянцевая - А2</option>
  125. </select>
  126. </div>
  127. </li>
  128. </ul>
  129.  
  130. <div class="mt-2">
  131. <button class="border border-black px-2 duration-100 hover:bg-slate-200">Добавить услугу</button>
  132. </div>
  133. </div>
  134.  
  135. <!-- Продажа товаров -->
  136. <div class="mt-10">
  137. <header>
  138. <h3>Продажа товаров</h3>
  139. </header>
  140.  
  141. <ul class="mt-2">
  142. <li class="border border-black p-2 mt-2 first:mt-0 relative">
  143. <div class="grid grid-cols-2 gap-3">
  144. <select class="border border-black outline-none">
  145. <option>Проявка плёнки - $10</option>
  146. <option>Фото на паспорт - $100</option>
  147. <option>Проявка плёнки - $10</option>
  148. </select>
  149.  
  150. <input type="number" value="1" class="border border-black outline-none">
  151. </div>
  152.  
  153. <div class="mt-2 p-4 border-t border-black">
  154. <ul>
  155. <li class="mt-2 first:mt-0">
  156. <h3>Код плёнки (1):</h3>
  157. <input type="text" class="border border-black px-2 mt-2 outline-none"
  158. placeholder="ee72921">
  159. </li>
  160. <li class="mt-2 first:mt-0">
  161. <h3>Код плёнки (2):</h3>
  162. <input type="text" class="border border-black px-2 mt-2 outline-none"
  163. placeholder="ee72921">
  164. </li>
  165. </ul>
  166. </div>
  167. </li>
  168. </ul>
  169.  
  170. <div class="mt-2">
  171. <button class="border border-black px-2 duration-100 hover:bg-slate-200">Добавить услугу</button>
  172. </div>
  173. </div>
  174.  
  175. <button type="submit" class="mt-10 border border-black px-2 duration-100 hover:bg-slate-200">Добавить заказ
  176. </button>
  177. </form>
  178. </div>
  179. </main>
  180.  
  181. <!-- libs-->
  182. <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
  183. <script src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.3.2/uuid.min.js" referrerpolicy="no-referrer"></script>
  184.  
  185. <script src="/js/tailwind.js"></script>
  186. <script src="/js/index.js"></script>
  187. <script src="/js/vue.js"></script>
  188. </body>
  189. </html>
  190.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement