mirror of
https://github.com/nokonoko/Uguu.git
synced 2024-01-06 13:35:15 +00:00
17e2bf6efc
修复中文编码上传导致的一个问题,默认勾选
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
<div class="container">
|
|
<form class="col s12" action="api.php?d=upload" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="150000000" />
|
|
<div class="file-field input-field">
|
|
<input class="file-path validate" type="text" readonly="readonly"/>
|
|
<div class="btn ie-btn-fix">
|
|
<span>File</span>
|
|
<input id="file" type="file" name="file" />
|
|
</div>
|
|
</div>
|
|
|
|
<p>
|
|
<input name="randomname" type="checkbox" id="randomname" checked="checked" />
|
|
<label for="randomname">Generate random filename</label>
|
|
</p>
|
|
|
|
<div class="row">
|
|
<div class="input-field col s12">
|
|
<input id="customname" type="text" name="name">
|
|
<label for="customname">Custom filename, e.g cat.flac (optional)</label>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="btn waves-effect waves-light" type="submit">Upload
|
|
<i class="mdi-content-send right"></i>
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|