diff --git a/src/dashboards/HomePage.tsx b/src/dashboards/HomePage.tsx index 2525268..ef67911 100644 --- a/src/dashboards/HomePage.tsx +++ b/src/dashboards/HomePage.tsx @@ -54,48 +54,46 @@ export function HomePage() { return ( <> -
+
-
- logo -
- {t("Configuration Manager")} + logo
-
-
- -
-
-
+
+
+ +
+
+ -
-
- -
-
- -
-
- SetAimedConf(Number(e.target.value))} - onKeyDown={(e) => { - if (e.key === "Enter") { - if (aimedConf <= config.data.metadata.cfgNum) { - dispatch(push(`#conf/${aimedConf}`)); - } else - dispatch( - setError( - `Latest Config : ${config.data.metadata.cfgNum}` - ) - ); + } + ); } }} /> - +
+
+ +
+
+ +
+
+ SetAimedConf(Number(e.target.value))} + onKeyDown={(e) => { + if (e.key === "Enter") { if (aimedConf <= config.data.metadata.cfgNum) { dispatch(push(`#conf/${aimedConf}`)); } else @@ -161,73 +146,84 @@ export function HomePage() { `Latest Config : ${config.data.metadata.cfgNum}` ) ); - }} - > - {t("go")} - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
- {t("Latest conf info")} -
- {t("latest")} - - -
- {t("date")} - {createdDate.toLocaleString()}
- {t("author")} - {config.data.metadata.cfgAuthor}
- {t("authorIPAddress")} - {config.data.metadata.cfgAuthorIP}
-
+ } + }} + /> +
+
+
- {t("Latest conf stats")} - -
-
- {t("latestError")} {config.error.errorContent} + + + + + + + + + + + + + + + + + + + + + + + + +
+ {t("Latest conf info")} +
+ {t("latest")} + + +
+ {t("date")} + {createdDate.toLocaleString()}
+ {t("author")} + {config.data.metadata.cfgAuthor}
+ {t("authorIPAddress")} + {config.data.metadata.cfgAuthorIP}
+
+ {t("Latest conf stats")} + +
+
+ {t("latestError")} {config.error.errorContent} +