Skip to content
Permalink
Browse files

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 <alistair@heyal.co.uk>
  • Loading branch information
Waterdrips authored and alexellis committed Nov 20, 2019
1 parent d4d832d commit 2f683ba2369e52a1046fcdb73eaf019d49237c8a
Showing with 6 additions and 0 deletions.
  1. +5 −0 gateway/assets/index.html
  2. +1 −0 gateway/assets/script/bootstrap.js
@@ -126,6 +126,11 @@ <h1 style="flex: 1 1 auto;"><img src="img/logo-text.svg" class="md-logo"></h1>
<label>Invocation count</label>
<input ng-model="function.invocationCount" type="text" readonly="readonly">
</md-input-container>

<md-input-container class="md-block" flex-gt-sm>
<label>Namespace</label>
<input ng-model="function.namespace" type="text" readonly="readonly">
</md-input-container>
</div>

<div layout-gt-sm="row">
@@ -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;
}
}
}

0 comments on commit 2f683ba

Please sign in to comment.
You can’t perform that action at this time.