server-info-providers.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <div class="col-sm-9 col-md-10 col-sm-push-3 col-md-push-2">
  2. <h1>
  3. {{:: 'server-info' | translate}}
  4. <i id="serverInfoReload" class="pficon pficon-restart clickable" data-ng-click="serverInfoReload()"></i>
  5. </h1>
  6. <ul class="nav nav-tabs">
  7. <li><a href="#/server-info">{{:: 'info' | translate}}</a></li>
  8. <li class="active"><a href="#/server-info/providers">{{:: 'providers' | translate}}</a></li>
  9. </ul>
  10. <table class="table table-striped table-bordered">
  11. <thead>
  12. <tr>
  13. <th class="kc-table-actions" colspan="5">
  14. <div class="form-inline">
  15. <div class="form-group">
  16. <div class="input-group">
  17. <input type="text" placeholder="{{:: 'search.placeholder' | translate}}" data-ng-model="search" class="form-control search" onkeyup="if(event.keyCode == 13){$(this).next('I').click();}">
  18. </div>
  19. </div>
  20. </div>
  21. </th>
  22. </tr>
  23. <tr>
  24. <th width="20%">{{:: 'spi' | translate}}</th>
  25. <th>{{:: 'providers' | translate}}</th>
  26. </tr>
  27. </thead>
  28. <tbody>
  29. <tr data-ng-repeat="spi in (providers | filter:search)">
  30. <td>{{spi.name}}</td>
  31. <td>
  32. <div data-ng-repeat="(providerName, provider) in spi.providers">
  33. {{providerName}}
  34. <span ng-show="provider.operationalInfo">
  35. <button type="button" class="btn btn-default btn-xs" ng-click="collapseRep = !collapseRep">
  36. <span class="glyphicon glyphicon-plus" data-ng-show="!collapseRep"></span>
  37. <span class="glyphicon glyphicon-minus" data-ng-show="collapseRep"></span>
  38. </button>
  39. <table ng-show="collapseRep" class="table table-striped table-bordered" style="margin-top: 0px;">
  40. <tr ng-repeat="(key, value) in provider.operationalInfo">
  41. <td width="20%">{{key}}</td>
  42. <td>{{value}}</td>
  43. </tr>
  44. </table>
  45. </span>
  46. </div>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. </div>
  52. <kc-menu></kc-menu>