labelstatus.tpl 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <div class="col-xl-12">
  2. <div class="card-box">
  3. <div class="dropdown pull-right">
  4. <a href="#" class="dropdown-toggle arrow-none card-drop" data-toggle="dropdown" aria-expanded="false">
  5. <i class="mdi mdi-dots-vertical"></i>
  6. </a>
  7. <div class="dropdown-menu dropdown-menu-right">
  8. <!-- item-->
  9. <a href="javascript:void(0);" class="dropdown-item">Refresh Status</a>
  10. <!-- item-->
  11. <a href="javascript:void(0);" class="dropdown-item">Delete All</a>
  12. <!-- item-->
  13. <a href="javascript:void(0);" class="dropdown-item">Blink All</a>
  14. <!-- item-->
  15. <a href="javascript:void(0);" class="dropdown-item">Unbind All</a>
  16. </div>
  17. </div>
  18. <h4 class="header-title mt-0 m-b-30">ESL Status</h4>
  19. <div class="table-responsive">
  20. <table id="datatable" class="table table-bordered mb-0">
  21. <thead>
  22. <tr>
  23. <th>Label ID</th>
  24. <th>Status</th>
  25. <th>Template</th>
  26. <th>Device Name</th>
  27. <th>DT type</th>
  28. <th>Leds Count</th>
  29. <th>rssi</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <repeat group="{{@ESL_STATUS}}" key="{{@LABEL_ID}}" value="{{@STATUS}}">
  34. <tr>
  35. <td><span class="text-white font-weight-bold">{{@LABEL_ID}}</span></td>
  36. <td><span class="badge badge-{{@STATUS_BADGE_COLOR[@STATUS['data']['esl_state']]}}">{{@STATUS['data']['esl_state']}}</span></td>
  37. <td>[{{@STATUS['data']['template_id']}}] {{@STATUS['data']['template_name']}}</td>
  38. <td>{{@STATUS['data']['devicename']}}</td>
  39. <td>{{@STATUS['data']['devtype_id']}}</td>
  40. <td>{{@STATUS['data']['led']}}</td>
  41. <td><span class="text-danger">{{@STATUS['status']['rssi']}}</span></td>
  42. </tr>
  43. </repeat>
  44. </tbody>
  45. </table>
  46. </div>
  47. </div>
  48. </div>
  49. <!-- end col -->