From 2f8bbbfe198087497c475029c573727e0711eb04 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Thu, 2 Jul 2020 10:58:21 -0700 Subject: Add server LED switch calls to Overview page The Overview page currently shows a static Server LED switch. It does not accurately display the IndicatorLED state. This commit will add ability to toggle the IndicatorLED value and accurately displays the current value. Signed-off-by: Yoshie Muranaka Change-Id: I4fc9b18a0c87db421dfa73e51ecc472d0907d323 --- src/views/Overview/OverviewQuickLinks.vue | 36 ++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/views/Overview/OverviewQuickLinks.vue b/src/views/Overview/OverviewQuickLinks.vue index b964795b..5dd71ee2 100644 --- a/src/views/Overview/OverviewQuickLinks.vue +++ b/src/views/Overview/OverviewQuickLinks.vue @@ -10,7 +10,6 @@
-
{{ $t('pageOverview.quicklinks.serverLed') }}
@@ -19,8 +18,13 @@ data-test-id="overviewQuickLinks-checkbox-serverLed" name="check-button" switch + value="Lit" + unchecked-value="Off" + @change="onChangeServerLed" > - {{ $t('global.status.on') }} + + {{ $t('global.status.on') }} + {{ $t('global.status.off') }}
@@ -53,26 +57,42 @@ -- cgit v1.2.3