summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-05-02 06:31:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-02 06:31:59 +0000
commitef273a817b74d66bfd73bb107f30cdd478961636 (patch)
tree618a384a9d4d983a7abeb3e86a7323b754a6fdf8 /testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html
parent81cdf537ac40e62125d995854aec201deeb37cf5 (diff)
parent6d1f00eb15ddf95a8b53a1b2260bfa23b1a81c31 (diff)
Merge "Add toast message support for testcases page"
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html')
-rw-r--r--testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html16
1 files changed, 6 insertions, 10 deletions
diff --git a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html
index 395db03..04baa9c 100644
--- a/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html
+++ b/testapi/opnfv_testapi/ui/components/projects/project/testCases/testCases.html
@@ -11,16 +11,12 @@
<i class="fa fa-plus"></i> Create</button>
</div>
</div>
- <div class='clo-md-12'>
- <div ng-show="testCasesCtrl.showError" class="alert alert-danger" role="alert">
- <span class="pull-right">&nbsp;{{testCasesCtrl.error}}</span>
- <span class="glyphicon glyphicon-exclamation-sign pull-right" aria-hidden="true" >Error:</span>
- </div>
- <div ng-show="testCasesCtrl.showSuccess" class="alert alert-success" role="alert">
- <span class="pull-right">&nbsp;{{testCasesCtrl.successMessage}}</span>
- <span class="glyphicon glyphicon-ok pull-right" aria-hidden="true"></span>
- </div>
- </div>
+ <div ng-class="{'show': testCasesCtrl.showError}" id="toast" class="error">
+ <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true" ></span>
+ {{testCasesCtrl.error}}</div>
+ <div ng-class="{'show': testCasesCtrl.showSuccess}" id="toast" class="success">
+ <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
+ {{testCasesCtrl.success}}</div>
<div class='clo-md-12' style="padding-right:0px">
<div class="table-responsive">
<table class="table table-bordered table-hover" ng-data="testCasesCtrl.data.testcases">