diff --git a/src/main.tsx b/src/main.tsx index 548a23c5..9d22acfe 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -669,7 +669,23 @@ class TextAreaInput extends React.Component<{}, {}> { } @mobxReact.observer -class InfoShowRemote extends React.Component<{}, {}> { +class InfoRemoteShowAll extends React.Component<{}, {}> { + render() { + let inputModel = GlobalModel.inputModel; + let infoMsg = inputModel.infoMsg.get(); + if (infoMsg == null || !infoMsg.remoteshowall) { + return null; + } + return ( +
+ showall +
+ ); + } +} + +@mobxReact.observer +class InfoRemoteShow extends React.Component<{}, {}> { getRemoteTypeStr(remote : RemoteType) : string { let mshellStr = ""; if (!isBlank(remote.mshellversion)) { @@ -823,7 +839,8 @@ class InfoMsg extends React.Component<{}, {}> { - + + 0}>
diff --git a/src/sh2.less b/src/sh2.less index 07584106..cf57557c 100644 --- a/src/sh2.less +++ b/src/sh2.less @@ -856,6 +856,11 @@ body .xterm .xterm-viewport { } } + .info-remote-showall { + color: #d3d7cf; + .mono-font(12px); + } + .text-button { .mono-font(12px, 600); color: @term-white; diff --git a/src/types.ts b/src/types.ts index eadb430c..db188c3b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -83,6 +83,7 @@ type RemoteType = { errorstr : string, defaultstate : RemoteStateType, connectmode : string, + autoinstall : boolean, remoteidx : number, archived : boolean, uname : string,