diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-04 18:09:49 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-04 18:09:49 +0800 |
commit | 0407b0b692f40551d85b31a82e3c4d5d59fef782 (patch) | |
tree | 518b3b44bf8ad2b4df24b6dff54a7211d3e2bc22 /utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html | |
parent | a137b9d89ae9e982e5edd33670c040fc4d8603c7 (diff) |
hide create_pod function from anonymous user
Querying pods is open to everybody
But only login users are allowed to create the new pod
Change-Id: I1c722580c2c51a8a8b0f84f1ffac451dff20b086
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html')
-rw-r--r-- | utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html b/utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html index 7ce36ca7c..e366670a9 100644 --- a/utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html +++ b/utils/test/testapi/3rd_party/static/testapi-ui/components/pods/pods.html @@ -1,8 +1,12 @@ -<h3>{{ctrl.pageHeader}}</h3> -<p>{{ctrl.pageParagraph}}</p> +<h3>Pods</h3> +<p>This page is used to create or query pods.<br> + Querying pods is open to everybody.<br> + But only login users are granted the privilege to create the new pod. +</p> + <div class="row" style="margin-bottom:24px;"></div> -<div class="pod-create"> +<div class="pod-create" ng-class="{ 'hidden': ! auth.isAuthenticated }"> <h4>Create</h4> <div class="row"> <div ng-repeat="require in ctrl.createRequirements"> |