diff options
author | 2018-04-28 17:59:54 +0530 | |
---|---|---|
committer | 2018-04-28 17:59:54 +0530 | |
commit | a945303a8ec591afc7e90933e7ee4e160fa9bb68 (patch) | |
tree | 65ce9f293704aad9dadee5807b13395e893e45d4 /testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html | |
parent | 71c429c25f30660d436fef7b064553c266d4655a (diff) |
Add toast message support in senerios page
Change-Id: Ib499fe21ae85b2edc79ae7c5492d9f76449bb548
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html')
-rw-r--r-- | testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html b/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html index 4f0a580..d6d4257 100644 --- a/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html +++ b/testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html @@ -225,14 +225,10 @@ </div> </div> <div class="row" style="margin-bottom:24px;"></div> -<div class='clo-md-12'> - <div ng-show="ctrl.showError" class="alert alert-danger" role="alert"> - <span class="pull-right"> {{ctrl.error}}</span> - <span class="glyphicon glyphicon-exclamation-sign pull-right" aria-hidden="true" >Error:</span> - </div> - <div ng-show="ctrl.showSuccess" class="alert alert-success" role="alert"> - <span class="pull-right"> {{ctrl.success}}</span> - <span class="glyphicon glyphicon-ok pull-right" aria-hidden="true"></span> - </div> -</div> +<div ng-class="{'show': ctrl.showError}" id="toast" class="error"> + <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true" ></span> + {{ctrl.error}}</div> +<div ng-class="{'show': ctrl.showSuccess}" id="toast" class="success"> + <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> + {{ctrl.success}}</div> <div class="row" style="margin-bottom:24px;"></div>
\ No newline at end of file |