From 2f683ba2369e52a1046fcdb73eaf019d49237c8a Mon Sep 17 00:00:00 2001 From: Alistair Hey Date: Wed, 20 Nov 2019 08:41:30 +0000 Subject: [PATCH] Add Namespace indicator on Function page part of #1379 This is a precursor to adding a dropdown for namespaces selection (#1379) Signed-off-by: Alistair Hey --- gateway/assets/index.html | 5 +++++ gateway/assets/script/bootstrap.js | 1 + 2 files changed, 6 insertions(+) diff --git a/gateway/assets/index.html b/gateway/assets/index.html index 725ce5c6..8c1d0f29 100644 --- a/gateway/assets/index.html +++ b/gateway/assets/index.html @@ -126,6 +126,11 @@ + + + + +
diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js index 887c8209..1966b69d 100644 --- a/gateway/assets/script/bootstrap.js +++ b/gateway/assets/script/bootstrap.js @@ -225,6 +225,7 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$interval', '$f $scope.functions[i].image = response.data[j].image; $scope.functions[i].replicas = response.data[j].replicas; $scope.functions[i].invocationCount = response.data[j].invocationCount; + $scope.functions[i].namespace = response.data[j].namespace; } } }