mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 18:35:54 +00:00
* /examples/dev - added drag-drop plugin dev environment * @uppy/drag-drop - moved isDragDropSupported() to @uppy/utils * @uppy/drag-drop - got rid of drag-drop npm library * examples/dev - made compiled files placed in /output instead of /lib * ~/examples/dev - made watchify only watch files once * @uppy/drag-drop - add onPaste * /examples/dev - readded html css override-attempts * @uppy/drag-drop - made whole area clickable, and made it accessible * @uppy/drag-drop - removed excessive outline in firefox * change dragText classname to browse, minor spacing and order changes
28 lines
622 B
HTML
28 lines
622 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Drag-Drop</title>
|
|
</head>
|
|
<body>
|
|
<style>
|
|
main {
|
|
text-align: center;
|
|
margin: 20px auto;
|
|
max-width: 400px;
|
|
}
|
|
</style>
|
|
<main class="foo">
|
|
<h1>Drag-drop is here</h1>
|
|
|
|
<input type="text"/>
|
|
<div id="uppyDragDrop"></div>
|
|
<div id="uppyDragDrop-progress"></div>
|
|
<input type="text"/>
|
|
</main>
|
|
|
|
<link href="uppy.min.css" rel="stylesheet">
|
|
<script src="output/index.js"></script>
|
|
</body>
|
|
</html>
|