uguu/rain/template/upload.html

30 lines
1.2 KiB
HTML
Raw Normal View History

2015-02-23 18:33:02 +01:00
<div class="container">
<form class="col s12" action="api.php?d=upload" method="post" enctype="multipart/form-data">
2017-01-24 13:28:52 +01:00
<input type="hidden" name="MAX_FILE_SIZE" value="268435456" />
2015-02-23 18:33:02 +01:00
<div class="file-field input-field">
2015-02-23 19:30:05 +01:00
<input class="file-path validate" type="text" readonly="readonly"/>
2017-01-24 13:28:52 +01:00
<div class="btn ie-btn-fix pink">
2015-02-23 18:33:02 +01:00
<span>File</span>
<input id="file" type="file" name="file" />
</div>
</div>
<p>
<input type="checkbox" id="randomname" name="randomname" />
<label for="randomname">Generate random filename</label>
</p>
<div class="row">
<div class="input-field col s12">
<input id="customname" type="text" name="name">
2017-01-24 13:28:52 +01:00
<label for="customname">Custom filename, e.g qtloli.png (optional)</label>
2015-02-23 18:33:02 +01:00
</div>
</div>
2017-01-24 13:28:52 +01:00
<button class="btn waves-effect waves-light pink" type="submit">Upload
2015-02-23 18:33:02 +01:00
<i class="mdi-content-send right"></i>
</button>
</div>
</form>
2015-02-23 19:30:05 +01:00
</div>