rozumny procenta
This commit is contained in:
parent
c257afc15e
commit
3c367660fa
@ -162,7 +162,7 @@ class Main extends Component {
|
||||
<div>
|
||||
<form id="form" action="/api/upload_files" class="container" onSubmit={(e) => this.onSubmit(e)}>
|
||||
<label>Zvolte soubory <input type="file" name="files" accept=".jpg,.png,.webp,.webm,.avi,.mkv,.mp4" multiple={true} onChange={(e)=> this.handleChangeFiles.bind(this)(e)}/></label>
|
||||
<button type="submit" class="btn btn-primary">Nahrát</button> <b>progress: {this.state.uploadProgress * 100}%</b>
|
||||
<button type="submit" class="btn btn-primary">Nahrát</button> <b>progress: {(this.state.uploadProgress * 100).toFixed(1)}%</b>
|
||||
</form>
|
||||
</div>}
|
||||
{this.state.page == "#payment" &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user