From 48d305104cc2fdc7aa02338ba9cd978ec065a037 Mon Sep 17 00:00:00 2001 From: mabasian <54101509+mabasian@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:11:01 +0200 Subject: [PATCH] ADD: Ram widget to the new control page --- launcher/public/output.css | 21 +++ .../components/widgets/TheNetwork.vue | 2 +- .../components/widgets/TheRam.vue | 29 ++++ .../control-page/sections/CommonSidebar.vue | 3 +- .../UI/the-control/ControlDashboard.vue | 2 +- .../src/components/UI/the-control/TheRam.vue | 124 ------------------ 6 files changed, 54 insertions(+), 127 deletions(-) create mode 100755 launcher/src/components/UI/control-page/components/widgets/TheRam.vue delete mode 100755 launcher/src/components/UI/the-control/TheRam.vue diff --git a/launcher/public/output.css b/launcher/public/output.css index d22404f8cd..b3cc1de1ee 100755 --- a/launcher/public/output.css +++ b/launcher/public/output.css @@ -4172,6 +4172,11 @@ video { background-color: rgb(63 63 70 / var(--tw-bg-opacity)); } +.bg-red-400{ + --tw-bg-opacity: 1; + background-color: rgb(248 113 113 / var(--tw-bg-opacity)); +} + .bg-opacity-80{ --tw-bg-opacity: 0.8; } @@ -4551,6 +4556,18 @@ video { font-size: 50%; } +.text-\[80\%\]{ + font-size: 80%; +} + +.text-\[90\%\]{ + font-size: 90%; +} + +.text-\[100\%\]{ + font-size: 100%; +} + .font-\[400\]{ font-weight: 400; } @@ -4579,6 +4596,10 @@ video { font-weight: 600; } +.font-thin{ + font-weight: 100; +} + .uppercase{ text-transform: uppercase; } diff --git a/launcher/src/components/UI/control-page/components/widgets/TheNetwork.vue b/launcher/src/components/UI/control-page/components/widgets/TheNetwork.vue index af797ac9df..5b221714d8 100755 --- a/launcher/src/components/UI/control-page/components/widgets/TheNetwork.vue +++ b/launcher/src/components/UI/control-page/components/widgets/TheNetwork.vue @@ -1,6 +1,6 @@ @@ -12,4 +12,5 @@ diff --git a/launcher/src/components/UI/the-control/ControlDashboard.vue b/launcher/src/components/UI/the-control/ControlDashboard.vue index ee01756600..eb6e16f10c 100755 --- a/launcher/src/components/UI/the-control/ControlDashboard.vue +++ b/launcher/src/components/UI/the-control/ControlDashboard.vue @@ -68,7 +68,7 @@ import TheHard from "./TheHard.vue"; import MachineName from "./MachineName.vue"; import DashboardCard from "./DashboardCard.vue"; import AmsterdamComponent from "./AmsterdamComponent.vue"; -import TheRam from "./TheRam.vue"; +import TheRam from "../control-page/components/widgets/TheRam.vue"; import PeerToPeer from "./PeerToPeer.vue"; import TheNetwork from "./TheNetwork.vue"; import TheBalance from "./TheBalance"; diff --git a/launcher/src/components/UI/the-control/TheRam.vue b/launcher/src/components/UI/the-control/TheRam.vue deleted file mode 100755 index 022ca3a6f5..0000000000 --- a/launcher/src/components/UI/the-control/TheRam.vue +++ /dev/null @@ -1,124 +0,0 @@ - - - -