Browse Source

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

Adam Ierymenko 10 years ago
parent
commit
9b0c8965bb
3 changed files with 2 additions and 2 deletions
  1. 1 1
      ui/ZeroTierNode.jsx
  2. 1 1
      ui/zerotier.css
  3. 0 0
      ui/ztui.min.js

+ 1 - 1
ui/ZeroTierNode.jsx

@@ -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>

+ 1 - 1
ui/zerotier.css

@@ -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 {

File diff suppressed because it is too large
+ 0 - 0
ui/ztui.min.js


Some files were not shown because too many files changed in this diff