mirror of https://github.com/docker/docs.git
Styled and fixed wording for advanced checkbox.
This commit is contained in:
parent
1a7452965f
commit
bc8c3e70b0
|
|
@ -46,8 +46,10 @@ var ContainerSettingsAdvanced = React.createClass({
|
||||||
<div className="settings-panel">
|
<div className="settings-panel">
|
||||||
<div className="settings-section">
|
<div className="settings-section">
|
||||||
<h3>Advanced Options</h3>
|
<h3>Advanced Options</h3>
|
||||||
<p><input type="checkbox" checked={this.state.tty} onChange={this.handleChangeTty}/> Attach standard streams to a tty, including stdin if it is not closed</p>
|
<div className="checkboxes">
|
||||||
<p><input type="checkbox" checked={this.state.openStdin} onChange={this.handleChangeOpenStdin}/> Keep STDIN open even if not attached</p>
|
<p><input type="checkbox" checked={this.state.tty} onChange={this.handleChangeTty}/>Allocate a TTY for this container</p>
|
||||||
|
<p><input type="checkbox" checked={this.state.openStdin} onChange={this.handleChangeOpenStdin}/>Keep STDIN open even if not attached</p>
|
||||||
|
</div>
|
||||||
<a className="btn btn-action" disabled={this.props.container.State.Updating} onClick={this.handleSaveAdvancedOptions}>Save</a>
|
<a className="btn btn-action" disabled={this.props.container.State.Updating} onClick={this.handleSaveAdvancedOptions}>Save</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -138,5 +138,14 @@
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.checkboxes {
|
||||||
|
padding: 1rem 0;
|
||||||
|
p {
|
||||||
|
color: @gray-normal;
|
||||||
|
}
|
||||||
|
input[type="checkbox"] {
|
||||||
|
margin-right: 0.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue