Make status line in UI show "TUNNELED" if slow TCP tunneling mode is active.

This commit is contained in:
Adam Ierymenko 2015-06-03 16:47:07 -07:00
parent 7e647c5303
commit 9b0c8965bb
3 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@ var ZeroTierNode = React.createClass({
</div></div>
<div className="bottom">
<div className="left">
<span className="statusLine"><span className="zeroTierAddress">{this.state.address}</span>&nbsp;&nbsp;{this.state.online ? 'ONLINE' : 'OFFLINE'}&nbsp;&nbsp;{this.state.version}</span>
<span className="statusLine"><span className="zeroTierAddress">{this.state.address}</span>&nbsp;&nbsp;{this.state.online ? (this.state.tcpFallbackActive ? 'TUNNELED' : 'ONLINE') : 'OFFLINE'}&nbsp;&nbsp;{this.state.version}</span>
</div>
<div className="right">
<form onSubmit={this.joinNetwork}><input type="text" maxlength="16" placeholder="[ Network ID ]" onChange={this.handleNetworkIdEntry} size="16"/><button type="button" onClick={this.joinNetwork}>Join</button></form>

View File

@ -170,7 +170,7 @@ html,body {
.zeroTierNode > .bottom > .left > .statusLine {
font-family: monospace;
white-space: nowrap;
font-size: 12pt;
font-size: 11pt;
height: 100%;
}
.zeroTierNode > .bottom > .right {

2
ui/ztui.min.js vendored

File diff suppressed because one or more lines are too long