diff --git a/interface/src/app/main/Dashboard.tsx b/interface/src/app/main/Dashboard.tsx index 426af7a92..ea174607f 100644 --- a/interface/src/app/main/Dashboard.tsx +++ b/interface/src/app/main/Dashboard.tsx @@ -274,7 +274,7 @@ const Dashboard = () => { diff --git a/interface/src/app/main/Devices.tsx b/interface/src/app/main/Devices.tsx index 450116568..d34625839 100644 --- a/interface/src/app/main/Devices.tsx +++ b/interface/src/app/main/Devices.tsx @@ -10,9 +10,9 @@ import { useNavigate } from 'react-router'; import { toast } from 'react-toastify'; import CommentsDisabledOutlinedIcon from '@mui/icons-material/CommentsDisabledOutlined'; +import ConstructionIcon from '@mui/icons-material/Construction'; import EditIcon from '@mui/icons-material/Edit'; import EditOffOutlinedIcon from '@mui/icons-material/EditOffOutlined'; -import FormatListNumberedIcon from '@mui/icons-material/FormatListNumbered'; import DownloadIcon from '@mui/icons-material/GetApp'; import HighlightOffIcon from '@mui/icons-material/HighlightOff'; import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined'; @@ -522,7 +522,7 @@ const Devices = () => { @@ -643,7 +643,7 @@ const Devices = () => { coreData.devices[deviceIndex].e + ' ' + LL.ENTITIES(shown_data.length)} - + setShowDeviceInfo(true)}> @@ -651,7 +651,7 @@ const Devices = () => { {me.admin && ( - + )} @@ -671,7 +671,7 @@ const Devices = () => { - + diff --git a/interface/src/app/settings/Version.tsx b/interface/src/app/settings/Version.tsx index 600f7e9de..f54e03dd4 100644 --- a/interface/src/app/settings/Version.tsx +++ b/interface/src/app/settings/Version.tsx @@ -183,10 +183,6 @@ const Version = () => { }; const showButtons = () => { - if (!upgradeAvailable) { - return; - } - if (downloadOnly) { return ( ); }; @@ -225,24 +221,24 @@ const Version = () => { return ( <> - + Firmware Version - - - - {LL.VERSION()} - - - Platform - - - Release Type - + + + {LL.VERSION()} - - + + {data.emsesp_version} {data.build_flags && ( @@ -250,8 +246,20 @@ const Version = () => { )} - {getPlatform()} - + + + + Platform + + + {getPlatform()} + + + + Release Type + + + {data.emsesp_version.includes('dev') ? LL.DEVELOPMENT() : LL.STABLE()} @@ -259,40 +267,48 @@ const Version = () => { - + {LL.AVAILABLE_VERSION()} + + + {LL.STABLE()} + + + + + {latestVersion} + + + + {!usingDevVersion && showButtons()} + + + {LL.DEVELOPMENT()} + + + + + {latestDevVersion} + + + + {usingDevVersion && showButtons()} + + {internetLive ? ( <> - - - - {LL.STABLE()} - - - {LL.DEVELOPMENT()} - - - - - {latestVersion}   - - (changelog) - - {!usingDevVersion && showButtons()} - - - {latestDevVersion}   - - (changelog) - - {usingDevVersion && showButtons()} - - - {upgradeAvailable ? ( - + { {LL.UPGRADE_AVAILABLE()} ) : ( - + { ) : ( - device cannot access internet + no access to download site )}