Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 1 | <div class="container" ng-controller="sensorController"> |
| 2 | <div class="row"> |
Ed Tanous | 5fceeb4 | 2017-06-28 09:43:09 -0700 | [diff] [blame^] | 3 | <div class="col-md-12"> |
Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 4 | <div class="box box-primary"> |
| 5 | <div class="box-header with-border"> |
| 6 | <h4>Summary |
Ed Tanous | 5fceeb4 | 2017-06-28 09:43:09 -0700 | [diff] [blame^] | 7 | </h4> |
| 8 | <div class="pull-right"> |
| 9 | <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]"> |
| 10 | </select> |
| 11 | </div> |
| 12 | <div class="horizontal-scroll box-body"> </div> |
| 13 | |
| 14 | <table class="table table-striped system-status-table" st-table="smartTableData" st-safe-src="rowCollection"> |
Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 15 | <thead> |
Ed Tanous | 5fceeb4 | 2017-06-28 09:43:09 -0700 | [diff] [blame^] | 16 | <tr class="sortable "> |
| 17 | <th class="table-id" st-sort="id" st-sort-default="true">#</th> |
| 18 | <th st-sort="name">Name</th> |
| 19 | <th st-sort="value">Value</th> |
| 20 | </tr> |
Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 21 | <tr> |
Ed Tanous | 5fceeb4 | 2017-06-28 09:43:09 -0700 | [diff] [blame^] | 22 | <th></th> |
| 23 | <th><input st-search="name" placeholder="Search Name" class="input-sm form-control search-input" type="search" /></th> |
| 24 | <th><input st-search="value" placeholder="Search Value" class="input-sm form-control search-input" type="search" /></th> |
Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 25 | </tr> |
| 26 | </thead> |
| 27 | <tbody> |
Ed Tanous | 5fceeb4 | 2017-06-28 09:43:09 -0700 | [diff] [blame^] | 28 | <tr ng-repeat="item in smartTableData"> |
| 29 | <td class="table-id">{{item.id}}</td> |
| 30 | <td>{{item.name}}</td> |
| 31 | <td>{{item.value}}</td> |
Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 32 | </tr> |
| 33 | </tbody> |
Ed Tanous | 5fceeb4 | 2017-06-28 09:43:09 -0700 | [diff] [blame^] | 34 | <tfoot> |
| 35 | <tr> |
| 36 | <td colspan="6" class="text-center"> |
| 37 | <div st-pagination="" st-items-by-page="smartTablePageSize" st-displayed-pages="7"></div> |
| 38 | </td> |
| 39 | </tr> |
| 40 | </tfoot> |
Ed Tanous | cc5a37f | 2017-05-11 10:27:23 -0700 | [diff] [blame] | 41 | </table> |
| 42 | </div> |
| 43 | </div> |
| 44 | </div> |
| 45 | </div> |
| 46 | </div> |