| <div class="container" ng-controller="sensorController"> |
| <div class="row"> |
| <div class="col-md-12"> |
| <div class="box box-primary"> |
| <div class="box-header with-border"> |
| <h4>Summary |
| </h4> |
| <div class="pull-right"> |
| <select class="form-control show-tick" title="Rows on page" selectpicker ng-model="smartTablePageSize" ng-options="i for i in [5,10,25,50,100,500]"> |
| </select> |
| </div> |
| <div class="horizontal-scroll box-body"> </div> |
| |
| <table class="table table-striped system-status-table" st-table="smartTableData" st-safe-src="rowCollection"> |
| <thead> |
| <tr class="sortable "> |
| <th class="table-id" st-sort="id" st-sort-default="true">#</th> |
| <th st-sort="name">Name</th> |
| <th st-sort="value">Value</th> |
| </tr> |
| <tr> |
| <th></th> |
| <th><input st-search="name" placeholder="Search Name" class="input-sm form-control search-input" type="search" /></th> |
| <th><input st-search="value" placeholder="Search Value" class="input-sm form-control search-input" type="search" /></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr ng-repeat="item in smartTableData"> |
| <td class="table-id">{{item.id}}</td> |
| <td>{{item.name}}</td> |
| <td>{{item.value}}</td> |
| </tr> |
| </tbody> |
| <tfoot> |
| <tr> |
| <td colspan="6" class="text-center"> |
| <div st-pagination="" st-items-by-page="smartTablePageSize" st-displayed-pages="7"></div> |
| </td> |
| </tr> |
| </tfoot> |
| </table> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |