I am working on a navbar that uses Bootstrap 3 and AngularJS. Within this navbar, I have an unordered list with li elements. Below is a snippet of my navbar:
https://i.stack.imgur.com/o75Lp.png
This is the code for my navbar:
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a ng-click="reloadPage()" class="navbar-brand" href="/"><img style="margin-top: -15px;" width="192"
height="49" src="packages/img/logo-trans.jpg"</a>
<ul class="nav navbar-nav">
<li class=""><a target="_self" ng-click="openTabs()" style="cursor: pointer;">DRAFT: Opened <span
class="badge"><% tabService.tabs.length %></span></a></li>
<li class=""><a target="_self" ng-click="test()" style="cursor: pointer;">LEADS: New <span
class="badge">0</span></a></li>
<li class="" ng-show="!htLoading"><a target="_self">AHT: <% htValues.aht | secondsToDateTime %></a></li>
<li ng-show="htLoading">
<img width="25" height="25" src="/packages/img/loader_white.svg" style="margin-top: 13px;"/>
</li>
<li class="" ng-show="!htLoading"><a target="_self">EHT: <% htValues.eht | secondsToDateTime %> </a>
</li>
<li ng-show="htLoading" >
<img width="25" height="25" src="/packages/img/loader_white.svg" style="margin-top: 13px;"/>
</li>
<li class="" ng-show="!htLoading"><a target="_self">ABuffer: <% htValues.buffer | secondsToDateTime
%></a></li>
<li ng-show="htLoading">
<img width="25" height="25" src="/packages/img/loader_white.svg" style="margin-top: 13px;"/>
</li>
</ul>
</div>
Currently, when the data for AHT, EHT, and ABuffer are not loaded yet, glyphicons appear using the "htLoading" directive in AngularJS. However, they are not centered within each list element like I would prefer. How can I achieve centering these loaders? Is it feasible?