kopia lustrzana https://github.com/OpenDroneMap/WebODM
Pulled edit button to the right
rodzic
e9679eac12
commit
00d367ce17
|
@ -72,8 +72,8 @@ class EditTaskPanel extends React.Component {
|
||||||
task={this.props.task}
|
task={this.props.task}
|
||||||
/>
|
/>
|
||||||
<div className="actions">
|
<div className="actions">
|
||||||
<button type="button" className="btn btn-default" onClick={this.handleCancel} disabled={this.state.saving}>Cancel</button>
|
<button type="button" className="btn btn-sm btn-default" onClick={this.handleCancel} disabled={this.state.saving}>Cancel</button>
|
||||||
<button type="button" className="btn btn-primary save" onClick={this.handleSave} disabled={this.state.saving || !this.state.editTaskFormLoaded}>
|
<button type="button" className="btn btn-sm btn-primary save" onClick={this.handleSave} disabled={this.state.saving || !this.state.editTaskFormLoaded}>
|
||||||
{this.state.saving ?
|
{this.state.saving ?
|
||||||
<span>
|
<span>
|
||||||
<i className="fa fa-circle-o-notch fa-spin"></i> Saving...
|
<i className="fa fa-circle-o-notch fa-spin"></i> Saving...
|
||||||
|
|
|
@ -265,7 +265,7 @@ class TaskListItem extends React.Component {
|
||||||
// Ability to change options
|
// Ability to change options
|
||||||
if ([statusCodes.FAILED, statusCodes.COMPLETED, statusCodes.CANCELED].indexOf(task.status) !== -1 ||
|
if ([statusCodes.FAILED, statusCodes.COMPLETED, statusCodes.CANCELED].indexOf(task.status) !== -1 ||
|
||||||
(!task.processing_node)){
|
(!task.processing_node)){
|
||||||
addActionButton("Edit", "btn-primary", "glyphicon glyphicon-pencil", () => {
|
addActionButton("Edit", "btn-primary pull-right", "glyphicon glyphicon-pencil", () => {
|
||||||
this.startEditing();
|
this.startEditing();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue