@@ -4,9 +4,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
44import { cliLocalService } from '../services/cliLocalService' ;
55import cliService from '../services/cliService' ;
66import {
7+ APP_USERDATA ,
78 CLI_CONFIG_FILENAME ,
89 CLI_LOG_ERROR_FILE ,
9- CLI_LOG_FILE , cliApiService ,
10+ CLI_LOG_FILE ,
11+ cliApiService ,
1012 GUI_LOG_FILE ,
1113 GUI_VERSION
1214} from '../const' ;
@@ -59,12 +61,14 @@ export default class StatusPage extends Component<Props> {
5961 < Card . Body >
6062 < div className = 'row' >
6163 < div className = 'col-sm-2' >
62- < strong > GUI logs:</ strong > < br />
63- < strong > Version:</ strong >
64+ < strong > Version:</ strong > < br />
65+ < strong > Path:</ strong > < br />
66+ < strong > GUI logs:</ strong >
6467 </ div >
6568 < div className = 'col-sm-10' >
66- < div > < LinkExternal href = { 'file://' + this . guiLogFile } > { this . guiLogFile } </ LinkExternal > </ div >
6769 < div > GUI < strong > { GUI_VERSION } </ strong > , CLI API < strong > { cliApiService . getVersionName ( ) } </ strong > </ div >
70+ < div > < LinkExternal href = { 'file://' + APP_USERDATA } > { APP_USERDATA } </ LinkExternal > </ div >
71+ < div > < LinkExternal href = { 'file://' + this . guiLogFile } > { this . guiLogFile } </ LinkExternal > </ div >
6872 </ div >
6973 </ div >
7074 </ Card . Body >
@@ -77,7 +81,7 @@ export default class StatusPage extends Component<Props> {
7781 < Card . Header >
7882 < div className = 'row' >
7983 < div className = 'col-sm-6' >
80- < strong > Remote CLI</ strong >
84+ < strong > CLI: remote </ strong >
8185 </ div >
8286 < div className = 'col-sm-6' >
8387 { cliStatusIcon }
@@ -98,7 +102,7 @@ export default class StatusPage extends Component<Props> {
98102 < Card . Header >
99103 < div className = 'row' >
100104 < div className = 'col-sm-6' >
101- < strong > Standalone GUI </ strong >
105+ < strong > CLI: standalone </ strong >
102106 </ div >
103107 < div className = 'col-sm-6' >
104108 { cliStatusIcon }
@@ -122,8 +126,8 @@ export default class StatusPage extends Component<Props> {
122126 { cliLocalService . hasCliApi ( ) && < strong > Version:< br /> </ strong > } < br />
123127 </ div >
124128 < div className = 'col-sm-10' >
125- < LinkExternal href = { 'file://' + cliApiService . getDownloadPath ( ) } > { cliApiService . getDownloadPath ( ) } </ LinkExternal > < br />
126- < LinkExternal href = { 'file://' + cliApiService . getDownloadPath ( ) + CLI_CONFIG_FILENAME } > { CLI_CONFIG_FILENAME } </ LinkExternal > < br />
129+ < LinkExternal href = { 'file://' + cliApiService . getCliPath ( ) } > { cliApiService . getCliPath ( ) } </ LinkExternal > < br />
130+ < LinkExternal href = { 'file://' + cliApiService . getCliPath ( ) + CLI_CONFIG_FILENAME } > { CLI_CONFIG_FILENAME } </ LinkExternal > < br />
127131 { cliLocalService . hasCliApi ( ) && < div > { cliLocalService . getCliFilename ( ) } ({ cliLocalService . getCliChecksum ( ) } )</ div > }
128132 { cliLocalService . hasCliApi ( ) && < div > { cliLocalService . getCliVersionStr ( ) } </ div > }
129133 { ! cliLocalService . hasCliApi ( ) && < div > < strong > CLI_API { cliApiService . getVersionName ( ) } could not be resolved</ strong > < br /> </ div > }
0 commit comments