Skip to content
Permalink
Browse files

added loading bar

  • Loading branch information...
SangeetAgarwal committed Oct 26, 2014
1 parent 47c22bb commit fe7510ae693e82eccf1670b00b0e35d96fd05dbe
Showing with 40 additions and 40 deletions.
  1. +1 −1 NgWebApiGrid.Web/app/simpleGrid/student.js
  2. +39 −39 NgWebApiGrid.Web/app/simpleGrid/students.tpl.html
@@ -1,4 +1,4 @@
angular.module('ngWebApiGrid.student', ['ngRoute', 'ui.bootstrap'])
angular.module('ngWebApiGrid.student', ['ngRoute', 'ui.bootstrap', 'chieffancypants.loadingBar'])
.config(["$routeProvider", function($routeProvider) {
$routeProvider.when("/", {
controller: "studentCtrl",
@@ -1,45 +1,45 @@
<div class="row top-buffer">
<table class="table table-bordered table-striped table-responsive">
<thead>
<tr>
<th>
</th>
<th>
</th>
<th>
</th>
<th>
Last Name
</th>
<th>
First Name
</th>
<th>
Date of Enrollment
</th>
<table class="table table-bordered table-striped table-responsive">
<thead>
<tr>
<th>
</th>
<th>
</th>
<th>
</th>
<th>
Last Name
</th>
<th>
First Name
</th>
<th>
Date of Enrollment
</th>

</tr>
</thead>
<tbody data-ng-repeat="i in data">
<tr>
<td></td>
<td></td>
<td></td>
<td>
<textarea class="form-control" style="width: 300px;height: 65px" ng-model="i.lastName"></textarea>
</td>
<td>
<textarea class="form-control" style="width: 300px;height: 65px" ng-model="i.firstMidName"></textarea>
</td>
<td>
<input type="text" class="form-control" style="width: 150px;height: 65px" ng-model="i.enrollmentDate" />
</td>
</tr>
</tr>
</thead>
<tbody data-ng-repeat="i in data">
<tr>
<td></td>
<td></td>
<td></td>
<td>
<textarea class="form-control" style="width: 300px;height: 65px" ng-model="i.lastName"></textarea>
</td>
<td>
<textarea class="form-control" style="width: 300px;height: 65px" ng-model="i.firstMidName"></textarea>
</td>
<td>
<input type="text" class="form-control" style="width: 150px;height: 65px" ng-model="i.enrollmentDate" />
</td>
</tr>

</tbody>
</table>
<pagination data-total-items="totalItems" ng-model="currentPage" data-max-size="NumberOfPageButtons" class=" pagination-sm" data-boundary-links="true" data-rotate="false" ng-change="pageChanged()" data-items-per-page="recordsPerPage"></pagination>
</tbody>
</table>

<span data-pagination data-total-items="totalItems" data-ng-model="currentPage" data-max-size="NumberOfPageButtons" class=" pagination-sm" data-boundary-links="true" data-rotate="false" data-ng-change="pageChanged()" data-items-per-page="recordsPerPage"></span>


</div>

0 comments on commit fe7510a

Please sign in to comment.
You can’t perform that action at this time.