mirror of
https://github.com/openfaas/faas.git
synced 2025-06-11 17:56:47 +00:00
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>
This commit is contained in:
parent
d4d832db4c
commit
2f683ba236
@ -126,6 +126,11 @@
|
|||||||
<label>Invocation count</label>
|
<label>Invocation count</label>
|
||||||
<input ng-model="function.invocationCount" type="text" readonly="readonly">
|
<input ng-model="function.invocationCount" type="text" readonly="readonly">
|
||||||
</md-input-container>
|
</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>
|
||||||
|
|
||||||
<div layout-gt-sm="row">
|
<div layout-gt-sm="row">
|
||||||
|
1
gateway/assets/script/bootstrap.js
vendored
1
gateway/assets/script/bootstrap.js
vendored
@ -225,6 +225,7 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$interval', '$f
|
|||||||
$scope.functions[i].image = response.data[j].image;
|
$scope.functions[i].image = response.data[j].image;
|
||||||
$scope.functions[i].replicas = response.data[j].replicas;
|
$scope.functions[i].replicas = response.data[j].replicas;
|
||||||
$scope.functions[i].invocationCount = response.data[j].invocationCount;
|
$scope.functions[i].invocationCount = response.data[j].invocationCount;
|
||||||
|
$scope.functions[i].namespace = response.data[j].namespace;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user