mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
Merge pull request #1743 from proddy/dev
move esp status from settings page
This commit is contained in:
@@ -43,10 +43,7 @@ const AuthenticatedRouting: FC = () => {
|
|||||||
<Route path="/settings/ntp/*" element={<NetworkTime />} />
|
<Route path="/settings/ntp/*" element={<NetworkTime />} />
|
||||||
<Route path="/settings/mqtt/*" element={<Mqtt />} />
|
<Route path="/settings/mqtt/*" element={<Mqtt />} />
|
||||||
<Route path="/settings/security/*" element={<Security />} />
|
<Route path="/settings/security/*" element={<Security />} />
|
||||||
<Route
|
<Route path="/system/espsystemstatus/*" element={<ESPSystemStatus />} />
|
||||||
path="/settings/espsystemstatus/*"
|
|
||||||
element={<ESPSystemStatus />}
|
|
||||||
/>
|
|
||||||
<Route path="/settings/upload/*" element={<UploadDownload />} />
|
<Route path="/settings/upload/*" element={<UploadDownload />} />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ const Settings: FC = () => {
|
|||||||
<ListMenuItem
|
<ListMenuItem
|
||||||
icon={TuneIcon}
|
icon={TuneIcon}
|
||||||
bgcolor="#134ba2"
|
bgcolor="#134ba2"
|
||||||
label={LL.APPLICATION_SETTINGS()}
|
label={LL.APPLICATION()}
|
||||||
text={LL.APPLICATION_SETTINGS_1()}
|
text={LL.APPLICATION_SETTINGS_1()}
|
||||||
to="ems-esp"
|
to="ems-esp"
|
||||||
/>
|
/>
|
||||||
@@ -125,14 +125,6 @@ const Settings: FC = () => {
|
|||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
<ListMenuItem
|
|
||||||
icon={MemoryIcon}
|
|
||||||
bgcolor="#b1395f"
|
|
||||||
label={LL.STATUS_OF('ESP32')}
|
|
||||||
text="ESP32 Information"
|
|
||||||
to="espsystemstatus"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<ListMenuItem
|
<ListMenuItem
|
||||||
icon={ImportExportIcon}
|
icon={ImportExportIcon}
|
||||||
bgcolor="#5d89f7"
|
bgcolor="#5d89f7"
|
||||||
|
|||||||
@@ -351,7 +351,7 @@ const SystemStatus: FC = () => {
|
|||||||
bgcolor="#68374d"
|
bgcolor="#68374d"
|
||||||
label={LL.SYSTEM_MEMORY()}
|
label={LL.SYSTEM_MEMORY()}
|
||||||
text={formatNumber(data.free_heap) + ' KB'}
|
text={formatNumber(data.free_heap) + ' KB'}
|
||||||
to="/settings/espsystemstatus"
|
to="/system/espsystemstatus"
|
||||||
/>
|
/>
|
||||||
<Divider variant="inset" component="li" />
|
<Divider variant="inset" component="li" />
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const de: Translation = {
|
|||||||
NUM_SECONDS: '{num} Sekunde{{n}}',
|
NUM_SECONDS: '{num} Sekunde{{n}}',
|
||||||
NUM_HOURS: '{num} Stunde{{n}}',
|
NUM_HOURS: '{num} Stunde{{n}}',
|
||||||
NUM_MINUTES: '{num} Minute{{n}}',
|
NUM_MINUTES: '{num} Minute{{n}}',
|
||||||
APPLICATION_SETTINGS: 'Anwendungseinstellungen',
|
APPLICATION: 'Anwendungseinstellungen',
|
||||||
CUSTOMIZATIONS: 'Anpassungen',
|
CUSTOMIZATIONS: 'Anpassungen',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP startet neu',
|
APPLICATION_RESTARTING: 'EMS-ESP startet neu',
|
||||||
INTERFACE_BOARD_PROFILE: 'Interface Platinenprofil',
|
INTERFACE_BOARD_PROFILE: 'Interface Platinenprofil',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const en: Translation = {
|
|||||||
NUM_SECONDS: '{num} second{{s}}',
|
NUM_SECONDS: '{num} second{{s}}',
|
||||||
NUM_HOURS: '{num} hour{{s}}',
|
NUM_HOURS: '{num} hour{{s}}',
|
||||||
NUM_MINUTES: '{num} minute{{s}}',
|
NUM_MINUTES: '{num} minute{{s}}',
|
||||||
APPLICATION_SETTINGS: 'Application Settings',
|
APPLICATION: 'Application',
|
||||||
CUSTOMIZATIONS: 'Customizations',
|
CUSTOMIZATIONS: 'Customizations',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP is restarting',
|
APPLICATION_RESTARTING: 'EMS-ESP is restarting',
|
||||||
INTERFACE_BOARD_PROFILE: 'Interface Board Profile',
|
INTERFACE_BOARD_PROFILE: 'Interface Board Profile',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const fr: Translation = {
|
|||||||
NUM_SECONDS: '{num} seconde{{s}}',
|
NUM_SECONDS: '{num} seconde{{s}}',
|
||||||
NUM_HOURS: '{num} heure{{s}}',
|
NUM_HOURS: '{num} heure{{s}}',
|
||||||
NUM_MINUTES: '{num} minute{{s}}',
|
NUM_MINUTES: '{num} minute{{s}}',
|
||||||
APPLICATION_SETTINGS: "Paramètres de l'application",
|
APPLICATION: "l'application",
|
||||||
CUSTOMIZATIONS: 'Personnalisation',
|
CUSTOMIZATIONS: 'Personnalisation',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP redémarre',
|
APPLICATION_RESTARTING: 'EMS-ESP redémarre',
|
||||||
INTERFACE_BOARD_PROFILE: "Profile de carte d'interface",
|
INTERFACE_BOARD_PROFILE: "Profile de carte d'interface",
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const it: Translation = {
|
|||||||
NUM_SECONDS: '{num} secondi {{s}}',
|
NUM_SECONDS: '{num} secondi {{s}}',
|
||||||
NUM_HOURS: '{num} ore {{s}}',
|
NUM_HOURS: '{num} ore {{s}}',
|
||||||
NUM_MINUTES: '{num} minuti {{s}}',
|
NUM_MINUTES: '{num} minuti {{s}}',
|
||||||
APPLICATION_SETTINGS: 'Impostazione Applicazione',
|
APPLICATION: 'Applicazione',
|
||||||
CUSTOMIZATIONS: 'Personalizzazione',
|
CUSTOMIZATIONS: 'Personalizzazione',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP sta riavviando',
|
APPLICATION_RESTARTING: 'EMS-ESP sta riavviando',
|
||||||
INTERFACE_BOARD_PROFILE: 'Profilo scheda di interfaccia',
|
INTERFACE_BOARD_PROFILE: 'Profilo scheda di interfaccia',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const nl: Translation = {
|
|||||||
NUM_SECONDS: '{num} second{{en}}',
|
NUM_SECONDS: '{num} second{{en}}',
|
||||||
NUM_HOURS: '{num} {{uur|uren}}',
|
NUM_HOURS: '{num} {{uur|uren}}',
|
||||||
NUM_MINUTES: '{num} {{minuut|minuten}}',
|
NUM_MINUTES: '{num} {{minuut|minuten}}',
|
||||||
APPLICATION_SETTINGS: 'Applicatieinstellingen',
|
APPLICATION: 'Applicatie',
|
||||||
CUSTOMIZATIONS: 'Aanpassingen van entiteiten',
|
CUSTOMIZATIONS: 'Aanpassingen van entiteiten',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP herstarten',
|
APPLICATION_RESTARTING: 'EMS-ESP herstarten',
|
||||||
INTERFACE_BOARD_PROFILE: 'Interface Apparaatprofiel',
|
INTERFACE_BOARD_PROFILE: 'Interface Apparaatprofiel',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const no: Translation = {
|
|||||||
NUM_SECONDS: '{num} Sekund{{er}}',
|
NUM_SECONDS: '{num} Sekund{{er}}',
|
||||||
NUM_HOURS: '{num} Time{{r}}',
|
NUM_HOURS: '{num} Time{{r}}',
|
||||||
NUM_MINUTES: '{num} Minutt{{er}}',
|
NUM_MINUTES: '{num} Minutt{{er}}',
|
||||||
APPLICATION_SETTINGS: 'Innstillinger',
|
APPLICATION: 'Søknad',
|
||||||
CUSTOMIZATIONS: 'Tilpasninger',
|
CUSTOMIZATIONS: 'Tilpasninger',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP restarter',
|
APPLICATION_RESTARTING: 'EMS-ESP restarter',
|
||||||
INTERFACE_BOARD_PROFILE: 'Interface Prosessor Profil',
|
INTERFACE_BOARD_PROFILE: 'Interface Prosessor Profil',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const pl: BaseTranslation = {
|
|||||||
NUM_SECONDS: '{num} sekun{{d|da|dy|dy|d}}',
|
NUM_SECONDS: '{num} sekun{{d|da|dy|dy|d}}',
|
||||||
NUM_HOURS: '{num} godzi{{n|na|ny|ny|n}}',
|
NUM_HOURS: '{num} godzi{{n|na|ny|ny|n}}',
|
||||||
NUM_MINUTES: '{num} minu{{t|ta|ty|ty|t}}',
|
NUM_MINUTES: '{num} minu{{t|ta|ty|ty|t}}',
|
||||||
APPLICATION_SETTINGS: 'Ustawienia aplikacji',
|
APPLICATION: 'Aplikacji',
|
||||||
CUSTOMIZATIONS: 'Personalizacja',
|
CUSTOMIZATIONS: 'Personalizacja',
|
||||||
APPLICATION_RESTARTING: 'Trwa ponowne uruchamianie',
|
APPLICATION_RESTARTING: 'Trwa ponowne uruchamianie',
|
||||||
INTERFACE_BOARD_PROFILE: 'Profil płytki interfejsu',
|
INTERFACE_BOARD_PROFILE: 'Profil płytki interfejsu',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const sk: Translation = {
|
|||||||
NUM_SECONDS: '{num} sek{{únd|unda|undy|undy|únd|únd}}',
|
NUM_SECONDS: '{num} sek{{únd|unda|undy|undy|únd|únd}}',
|
||||||
NUM_HOURS: '{num} hod{{ín|ina|iny|iny|ín|ín}}',
|
NUM_HOURS: '{num} hod{{ín|ina|iny|iny|ín|ín}}',
|
||||||
NUM_MINUTES: '{num} minú{{t|ta|ty|ty|t|t}}',
|
NUM_MINUTES: '{num} minú{{t|ta|ty|ty|t|t}}',
|
||||||
APPLICATION_SETTINGS: 'Nastavenia aplikácie',
|
APPLICATION: 'Aplikácie',
|
||||||
CUSTOMIZATIONS: 'Prispôsobenia',
|
CUSTOMIZATIONS: 'Prispôsobenia',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP sa reštartuje',
|
APPLICATION_RESTARTING: 'EMS-ESP sa reštartuje',
|
||||||
INTERFACE_BOARD_PROFILE: 'Profil dosky rozhrania',
|
INTERFACE_BOARD_PROFILE: 'Profil dosky rozhrania',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const sv: Translation = {
|
|||||||
NUM_SECONDS: '{num} sekund{{er}}',
|
NUM_SECONDS: '{num} sekund{{er}}',
|
||||||
NUM_HOURS: '{num} timmar',
|
NUM_HOURS: '{num} timmar',
|
||||||
NUM_MINUTES: '{num} minut{{er}}',
|
NUM_MINUTES: '{num} minut{{er}}',
|
||||||
APPLICATION_SETTINGS: 'Inställningar',
|
APPLICATION: 'Apliká',
|
||||||
CUSTOMIZATIONS: 'Anpassningr',
|
CUSTOMIZATIONS: 'Anpassningr',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP startar om',
|
APPLICATION_RESTARTING: 'EMS-ESP startar om',
|
||||||
INTERFACE_BOARD_PROFILE: 'Interface Hårdvaruprofil',
|
INTERFACE_BOARD_PROFILE: 'Interface Hårdvaruprofil',
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const tr: Translation = {
|
|||||||
NUM_SECONDS: '{num} saniye{{ler}}',
|
NUM_SECONDS: '{num} saniye{{ler}}',
|
||||||
NUM_HOURS: '{num} saat{{ler}}',
|
NUM_HOURS: '{num} saat{{ler}}',
|
||||||
NUM_MINUTES: '{num} dakika{{lar}}',
|
NUM_MINUTES: '{num} dakika{{lar}}',
|
||||||
APPLICATION_SETTINGS: 'Uygulama Ayarları',
|
APPLICATION: 'Uygulama',
|
||||||
CUSTOMIZATIONS: 'Özelleştirme',
|
CUSTOMIZATIONS: 'Özelleştirme',
|
||||||
APPLICATION_RESTARTING: 'EMS-ESP yeniden başlatılıyor',
|
APPLICATION_RESTARTING: 'EMS-ESP yeniden başlatılıyor',
|
||||||
INTERFACE_BOARD_PROFILE: 'Arabirim Kart Profili',
|
INTERFACE_BOARD_PROFILE: 'Arabirim Kart Profili',
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ const ApplicationSettings: FC = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
useLayoutTitle(LL.APPLICATION_SETTINGS());
|
useLayoutTitle(LL.APPLICATION());
|
||||||
|
|
||||||
const content = () => {
|
const content = () => {
|
||||||
if (!data) {
|
if (!data) {
|
||||||
|
|||||||
@@ -26,10 +26,11 @@ default_envs = esp32_4M
|
|||||||
[env]
|
[env]
|
||||||
; upload settings
|
; upload settings
|
||||||
upload_protocol = custom
|
upload_protocol = custom
|
||||||
custom_emsesp_ip = 10.10.10.173
|
custom_emsesp_ip = ems-esp.local
|
||||||
custom_username = admin
|
custom_username = admin
|
||||||
custom_password = admin
|
custom_password = admin
|
||||||
upload_port = /dev/ttyUSB*
|
upload_port = /dev/ttyUSB*
|
||||||
|
; upload_port = COM5
|
||||||
|
|
||||||
[env:esp32_4M]
|
[env:esp32_4M]
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
|
|||||||
Reference in New Issue
Block a user