Commit b5eaf350 by dileep8014

Update search.html

made changes for loading spinner
parent 7fa04b10
...@@ -33,9 +33,12 @@ ...@@ -33,9 +33,12 @@
</div> </div>
<div class="row mt10px"> <div class="row mt10px">
<div class="col-lg-3" data-ng-include="'/modules/navigation/views/navigation.html'"></div> <div class="col-lg-3" data-ng-include="'/modules/navigation/views/navigation.html'"></div>
<div class="col-lg-9" ng-show='resultCount > 0'> <div class="col-lg-9">
<h4 ng-show="searchMessage">{{searchMessage}}</h4> <div ng-switch on="searchMessage">
<ul class="list-unstyled"> <div ng-switch-when="load-gif" class="search-spinner"><img src="../img/spinner.gif" align="middle" /></div>
<div ng-switch-default><h4 ng-show="searchMessage">{{searchMessage}}</h4></div>
</div>
<ul class="list-unstyled" ng-show='resultCount > 0'>
<li ng-repeat="result in filteredResults" class="searchresults"> <li ng-repeat="result in filteredResults" class="searchresults">
<h4><a data-ui-sref="details({id:result['$id$'].id || result.guid})">{{result.name || result.guid}}</a></h4> <h4><a data-ui-sref="details({id:result['$id$'].id || result.guid})">{{result.name || result.guid}}</a></h4>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment