From 5e7aa9bbc739e471125b6d29afe872790e803b61 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 17 Apr 2021 22:59:42 +0300 Subject: [PATCH] MAC --- public/locales/en/translations.json | 1 + public/locales/ro/translations.json | 1 + src/features/machines/components/Machine.js | 1 + src/features/machines/components/MachinesList.js | 1 + src/features/network/components/NetworkContainer.js | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/locales/en/translations.json b/public/locales/en/translations.json index ece7770..1d8cac9 100644 --- a/public/locales/en/translations.json +++ b/public/locales/en/translations.json @@ -32,6 +32,7 @@ "FullName": "Full machine name", "Name": "Machine name", "IP": "IP", + "MAC": "MAC address", "Actions": { "Wake": "Wake", "Ping": "Ping" diff --git a/public/locales/ro/translations.json b/public/locales/ro/translations.json index b81e299..feaf754 100644 --- a/public/locales/ro/translations.json +++ b/public/locales/ro/translations.json @@ -23,6 +23,7 @@ "FullName": "Nume intreg masina", "Name": "Nume masina", "IP": "IP", + "MAC": "Adresa MAC", "Actions": { "Wake": "Pornește", "Ping": "Ping" diff --git a/src/features/machines/components/Machine.js b/src/features/machines/components/Machine.js index e1cfff2..894cf50 100644 --- a/src/features/machines/components/Machine.js +++ b/src/features/machines/components/Machine.js @@ -40,6 +40,7 @@ const Machine = ({ machine, actions, logs }) => { {machine.machineName} {machine.iPv4Address} + {machine.macAddress} <> {actions.map(action => ( diff --git a/src/features/machines/components/MachinesList.js b/src/features/machines/components/MachinesList.js index 1d5b608..82aab66 100644 --- a/src/features/machines/components/MachinesList.js +++ b/src/features/machines/components/MachinesList.js @@ -23,6 +23,7 @@ const MachinesList = ({ dense, machines }) => { {t("Machine.FullName")} {t("Machine.Name")} {t("Machine.IP")} + {t("Machine.MAC")} diff --git a/src/features/network/components/NetworkContainer.js b/src/features/network/components/NetworkContainer.js index b0fc2c6..fa861b4 100644 --- a/src/features/network/components/NetworkContainer.js +++ b/src/features/network/components/NetworkContainer.js @@ -12,7 +12,7 @@ const NetworkContainer = () => { return (
- + {/* */}
); };