dropzone.html 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  1. <!doctype html>
  2. <!--
  3. * Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
  4. * @version 1.0.0-beta14
  5. * @link https://tabler.io
  6. * Copyright 2018-2022 The Tabler Authors
  7. * Copyright 2018-2022 codecalm.net Paweł Kuna
  8. * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
  9. -->
  10. <html lang="en">
  11. <head>
  12. <meta charset="utf-8"/>
  13. <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
  14. <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
  15. <title>Dropzone - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
  16. <!-- CSS files -->
  17. <link href="../dist/libs/dropzone/dist/dropzone.css?1666304673" rel="stylesheet"/>
  18. <link href="../dist/css/tabler.min.css?1666304673" rel="stylesheet"/>
  19. <link href="../dist/css/tabler-flags.min.css?1666304673" rel="stylesheet"/>
  20. <link href="../dist/css/tabler-payments.min.css?1666304673" rel="stylesheet"/>
  21. <link href="../dist/css/tabler-vendors.min.css?1666304673" rel="stylesheet"/>
  22. <link href="../dist/css/demo.min.css?1666304673" rel="stylesheet"/>
  23. <style>
  24. @import url('https://rsms.me/inter/inter.css');
  25. :root {
  26. --tblr-font-sans-serif: Inter, -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
  27. }
  28. </style>
  29. </head>
  30. <body >
  31. <script src="../dist/js/demo-theme.min.js?1666304673"></script>
  32. <div class="page">
  33. <!-- Navbar -->
  34. <header class="navbar navbar-expand-md navbar-light d-print-none">
  35. <div class="container-xl">
  36. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
  37. <span class="navbar-toggler-icon"></span>
  38. </button>
  39. <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
  40. <a href="..">
  41. <img src="../static/logo.svg" width="110" height="32" alt="Tabler" class="navbar-brand-image">
  42. </a>
  43. </h1>
  44. <div class="navbar-nav flex-row order-md-last">
  45. <div class="nav-item d-none d-md-flex me-3">
  46. <div class="btn-list">
  47. <a href="https://github.com/tabler/tabler" class="btn" target="_blank" rel="noreferrer">
  48. <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
  49. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" /></svg>
  50. Source code
  51. </a>
  52. <a href="https://github.com/sponsors/codecalm" class="btn" target="_blank" rel="noreferrer">
  53. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  54. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
  55. Sponsor
  56. </a>
  57. </div>
  58. </div>
  59. <div class="d-none d-md-flex">
  60. <a href="?theme=dark" class="nav-link px-0 hide-theme-dark" title="Enable dark mode" data-bs-toggle="tooltip"
  61. data-bs-placement="bottom">
  62. <!-- Download SVG icon from http://tabler-icons.io/i/moon -->
  63. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" /></svg>
  64. </a>
  65. <a href="?theme=light" class="nav-link px-0 hide-theme-light" title="Enable light mode" data-bs-toggle="tooltip"
  66. data-bs-placement="bottom">
  67. <!-- Download SVG icon from http://tabler-icons.io/i/sun -->
  68. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="12" cy="12" r="4" /><path d="M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7" /></svg>
  69. </a>
  70. <div class="nav-item dropdown d-none d-md-flex me-3">
  71. <a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1" aria-label="Show notifications">
  72. <!-- Download SVG icon from http://tabler-icons.io/i/bell -->
  73. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /><path d="M9 17v1a3 3 0 0 0 6 0v-1" /></svg>
  74. <span class="badge bg-red"></span>
  75. </a>
  76. <div class="dropdown-menu dropdown-menu-arrow dropdown-menu-end dropdown-menu-card">
  77. <div class="card">
  78. <div class="card-header">
  79. <h3 class="card-title">Last updates</h3>
  80. </div>
  81. <div class="list-group list-group-flush list-group-hoverable">
  82. <div class="list-group-item">
  83. <div class="row align-items-center">
  84. <div class="col-auto"><span class="status-dot status-dot-animated bg-red d-block"></span></div>
  85. <div class="col text-truncate">
  86. <a href="#" class="text-body d-block">Example 1</a>
  87. <div class="d-block text-muted text-truncate mt-n1">
  88. Change deprecated html tags to text decoration classes (#29604)
  89. </div>
  90. </div>
  91. <div class="col-auto">
  92. <a href="#" class="list-group-item-actions">
  93. <!-- Download SVG icon from http://tabler-icons.io/i/star -->
  94. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-muted" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  95. </a>
  96. </div>
  97. </div>
  98. </div>
  99. <div class="list-group-item">
  100. <div class="row align-items-center">
  101. <div class="col-auto"><span class="status-dot d-block"></span></div>
  102. <div class="col text-truncate">
  103. <a href="#" class="text-body d-block">Example 2</a>
  104. <div class="d-block text-muted text-truncate mt-n1">
  105. justify-content:between ⇒ justify-content:space-between (#29734)
  106. </div>
  107. </div>
  108. <div class="col-auto">
  109. <a href="#" class="list-group-item-actions show">
  110. <!-- Download SVG icon from http://tabler-icons.io/i/star -->
  111. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-yellow" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  112. </a>
  113. </div>
  114. </div>
  115. </div>
  116. <div class="list-group-item">
  117. <div class="row align-items-center">
  118. <div class="col-auto"><span class="status-dot d-block"></span></div>
  119. <div class="col text-truncate">
  120. <a href="#" class="text-body d-block">Example 3</a>
  121. <div class="d-block text-muted text-truncate mt-n1">
  122. Update change-version.js (#29736)
  123. </div>
  124. </div>
  125. <div class="col-auto">
  126. <a href="#" class="list-group-item-actions">
  127. <!-- Download SVG icon from http://tabler-icons.io/i/star -->
  128. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-muted" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  129. </a>
  130. </div>
  131. </div>
  132. </div>
  133. <div class="list-group-item">
  134. <div class="row align-items-center">
  135. <div class="col-auto"><span class="status-dot status-dot-animated bg-green d-block"></span></div>
  136. <div class="col text-truncate">
  137. <a href="#" class="text-body d-block">Example 4</a>
  138. <div class="d-block text-muted text-truncate mt-n1">
  139. Regenerate package-lock.json (#29730)
  140. </div>
  141. </div>
  142. <div class="col-auto">
  143. <a href="#" class="list-group-item-actions">
  144. <!-- Download SVG icon from http://tabler-icons.io/i/star -->
  145. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-muted" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  146. </a>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="nav-item dropdown">
  156. <a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
  157. <span class="avatar avatar-sm" style="background-image: url(../static/avatars/000m.jpg)"></span>
  158. <div class="d-none d-xl-block ps-2">
  159. <div>Paweł Kuna</div>
  160. <div class="mt-1 small text-muted">UI Designer</div>
  161. </div>
  162. </a>
  163. <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  164. <a href="#" class="dropdown-item">Status</a>
  165. <a href="#" class="dropdown-item">Profile</a>
  166. <a href="#" class="dropdown-item">Feedback</a>
  167. <div class="dropdown-divider"></div>
  168. <a href="../settings.html" class="dropdown-item">Settings</a>
  169. <a href="../sign-in.html" class="dropdown-item">Logout</a>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </header>
  175. <div class="navbar-expand-md">
  176. <div class="collapse navbar-collapse" id="navbar-menu">
  177. <div class="navbar navbar-light">
  178. <div class="container-xl">
  179. <ul class="navbar-nav">
  180. <li class="nav-item">
  181. <a class="nav-link" href="../index.html" >
  182. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
  183. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
  184. </span>
  185. <span class="nav-link-title">
  186. Home
  187. </span>
  188. </a>
  189. </li>
  190. <li class="nav-item dropdown">
  191. <a class="nav-link dropdown-toggle" href="#navbar-base" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  192. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/package -->
  193. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3" /><line x1="12" y1="12" x2="20" y2="7.5" /><line x1="12" y1="12" x2="12" y2="21" /><line x1="12" y1="12" x2="4" y2="7.5" /><line x1="16" y1="5.25" x2="8" y2="9.75" /></svg>
  194. </span>
  195. <span class="nav-link-title">
  196. Interface
  197. </span>
  198. </a>
  199. <div class="dropdown-menu">
  200. <div class="dropdown-menu-columns">
  201. <div class="dropdown-menu-column">
  202. <a class="dropdown-item" href="../empty.html">
  203. Empty page
  204. </a>
  205. <a class="dropdown-item" href="../accordion.html">
  206. Accordion
  207. </a>
  208. <a class="dropdown-item" href="../blank.html">
  209. Blank page
  210. </a>
  211. <a class="dropdown-item" href="../buttons.html">
  212. Buttons
  213. </a>
  214. <div class="dropend">
  215. <a class="dropdown-item dropdown-toggle" href="#sidebar-cards" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  216. Cards
  217. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  218. </a>
  219. <div class="dropdown-menu">
  220. <a href="../cards.html" class="dropdown-item">
  221. Sample cards
  222. </a>
  223. <a href="../card-actions.html" class="dropdown-item">
  224. Card actions
  225. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  226. </a>
  227. <a href="../cards-masonry.html" class="dropdown-item">
  228. Cards Masonry
  229. </a>
  230. </div>
  231. </div>
  232. <a class="dropdown-item" href="../colors.html">
  233. Colors
  234. </a>
  235. <a class="dropdown-item" href="../datagrid.html">
  236. Data grid
  237. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  238. </a>
  239. <a class="dropdown-item" href="../datatables.html">
  240. Datatables
  241. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  242. </a>
  243. <a class="dropdown-item" href="../dropdowns.html">
  244. Dropdowns
  245. </a>
  246. <a class="dropdown-item" href="../modals.html">
  247. Modals
  248. </a>
  249. <a class="dropdown-item" href="../maps.html">
  250. Maps
  251. </a>
  252. <a class="dropdown-item" href="../map-fullsize.html">
  253. Map fullsize
  254. </a>
  255. <a class="dropdown-item" href="../maps-vector.html">
  256. Vector maps
  257. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  258. </a>
  259. <a class="dropdown-item" href="../navigation.html">
  260. Navigation
  261. </a>
  262. <a class="dropdown-item" href="../charts.html">
  263. Charts
  264. </a>
  265. </div>
  266. <div class="dropdown-menu-column">
  267. <a class="dropdown-item" href="../pagination.html">
  268. <!-- Download SVG icon from http://tabler-icons.io/i/pie-chart -->
  269. Pagination
  270. </a>
  271. <a class="dropdown-item" href="../placeholder.html">
  272. Placeholder
  273. </a>
  274. <a class="dropdown-item" href="../tabs.html">
  275. Tabs
  276. </a>
  277. <a class="dropdown-item" href="../tables.html">
  278. Tables
  279. </a>
  280. <a class="dropdown-item" href="../carousel.html">
  281. Carousel
  282. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  283. </a>
  284. <a class="dropdown-item" href="../lists.html">
  285. Lists
  286. </a>
  287. <a class="dropdown-item" href="../typography.html">
  288. Typography
  289. </a>
  290. <a class="dropdown-item" href="../offcanvas.html">
  291. Offcanvas
  292. </a>
  293. <a class="dropdown-item" href="../markdown.html">
  294. Markdown
  295. </a>
  296. <a class="dropdown-item" href="../dropzone.html">
  297. Dropzone
  298. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  299. </a>
  300. <a class="dropdown-item" href="../lightbox.html">
  301. Lightbox
  302. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  303. </a>
  304. <a class="dropdown-item" href="../tinymce.html">
  305. TinyMCE
  306. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  307. </a>
  308. <a class="dropdown-item" href="../inline-player.html">
  309. Inline player
  310. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  311. </a>
  312. <div class="dropend">
  313. <a class="dropdown-item dropdown-toggle" href="#sidebar-authentication" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  314. Authentication
  315. </a>
  316. <div class="dropdown-menu">
  317. <a href="../sign-in.html" class="dropdown-item">
  318. Sign in
  319. </a>
  320. <a href="../sign-in-illustration.html" class="dropdown-item">
  321. Sign in with illustration
  322. </a>
  323. <a href="../sign-in-cover.html" class="dropdown-item">
  324. Sign in with cover
  325. </a>
  326. <a href="../sign-up.html" class="dropdown-item">
  327. Sign up
  328. </a>
  329. <a href="../forgot-password.html" class="dropdown-item">
  330. Forgot password
  331. </a>
  332. <a href="../terms-of-service.html" class="dropdown-item">
  333. Terms of service
  334. </a>
  335. <a href="../auth-lock.html" class="dropdown-item">
  336. Lock screen
  337. </a>
  338. </div>
  339. </div>
  340. <div class="dropend">
  341. <a class="dropdown-item dropdown-toggle" href="#sidebar-error" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  342. <!-- Download SVG icon from http://tabler-icons.io/i/file-minus -->
  343. <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-inline me-1" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /><line x1="9" y1="14" x2="15" y2="14" /></svg>
  344. Error pages
  345. </a>
  346. <div class="dropdown-menu">
  347. <a href="../error-404.html" class="dropdown-item">
  348. 404 page
  349. </a>
  350. <a href="../error-500.html" class="dropdown-item">
  351. 500 page
  352. </a>
  353. <a href="../error-maintenance.html" class="dropdown-item">
  354. Maintenance page
  355. </a>
  356. </div>
  357. </div>
  358. </div>
  359. </div>
  360. </div>
  361. </li>
  362. <li class="nav-item">
  363. <a class="nav-link" href="../form-elements.html" >
  364. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/checkbox -->
  365. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="9 11 12 14 20 6" /><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9" /></svg>
  366. </span>
  367. <span class="nav-link-title">
  368. Form elements
  369. </span>
  370. </a>
  371. </li>
  372. <li class="nav-item dropdown">
  373. <a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  374. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
  375. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  376. </span>
  377. <span class="nav-link-title">
  378. Extra
  379. </span>
  380. </a>
  381. <div class="dropdown-menu">
  382. <div class="dropdown-menu-columns">
  383. <div class="dropdown-menu-column">
  384. <a class="dropdown-item" href="../activity.html">
  385. Activity
  386. </a>
  387. <a class="dropdown-item" href="../gallery.html">
  388. Gallery
  389. </a>
  390. <a class="dropdown-item" href="../invoice.html">
  391. Invoice
  392. </a>
  393. <a class="dropdown-item" href="../search-results.html">
  394. Search results
  395. </a>
  396. <a class="dropdown-item" href="../pricing.html">
  397. Pricing cards
  398. </a>
  399. <a class="dropdown-item" href="../pricing-table.html">
  400. Pricing table
  401. </a>
  402. <a class="dropdown-item" href="../faq.html">
  403. FAQ
  404. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  405. </a>
  406. <a class="dropdown-item" href="../users.html">
  407. Users
  408. </a>
  409. <a class="dropdown-item" href="../license.html">
  410. License
  411. </a>
  412. </div>
  413. <div class="dropdown-menu-column">
  414. <a class="dropdown-item" href="../logs.html">
  415. Logs
  416. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  417. </a>
  418. <a class="dropdown-item" href="../music.html">
  419. Music
  420. </a>
  421. <a class="dropdown-item" href="../tasks.html">
  422. Tasks
  423. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  424. </a>
  425. <a class="dropdown-item" href="../uptime.html">
  426. Uptime monitor
  427. </a>
  428. <a class="dropdown-item" href="../widgets.html">
  429. Widgets
  430. </a>
  431. <a class="dropdown-item" href="../wizard.html">
  432. Wizard
  433. </a>
  434. <a class="dropdown-item" href="../settings.html">
  435. Settings
  436. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  437. </a>
  438. <a class="dropdown-item" href="../job-listing.html">
  439. Job listing
  440. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  441. </a>
  442. </div>
  443. </div>
  444. </div>
  445. </li>
  446. <li class="nav-item dropdown">
  447. <a class="nav-link dropdown-toggle" href="#navbar-layout" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  448. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/layout-2 -->
  449. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><rect x="4" y="4" width="6" height="5" rx="2" /><rect x="4" y="13" width="6" height="7" rx="2" /><rect x="14" y="4" width="6" height="7" rx="2" /><rect x="14" y="15" width="6" height="5" rx="2" /></svg>
  450. </span>
  451. <span class="nav-link-title">
  452. Layout
  453. </span>
  454. </a>
  455. <div class="dropdown-menu">
  456. <div class="dropdown-menu-columns">
  457. <div class="dropdown-menu-column">
  458. <a class="dropdown-item" href="../layout-horizontal.html">
  459. Horizontal
  460. </a>
  461. <a class="dropdown-item" href="../layout-boxed.html">
  462. Boxed
  463. <span class="badge badge-sm bg-green text-uppercase ms-2">New</span>
  464. </a>
  465. <a class="dropdown-item" href="../layout-vertical.html">
  466. Vertical
  467. </a>
  468. <a class="dropdown-item" href="../layout-vertical-transparent.html">
  469. Vertical transparent
  470. </a>
  471. <a class="dropdown-item" href="../layout-vertical-right.html">
  472. Right vertical
  473. </a>
  474. <a class="dropdown-item" href="../layout-condensed.html">
  475. Condensed
  476. </a>
  477. <a class="dropdown-item" href="../layout-combo.html">
  478. Combined
  479. </a>
  480. </div>
  481. <div class="dropdown-menu-column">
  482. <a class="dropdown-item" href="../layout-navbar-dark.html">
  483. Navbar dark
  484. </a>
  485. <a class="dropdown-item" href="../layout-navbar-sticky.html">
  486. Navbar sticky
  487. </a>
  488. <a class="dropdown-item" href="../layout-navbar-overlap.html">
  489. Navbar overlap
  490. </a>
  491. <a class="dropdown-item" href="../layout-rtl.html">
  492. RTL mode
  493. </a>
  494. <a class="dropdown-item" href="../layout-fluid.html">
  495. Fluid
  496. </a>
  497. <a class="dropdown-item" href="../layout-fluid-vertical.html">
  498. Fluid vertical
  499. </a>
  500. </div>
  501. </div>
  502. </div>
  503. </li>
  504. <li class="nav-item">
  505. <a class="nav-link" href="../icons.html" >
  506. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/ghost -->
  507. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 11a7 7 0 0 1 14 0v7a1.78 1.78 0 0 1 -3.1 1.4a1.65 1.65 0 0 0 -2.6 0a1.65 1.65 0 0 1 -2.6 0a1.65 1.65 0 0 0 -2.6 0a1.78 1.78 0 0 1 -3.1 -1.4v-7" /><line x1="10" y1="10" x2="10.01" y2="10" /><line x1="14" y1="10" x2="14.01" y2="10" /><path d="M10 14a3.5 3.5 0 0 0 4 0" /></svg>
  508. </span>
  509. <span class="nav-link-title">
  510. 2853 icons
  511. </span>
  512. </a>
  513. </li>
  514. <li class="nav-item active dropdown">
  515. <a class="nav-link dropdown-toggle" href="#navbar-help" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  516. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/lifebuoy -->
  517. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="12" cy="12" r="4" /><circle cx="12" cy="12" r="9" /><line x1="15" y1="15" x2="18.35" y2="18.35" /><line x1="9" y1="15" x2="5.65" y2="18.35" /><line x1="5.65" y1="5.65" x2="9" y2="9" /><line x1="18.35" y1="5.65" x2="15" y2="9" /></svg>
  518. </span>
  519. <span class="nav-link-title">
  520. Help
  521. </span>
  522. </a>
  523. <div class="dropdown-menu">
  524. <a class="dropdown-item" href="../docs/index.html">
  525. Documentation
  526. </a>
  527. <a class="dropdown-item" href="../changelog.html">
  528. Changelog
  529. </a>
  530. <a class="dropdown-item" href="https://github.com/tabler/tabler" target="_blank" rel="noopener">
  531. Source code
  532. </a>
  533. <a class="dropdown-item text-pink" href="https://github.com/sponsors/codecalm" target="_blank" rel="noopener">
  534. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  535. <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-inline me-1" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
  536. Sponsor project!
  537. </a>
  538. </div>
  539. </li>
  540. </ul>
  541. <div class="my-2 my-md-0 flex-grow-1 flex-md-grow-0 order-first order-md-last">
  542. <form action="../" method="get" autocomplete="off" novalidate>
  543. <div class="input-icon">
  544. <span class="input-icon-addon">
  545. <!-- Download SVG icon from http://tabler-icons.io/i/search -->
  546. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="10" cy="10" r="7" /><line x1="21" y1="21" x2="15" y2="15" /></svg>
  547. </span>
  548. <input type="text" value="" class="form-control" placeholder="Search…" aria-label="Search in website">
  549. </div>
  550. </form>
  551. </div>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. <div class="page-wrapper">
  557. <!-- Page header -->
  558. <div class="page-header d-print-none">
  559. <div class="container-xl">
  560. <div class="row g-2 align-items-center">
  561. <div class="col">
  562. <h2 class="page-title">
  563. Documentation
  564. </h2>
  565. </div>
  566. </div>
  567. </div>
  568. </div>
  569. <!-- Page body -->
  570. <div class="page-body">
  571. <div class="container-xl">
  572. <div class="row gx-lg-5">
  573. <div class="d-none d-lg-block col-lg-3">
  574. <ul class="nav nav-pills nav-vertical">
  575. <li class="nav-item">
  576. <a href="../docs/" class="nav-link">
  577. Introduction
  578. </a>
  579. </li>
  580. <li class="nav-item">
  581. <a href="#menu-base" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  582. Getting started
  583. <span class="nav-link-toggle"></span>
  584. </a>
  585. <ul class="nav nav-pills collapse" id="menu-base">
  586. <li class="nav-item">
  587. <a href="../docs/getting-started.html" class="nav-link">
  588. Getting Started
  589. </a>
  590. </li>
  591. <li class="nav-item">
  592. <a href="../docs/download.html" class="nav-link">
  593. Download
  594. </a>
  595. </li>
  596. <li class="nav-item">
  597. <a href="../docs/browser-support.html" class="nav-link">
  598. Browser Support
  599. </a>
  600. </li>
  601. </ul>
  602. </li>
  603. <li class="nav-item">
  604. <a href="#menu-content" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  605. Content
  606. <span class="nav-link-toggle"></span>
  607. </a>
  608. <ul class="nav nav-pills collapse" id="menu-content">
  609. <li class="nav-item">
  610. <a href="../docs/colors.html" class="nav-link">
  611. Colors
  612. </a>
  613. </li>
  614. <li class="nav-item">
  615. <a href="../docs/typography.html" class="nav-link">
  616. Typography
  617. </a>
  618. </li>
  619. <li class="nav-item">
  620. <a href="../docs/icons.html" class="nav-link">
  621. Icons
  622. </a>
  623. </li>
  624. <li class="nav-item">
  625. <a href="../docs/customize.html" class="nav-link">
  626. Customize Tabler
  627. </a>
  628. </li>
  629. </ul>
  630. </li>
  631. <li class="nav-item">
  632. <a href="#menu-layout" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  633. Layout
  634. <span class="nav-link-toggle"></span>
  635. </a>
  636. <ul class="nav nav-pills collapse" id="menu-layout">
  637. <li class="nav-item">
  638. <a href="../docs/page-headers.html" class="nav-link">
  639. Page headers
  640. </a>
  641. </li>
  642. </ul>
  643. </li>
  644. <li class="nav-item">
  645. <a href="#menu-forms" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  646. Form components
  647. <span class="nav-link-toggle"></span>
  648. </a>
  649. <ul class="nav nav-pills collapse" id="menu-forms">
  650. <li class="nav-item">
  651. <a href="../docs/form-elements.html" class="nav-link">
  652. Form elements
  653. </a>
  654. </li>
  655. <li class="nav-item">
  656. <a href="../docs/form-helpers.html" class="nav-link">
  657. Form helpers
  658. </a>
  659. </li>
  660. <li class="nav-item">
  661. <a href="../docs/form-validation.html" class="nav-link">
  662. Validation states
  663. </a>
  664. </li>
  665. <li class="nav-item">
  666. <a href="../docs/form-image-check.html" class="nav-link">
  667. Image check
  668. </a>
  669. </li>
  670. <li class="nav-item">
  671. <a href="../docs/form-color-check.html" class="nav-link">
  672. Color check
  673. </a>
  674. </li>
  675. <li class="nav-item">
  676. <a href="../docs/form-selectboxes.html" class="nav-link">
  677. Form selectboxes
  678. </a>
  679. </li>
  680. <li class="nav-item">
  681. <a href="../docs/form-fieldset.html" class="nav-link">
  682. Form fieldset
  683. </a>
  684. </li>
  685. </ul>
  686. </li>
  687. <li class="nav-item">
  688. <a href="#menu-components" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  689. Components
  690. <span class="nav-link-toggle"></span>
  691. </a>
  692. <ul class="nav nav-pills collapse" id="menu-components">
  693. <li class="nav-item">
  694. <a href="../docs/alerts.html" class="nav-link">
  695. Alerts
  696. </a>
  697. </li>
  698. <li class="nav-item">
  699. <a href="../docs/avatars.html" class="nav-link">
  700. Avatars
  701. </a>
  702. </li>
  703. <li class="nav-item">
  704. <a href="../docs/badges.html" class="nav-link">
  705. Badges
  706. </a>
  707. </li>
  708. <li class="nav-item">
  709. <a href="../docs/breadcrumb.html" class="nav-link">
  710. Breadcrumb
  711. </a>
  712. </li>
  713. <li class="nav-item">
  714. <a href="../docs/buttons.html" class="nav-link">
  715. Buttons
  716. </a>
  717. </li>
  718. <li class="nav-item">
  719. <a href="../docs/cards.html" class="nav-link">
  720. Cards
  721. </a>
  722. </li>
  723. <li class="nav-item">
  724. <a href="../docs/carousel.html" class="nav-link">
  725. Carousel
  726. </a>
  727. </li>
  728. <li class="nav-item">
  729. <a href="../docs/datagrid.html" class="nav-link">
  730. Data grid
  731. </a>
  732. </li>
  733. <li class="nav-item">
  734. <a href="../docs/dropdowns.html" class="nav-link">
  735. Dropdowns
  736. </a>
  737. </li>
  738. <li class="nav-item">
  739. <a href="../docs/divider.html" class="nav-link">
  740. Divider
  741. </a>
  742. </li>
  743. <li class="nav-item">
  744. <a href="../docs/empty.html" class="nav-link">
  745. Empty states
  746. </a>
  747. </li>
  748. <li class="nav-item">
  749. <a href="../docs/modals.html" class="nav-link">
  750. Modals
  751. </a>
  752. </li>
  753. <li class="nav-item">
  754. <a href="../docs/page-headers.html" class="nav-link">
  755. Page headers
  756. </a>
  757. </li>
  758. <li class="nav-item">
  759. <a href="../docs/progress.html" class="nav-link">
  760. Progress
  761. </a>
  762. </li>
  763. <li class="nav-item">
  764. <a href="../docs/range-slider.html" class="nav-link">
  765. Range slider
  766. </a>
  767. </li>
  768. <li class="nav-item">
  769. <a href="../docs/ribbons.html" class="nav-link">
  770. Ribbons
  771. </a>
  772. </li>
  773. <li class="nav-item">
  774. <a href="../docs/placeholder.html" class="nav-link">
  775. Placeholder
  776. </a>
  777. </li>
  778. <li class="nav-item">
  779. <a href="../docs/spinners.html" class="nav-link">
  780. Spinners
  781. </a>
  782. </li>
  783. <li class="nav-item">
  784. <a href="../docs/statuses.html" class="nav-link">
  785. Statuses
  786. </a>
  787. </li>
  788. <li class="nav-item">
  789. <a href="../docs/steps.html" class="nav-link">
  790. Steps
  791. </a>
  792. </li>
  793. <li class="nav-item">
  794. <a href="../docs/switch-icon.html" class="nav-link">
  795. Switch icon
  796. </a>
  797. </li>
  798. <li class="nav-item">
  799. <a href="../docs/tables.html" class="nav-link">
  800. Tables
  801. </a>
  802. </li>
  803. <li class="nav-item">
  804. <a href="../docs/tabs.html" class="nav-link">
  805. Tabs
  806. </a>
  807. </li>
  808. <li class="nav-item">
  809. <a href="../docs/timelines.html" class="nav-link">
  810. Timelines
  811. </a>
  812. </li>
  813. <li class="nav-item">
  814. <a href="../docs/toasts.html" class="nav-link">
  815. Toasts
  816. </a>
  817. </li>
  818. <li class="nav-item">
  819. <a href="../docs/tracking.html" class="nav-link">
  820. Tracking
  821. </a>
  822. </li>
  823. <li class="nav-item">
  824. <a href="../docs/tooltips.html" class="nav-link">
  825. Tooltips
  826. </a>
  827. </li>
  828. <li class="nav-item">
  829. <a href="../docs/popover.html" class="nav-link">
  830. Popover
  831. </a>
  832. </li>
  833. </ul>
  834. </li>
  835. <li class="nav-item">
  836. <a href="#menu-utils" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  837. Utilities
  838. <span class="nav-link-toggle"></span>
  839. </a>
  840. <ul class="nav nav-pills collapse" id="menu-utils">
  841. <li class="nav-item">
  842. <a href="../docs/borders.html" class="nav-link">
  843. Borders
  844. </a>
  845. </li>
  846. <li class="nav-item">
  847. <a href="../docs/cursors.html" class="nav-link">
  848. Cursors
  849. </a>
  850. </li>
  851. <li class="nav-item">
  852. <a href="../docs/interactions.html" class="nav-link">
  853. Interactions
  854. </a>
  855. </li>
  856. </ul>
  857. </li>
  858. <li class="nav-item">
  859. <a href="#menu-plugins" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  860. Plugins
  861. <span class="nav-link-toggle"></span>
  862. </a>
  863. <ul class="nav nav-pills collapse" id="menu-plugins">
  864. <li class="nav-item">
  865. <a href="../docs/autosize.html" class="nav-link">
  866. Autosize
  867. </a>
  868. </li>
  869. <li class="nav-item">
  870. <a href="../docs/input-mask.html" class="nav-link">
  871. Form input mask
  872. </a>
  873. </li>
  874. <li class="nav-item">
  875. <a href="../docs/flags.html" class="nav-link">
  876. Flags
  877. </a>
  878. </li>
  879. <li class="nav-item">
  880. <a href="../docs/payments.html" class="nav-link">
  881. Payments
  882. </a>
  883. </li>
  884. <li class="nav-item">
  885. <a href="../docs/charts.html" class="nav-link">
  886. Charts
  887. </a>
  888. </li>
  889. <li class="nav-item">
  890. <a href="../docs/dropzone.html" class="nav-link">
  891. Dropzone
  892. </a>
  893. </li>
  894. <li class="nav-item">
  895. <a href="../docs/inline-player.html" class="nav-link">
  896. Inline player
  897. </a>
  898. </li>
  899. <li class="nav-item">
  900. <a href="../docs/tinymce.html" class="nav-link">
  901. TinyMCE
  902. </a>
  903. </li>
  904. </ul>
  905. </li>
  906. <li class="nav-item">
  907. <a href="../changelog.html" class="nav-link">
  908. Changelog
  909. <span class="badge bg-primary-lt ms-auto">1.0.0-beta14</span>
  910. </a>
  911. </li>
  912. </ul>
  913. </div>
  914. <div class="col-lg-9">
  915. <div class="card card-lg">
  916. <div class="card-body">
  917. <div class="markdown">
  918. <div>
  919. <div class="d-flex mb-3">
  920. <h1 class="m-0">Dropzone</h1>
  921. </div>
  922. <p class="h3 fw-normal mb-4 text-muted">Dropzone is a simple JavaScript library that helps you add file drag and drop functionality to your web forms. It is one of the most popular drag and drop library on the web and is used by millions of people.</p>
  923. </div>
  924. <h2 id="default-dropzone">Default Dropzone</h2>
  925. <div class="example no_toc_section">
  926. <div class="example-content">
  927. <form class="dropzone" id="dropzone-default" action="../" autocomplete="off" novalidate="">
  928. <div class="fallback">
  929. <input name="file" type="file" />
  930. </div>
  931. </form>
  932. </div>
  933. </div>
  934. <div class="example-code">
  935. <figure class="highlight">
  936. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;form</span> <span class="na">class=</span><span class="s">"dropzone"</span> <span class="na">id=</span><span class="s">"dropzone-default"</span> <span class="na">action=</span><span class="s">"../"</span> <span class="na">autocomplete=</span><span class="s">"off"</span> <span class="na">novalidate</span><span class="nt">&gt;</span>
  937. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"fallback"</span><span class="nt">&gt;</span>
  938. <span class="nt">&lt;input</span> <span class="na">name=</span><span class="s">"file"</span> <span class="na">type=</span><span class="s">"file"</span> <span class="nt">/&gt;</span>
  939. <span class="nt">&lt;/div&gt;</span>
  940. <span class="nt">&lt;/form&gt;</span>
  941. <span class="nt">&lt;script&gt;</span>
  942. <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
  943. <span class="k">new</span> <span class="nx">Dropzone</span><span class="p">(</span><span class="dl">"</span><span class="s2">#dropzone-default</span><span class="dl">"</span><span class="p">)</span>
  944. <span class="p">})</span>
  945. <span class="nt">&lt;/script&gt;</span></code></pre>
  946. </figure>
  947. </div>
  948. <h2 id="add-multiple-files">Add multiple files</h2>
  949. <div class="example no_toc_section">
  950. <div class="example-content">
  951. <form class="dropzone" id="dropzone-mulitple" action="../" autocomplete="off" novalidate="">
  952. <div class="fallback">
  953. <input name="file" type="file" multiple="" />
  954. </div>
  955. </form>
  956. </div>
  957. </div>
  958. <div class="example-code">
  959. <figure class="highlight">
  960. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;form</span> <span class="na">class=</span><span class="s">"dropzone"</span> <span class="na">id=</span><span class="s">"dropzone-mulitple"</span> <span class="na">action=</span><span class="s">"../"</span> <span class="na">autocomplete=</span><span class="s">"off"</span> <span class="na">novalidate</span><span class="nt">&gt;</span>
  961. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"fallback"</span><span class="nt">&gt;</span>
  962. <span class="nt">&lt;input</span> <span class="na">name=</span><span class="s">"file"</span> <span class="na">type=</span><span class="s">"file"</span> <span class="na">multiple</span> <span class="nt">/&gt;</span>
  963. <span class="nt">&lt;/div&gt;</span>
  964. <span class="nt">&lt;/form&gt;</span>
  965. <span class="nt">&lt;script&gt;</span>
  966. <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
  967. <span class="k">new</span> <span class="nx">Dropzone</span><span class="p">(</span><span class="dl">"</span><span class="s2">#dropzone-mulitple</span><span class="dl">"</span><span class="p">)</span>
  968. <span class="p">})</span>
  969. <span class="nt">&lt;/script&gt;</span></code></pre>
  970. </figure>
  971. </div>
  972. <h2 id="custom-dropzone">Custom Dropzone</h2>
  973. <div class="example no_toc_section">
  974. <div class="example-content">
  975. <form class="dropzone" id="dropzone-custom" action="../" autocomplete="off" novalidate="">
  976. <div class="fallback">
  977. <input name="file" type="file" />
  978. </div>
  979. <div class="dz-message">
  980. <h3 class="dropzone-msg-title">Your text here</h3>
  981. <span class="dropzone-msg-desc">Your custom description here</span>
  982. </div>
  983. </form>
  984. </div>
  985. </div>
  986. <div class="example-code">
  987. <figure class="highlight">
  988. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;form</span> <span class="na">class=</span><span class="s">"dropzone"</span> <span class="na">id=</span><span class="s">"dropzone-custom"</span> <span class="na">action=</span><span class="s">"../"</span> <span class="na">autocomplete=</span><span class="s">"off"</span> <span class="na">novalidate</span><span class="nt">&gt;</span>
  989. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"fallback"</span><span class="nt">&gt;</span>
  990. <span class="nt">&lt;input</span> <span class="na">name=</span><span class="s">"file"</span> <span class="na">type=</span><span class="s">"file"</span> <span class="nt">/&gt;</span>
  991. <span class="nt">&lt;/div&gt;</span>
  992. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dz-message"</span><span class="nt">&gt;</span>
  993. <span class="nt">&lt;h3</span> <span class="na">class=</span><span class="s">"dropzone-msg-title"</span><span class="nt">&gt;</span>Your text here<span class="nt">&lt;/h3&gt;</span>
  994. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"dropzone-msg-desc"</span><span class="nt">&gt;</span>Your custom description here<span class="nt">&lt;/span&gt;</span>
  995. <span class="nt">&lt;/div&gt;</span>
  996. <span class="nt">&lt;/form&gt;</span>
  997. <span class="nt">&lt;script&gt;</span>
  998. <span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span><span class="dl">"</span><span class="s2">DOMContentLoaded</span><span class="dl">"</span><span class="p">,</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
  999. <span class="k">new</span> <span class="nx">Dropzone</span><span class="p">(</span><span class="dl">"</span><span class="s2">#dropzone-custom</span><span class="dl">"</span><span class="p">)</span>
  1000. <span class="p">})</span>
  1001. <span class="nt">&lt;/script&gt;</span></code></pre>
  1002. </figure>
  1003. </div>
  1004. </div>
  1005. </div>
  1006. </div>
  1007. </div>
  1008. </div>
  1009. </div>
  1010. </div>
  1011. <footer class="footer footer-transparent d-print-none">
  1012. <div class="container-xl">
  1013. <div class="row text-center align-items-center flex-row-reverse">
  1014. <div class="col-lg-auto ms-lg-auto">
  1015. <ul class="list-inline list-inline-dots mb-0">
  1016. <li class="list-inline-item"><a href="../docs/index.html" class="link-secondary">Documentation</a></li>
  1017. <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
  1018. <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
  1019. <li class="list-inline-item">
  1020. <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
  1021. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  1022. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink icon-filled icon-inline" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
  1023. Sponsor
  1024. </a>
  1025. </li>
  1026. </ul>
  1027. </div>
  1028. <div class="col-12 col-lg-auto mt-3 mt-lg-0">
  1029. <ul class="list-inline list-inline-dots mb-0">
  1030. <li class="list-inline-item">
  1031. Copyright &copy; 2022
  1032. <a href=".." class="link-secondary">Tabler</a>.
  1033. All rights reserved.
  1034. </li>
  1035. <li class="list-inline-item">
  1036. <a href="../changelog.html" class="link-secondary" rel="noopener">
  1037. v1.0.0-beta14
  1038. </a>
  1039. </li>
  1040. </ul>
  1041. </div>
  1042. </div>
  1043. </div>
  1044. </footer>
  1045. </div>
  1046. </div>
  1047. <!-- Libs JS -->
  1048. <script src="../dist/libs/dropzone/dist/dropzone-min.js?1666304673" defer></script>
  1049. <!-- Tabler Core -->
  1050. <script src="../dist/js/tabler.min.js?1666304673" defer></script>
  1051. <script src="../dist/js/demo.min.js?1666304673" defer></script>
  1052. <script>
  1053. // @formatter:off
  1054. document.addEventListener("DOMContentLoaded", function() {
  1055. new Dropzone("#dropzone-default")
  1056. })
  1057. </script>
  1058. <script>
  1059. // @formatter:off
  1060. document.addEventListener("DOMContentLoaded", function() {
  1061. new Dropzone("#dropzone-mulitple")
  1062. })
  1063. </script>
  1064. <script>
  1065. // @formatter:off
  1066. document.addEventListener("DOMContentLoaded", function() {
  1067. new Dropzone("#dropzone-custom")
  1068. })
  1069. </script>
  1070. </body>
  1071. </html>