Last active
March 27, 2017 16:58
-
-
Save itswadesh/bf667bca53ec5cd28e106714ced3c796 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-12" ng-show="customers.length > 0"> | |
<nav class= "navbar navbar-default" role= "navigation" > | |
<div class= "navbar-header" > | |
<a class="btn btn-lg btn-success" href="#/edit-customer/0"><i class="glyphicon glyphicon-plus"></i> Add new Customer</a> | |
</div> | |
</nav> | |
<table class="table table-striped table-bordered"> | |
<thead> | |
<th>Customer Name </th> | |
<th>Email </th> | |
<th>Address </th> | |
<th>City </th> | |
<th>Country </th> | |
<th>Action </th> | |
</thead> | |
<tbody> | |
<tr ng-repeat="data in customers"> | |
<td>{{data.customerName}}</td> | |
<td>{{data.email}}</td> | |
<td>{{data.address}}</td> | |
<td>{{data.city}}</td> | |
<td>{{data.country}}</td> | |
<td><a href="#/edit-customer/{{data.customerNumber}}" class="btn"> <i class="glyphicon glyphicon-edit"></i> Edit Customer</a></td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
<div class="col-md-12" ng-show="customers.length == 0"> | |
<div class="col-md-12"> | |
<h4>No customers found</h4> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment