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