]>
Commit | Line | Data |
---|---|---|
1 | <div class="container"> | |
2 | <form class="col s12" action="api.php?d=upload" method="post" enctype="multipart/form-data"> | |
3 | <input type="hidden" name="MAX_FILE_SIZE" value="150000000" /> | |
4 | <div class="file-field input-field"> | |
5 | <input class="file-path validate" type="text" readonly="readonly"/> | |
6 | <div class="btn ie-btn-fix"> | |
7 | <span>File</span> | |
8 | <input id="file" type="file" name="file" /> | |
9 | </div> | |
10 | </div> | |
11 | ||
12 | <p> | |
13 | <input type="checkbox" id="randomname" name="randomname" /> | |
14 | <label for="randomname">Generate random filename</label> | |
15 | </p> | |
16 | ||
17 | <div class="row"> | |
18 | <div class="input-field col s12"> | |
19 | <input id="customname" type="text" name="name"> | |
20 | <label for="customname">Custom filename, e.g cat.flac (optional)</label> | |
21 | </div> | |
22 | </div> | |
23 | ||
24 | <button class="btn waves-effect waves-light" type="submit">Upload | |
25 | <i class="mdi-content-send right"></i> | |
26 | </button> | |
27 | </div> | |
28 | </form> | |
29 | </div> |