From 78be029ea6ad07d7b2a0e31f702331886e54e7cc Mon Sep 17 00:00:00 2001 From: Alex Santos Date: Mon, 13 Jun 2022 09:14:43 -0300 Subject: [PATCH] update notification, faq, telemetria --- .../administrativeTables/ClientsTable.tsx | 2 +- src/components/sidebar/Sidebar.tsx | 2 +- src/pages/administrative/faq/index.tsx | 4 +-- .../administrative/notification/index.tsx | 28 ++++++++------- src/pages/telemetria.tsx | 36 ++++++++++--------- src/styles/layouts/clients/ClientsView.ts | 1 + 6 files changed, 41 insertions(+), 32 deletions(-) diff --git a/src/components/administrativeTables/ClientsTable.tsx b/src/components/administrativeTables/ClientsTable.tsx index 6cea371..748e87e 100644 --- a/src/components/administrativeTables/ClientsTable.tsx +++ b/src/components/administrativeTables/ClientsTable.tsx @@ -293,7 +293,7 @@ export default function ClientTable() { Unidade - {row.clientCode} {row.name} - {row.unity} + {row.unity}button {row.status} ); diff --git a/src/components/sidebar/Sidebar.tsx b/src/components/sidebar/Sidebar.tsx index 97fcc8d..d6e31fb 100644 --- a/src/components/sidebar/Sidebar.tsx +++ b/src/components/sidebar/Sidebar.tsx @@ -35,7 +35,7 @@ export default function Sidebar() { const router = useRouter() const user = { - role: 'admin' + role: 'client' } useEffect(() => { diff --git a/src/pages/administrative/faq/index.tsx b/src/pages/administrative/faq/index.tsx index 05c0084..bc66f58 100644 --- a/src/pages/administrative/faq/index.tsx +++ b/src/pages/administrative/faq/index.tsx @@ -59,8 +59,8 @@ export default function Sidebar() {
- - + +
+ - Smart Energia - FAQ + Smart Energia - Notificações -
- -
+ +
+ + + + +
- - + +
- - - - + - + + ) diff --git a/src/pages/telemetria.tsx b/src/pages/telemetria.tsx index eb351f6..c20530f 100644 --- a/src/pages/telemetria.tsx +++ b/src/pages/telemetria.tsx @@ -56,12 +56,14 @@ export default function Telemetria() { fullWidth > - None + Nenhum - 07/09/2021 - Filial 3 - Twenty - Thirty + + Unidade 1 + Unidade 2 + Unidade 3 + Unidade 4 + Unidade 5 @@ -79,12 +81,13 @@ export default function Telemetria() { fullWidth > - None + Nenhum - 07/09/2021 - Filial 3 - Twenty - Thirty + 20/05/2022 + 10/06/2022 + 05/06/2021 + 05/06/2021 + 05/06/2021 @@ -102,12 +105,13 @@ export default function Telemetria() { fullWidth > - None + Nenhum - 07/09/2021 - Filial 3 - Twenty - Thirty + 20/05/2022 + 10/06/2022 + 05/06/2021 + 05/06/2021 + 05/06/2021 @@ -125,7 +129,7 @@ export default function Telemetria() { fullWidth > - None + Nenhum 07/09/2021 Filial 3 diff --git a/src/styles/layouts/clients/ClientsView.ts b/src/styles/layouts/clients/ClientsView.ts index 20d5674..63f98aa 100644 --- a/src/styles/layouts/clients/ClientsView.ts +++ b/src/styles/layouts/clients/ClientsView.ts @@ -40,6 +40,7 @@ export const ClientsView = styled.main` } .buttons{ display: flex; + margin-top: 40px; } `