1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <!-- Basic Page Needs
- –––––––––––––––––––––––––––––––––––––––––––––––––– -->
- <meta charset="utf-8">
- <title>Loading...</title>
- <meta name="description" content="">
- <meta name="author" content="">
- <!-- Mobile Specific Metas
- –––––––––––––––––––––––––––––––––––––––––––––––––– -->
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- FONT
- –––––––––––––––––––––––––––––––––––––––––––––––––– -->
- <link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
- <!-- CSS
- –––––––––––––––––––––––––––––––––––––––––––––––––– -->
- <link rel="stylesheet" href="static/css/normalize.css">
- <link rel="stylesheet" href="static/css/skeleton.css">
- <!-- Favicon
- –––––––––––––––––––––––––––––––––––––––––––––––––– -->
- <link rel="icon" type="image/png" href="static/images/favicon.png">
- <link rel="stylesheet" href="static/css/style.css" type="text/css" />
- </head>
- <body>
- <!-- Primary Page Layout
- –––––––––––––––––––––––––––––––––––––––––––––––––– -->
- <div class="container">
- <div class="row">
- <div class="twelve columns" style="margin-top: 10%">
- <h1>
- Loading..
- </h1>
- <h4>uppy</h4>
- <p>
- With this file we can easily test the built js client locally (via <code>npm run preview</code>)
- and online.
- </p>
- <form id="upload-target" class="UppyDragDrop" method="post" action="/" enctype="multipart/form-data">
- <div>
- <input id="UppyDragDrop-input" class="UppyDragDrop-input" type="file" name="files[]" data-multiple-caption="{count} files selected" multiple />
- <label class="UppyDragDrop-label" for="UppyDragDrop-input"><strong>Choose a file</strong><span class="UppyDragDrop-dragText"> or drag it here</span>.</label>
- <!-- <button class="UppyDragDrop-btn" type="submit">Upload</button> -->
- </div>
- <div class="UppyDragDrop-status">Uploading…</div>
- </form>
- </div>
- </div>
- </div>
- <footer>
- <hr />
- <ul>
- <li><a href="https://travis-ci.org/transloadit/uppy">Travis</a></li>
- <li><a href="https://github.com/transloadit/uppy">GitHub</a></li>
- </ul>
- </footer>
- </body>
- <!-- Include the bundled app.js client -->
- <script src="static/js/app.js"></script>
- <!-- Apply the js client on a selector -->
- <script>
- // var tl = Transloadit("#upload-target");
- </script>
- <!-- Add the branch name to the <title> and <h1> of this page -->
- <script>
- var branch = location.pathname.split('/')[2] || 'local-unknown';
- var elTitle = document.querySelector('title');
- var elH1 = document.querySelector('h1');
- var title = 'You are reviewing branch: ' + branch;
- elTitle.innerHTML = title;
- elH1.innerHTML = title;
- </script>
- </html>
|