kopia lustrzana https://github.com/OpenDroneMap/WebODM
Porównaj commity
4 Commity
206edf1087
...
4cd3618442
Autor | SHA1 | Data |
---|---|---|
Piero Toffanin | 4cd3618442 | |
Gonzalo Bulnes Guilpain | 9209b52a19 | |
Piero Toffanin | 8150b822d9 | |
Gonzalo Bulnes Guilpain | 02b4061379 |
|
@ -53,7 +53,7 @@ class EditTaskPanel extends React.Component {
|
||||||
this.setState({saving: false});
|
this.setState({saving: false});
|
||||||
this.props.onSave(json);
|
this.props.onSave(json);
|
||||||
}).fail(() => {
|
}).fail(() => {
|
||||||
this.setState({saving: false, error: _("Could not update task information. Plese try again.")});
|
this.setState({saving: false, error: _("Could not update task information. Please try again.")});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ class ProcessingNodeOption extends React.Component {
|
||||||
let loadFileControl = "";
|
let loadFileControl = "";
|
||||||
if (this.supportsFileAPI() && this.props.domain === 'json'){
|
if (this.supportsFileAPI() && this.props.domain === 'json'){
|
||||||
loadFileControl = ([
|
loadFileControl = ([
|
||||||
<button key="btn" type="file" className="btn glyphicon glyphicon-import btn-primary" data-toggle="tooltip" data-placement="left" title={_("Click to import a .JSON file")} onClick={() => this.loadFile()}></button>,
|
<button key="btn" type="file" className="btn glyphicon glyphicon-import btn-primary" data-toggle="tooltip" data-placement="left" title={_("Click to import a JSON file")} onClick={() => this.loadFile()}></button>,
|
||||||
<input key="file-ctrl" className="file-control" type="file"
|
<input key="file-ctrl" className="file-control" type="file"
|
||||||
accept="text/plain,application/json,application/geo+json,.geojson"
|
accept="text/plain,application/json,application/geo+json,.geojson"
|
||||||
onChange={this.handleFileSelect}
|
onChange={this.handleFileSelect}
|
||||||
|
|
|
@ -225,7 +225,7 @@ class ProjectListItem extends React.Component {
|
||||||
totalCount: this.state.upload.totalCount - 1,
|
totalCount: this.state.upload.totalCount - 1,
|
||||||
totalBytes: this.state.upload.totalBytes - file.size
|
totalBytes: this.state.upload.totalBytes - file.size
|
||||||
});
|
});
|
||||||
throw new Error(interpolate(_('Cannot upload %(filename)s, File too Large! Default MaxFileSize is %(maxFileSize)s MB!'), { filename: file.name, maxFileSize: this.dz.options.maxFilesize }));
|
throw new Error(interpolate(_('Cannot upload %(filename)s, file is too large! Default MaxFileSize is %(maxFileSize)s MB!'), { filename: file.name, maxFileSize: this.dz.options.maxFilesize }));
|
||||||
}
|
}
|
||||||
retry();
|
retry();
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -578,6 +578,10 @@ class TaskListItem extends React.Component {
|
||||||
<td><strong>{_("Disk Usage:")}</strong></td>
|
<td><strong>{_("Disk Usage:")}</strong></td>
|
||||||
<td>{Utils.bytesToSize(task.size * 1024 * 1024)}</td>
|
<td>{Utils.bytesToSize(task.size * 1024 * 1024)}</td>
|
||||||
</tr>}
|
</tr>}
|
||||||
|
<tr>
|
||||||
|
<td><strong>{_("Task ID:")}</strong></td>
|
||||||
|
<td>{task.id}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>{_("Task Output:")}</strong></td>
|
<td><strong>{_("Task Output:")}</strong></td>
|
||||||
<td><div className="btn-group btn-toggle">
|
<td><div className="btn-group btn-toggle">
|
||||||
|
|
Ładowanie…
Reference in New Issue