server-info.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 class="active"><a href="#/server-info">{{:: 'info' | translate}}</a></li>
  8. <li><a href="#/server-info/providers">{{:: 'providers' | translate}}</a></li>
  9. </ul>
  10. <table class="table table-striped table-bordered">
  11. <tr>
  12. <td width="20%">{{:: 'server-version' | translate}}</td>
  13. <td>{{serverInfo.systemInfo.version}}</td>
  14. </tr>
  15. <tr>
  16. <td>{{:: 'server-time' | translate}}</td>
  17. <td>{{serverInfo.systemInfo.serverTime}}</td>
  18. </tr>
  19. <tr>
  20. <td>{{:: 'server-uptime' | translate}}</td>
  21. <td>{{serverInfo.systemInfo.uptime}}</td>
  22. </tr>
  23. </table>
  24. <table class="table table-striped table-bordered">
  25. <legend>{{:: 'profile' | translate}}</legend>
  26. <tr>
  27. <td width="20%">{{:: 'server-profile' | translate}}</td>
  28. <td>{{serverInfo.profileInfo.name | capitalize}}</td>
  29. </tr>
  30. <tr data-ng-if="serverInfo.profileInfo.disabledFeatures.length > 0">
  31. <td width="20%">
  32. <span>{{:: 'server-disabled' | translate}}</span>
  33. <kc-tooltip>{{:: 'server-disabled.tooltip' | translate}}</kc-tooltip>
  34. </td>
  35. <td>{{serverInfo.profileInfo.disabledFeatures.sort().join(', ')}}</td>
  36. </tr>
  37. <tr data-ng-if="serverInfo.profileInfo.previewFeatures.length > 0">
  38. <td width="20%">
  39. <span>{{:: 'server-preview' | translate}}</span>
  40. <kc-tooltip>{{:: 'server-preview.tooltip' | translate}}</kc-tooltip>
  41. </td>
  42. <td>{{serverInfo.profileInfo.previewFeatures.sort().join(', ')}}</td>
  43. </tr>
  44. <tr data-ng-if="serverInfo.profileInfo.experimentalFeatures.length > 0">
  45. <td width="20%">
  46. <span>{{:: 'server-experimental' | translate}}</span>
  47. <kc-tooltip>{{:: 'server-experimental.tooltip' | translate}}</kc-tooltip>
  48. </td>
  49. <td>{{serverInfo.profileInfo.experimentalFeatures.sort().join(', ')}}</td>
  50. </tr>
  51. </table>
  52. <fieldset>
  53. <legend>{{:: 'memory' | translate}}</legend>
  54. <table class="table table-striped table-bordered" style="margin-top: 0;">
  55. <tr>
  56. <td width="20%">{{:: 'total-memory' | translate}}</td>
  57. <td>{{serverInfo.memoryInfo.totalFormated}}</td>
  58. </tr>
  59. <tr>
  60. <td>{{:: 'free-memory' | translate}}</td>
  61. <td>{{serverInfo.memoryInfo.freeFormated}} ({{serverInfo.memoryInfo.freePercentage}}%)</td>
  62. </tr>
  63. <tr>
  64. <td>{{:: 'used-memory' | translate}}</td>
  65. <td>{{serverInfo.memoryInfo.usedFormated}}</td>
  66. </tr>
  67. </table>
  68. </fieldset>
  69. <fieldset>
  70. <legend>{{:: 'system' | translate}}</legend>
  71. <table class="table table-striped table-bordered" style="margin-top: 0;">
  72. <tr>
  73. <td width="20%">{{:: 'current-working-directory' | translate}}</td>
  74. <td>{{serverInfo.systemInfo.userDir}}</td>
  75. </tr>
  76. <tr>
  77. <td>{{:: 'java-version' | translate}}</td>
  78. <td>{{serverInfo.systemInfo.javaVersion}}</td>
  79. </tr>
  80. <tr>
  81. <td>{{:: 'java-vendor' | translate}}</td>
  82. <td>{{serverInfo.systemInfo.javaVendor}}</td>
  83. </tr>
  84. <tr>
  85. <td>{{:: 'java-runtime' | translate}}</td>
  86. <td>{{serverInfo.systemInfo.javaRuntime}}</td>
  87. </tr>
  88. <tr>
  89. <td>{{:: 'java-vm' | translate}}</td>
  90. <td>{{serverInfo.systemInfo.javaVm}}</td>
  91. </tr>
  92. <tr>
  93. <td>{{:: 'java-vm-version' | translate}}</td>
  94. <td>{{serverInfo.systemInfo.javaVmVersion}}</td>
  95. </tr>
  96. <tr>
  97. <td>{{:: 'java-home' | translate}}</td>
  98. <td>{{serverInfo.systemInfo.javaHome}}</td>
  99. </tr>
  100. <tr>
  101. <td>{{:: 'user-name' | translate}}</td>
  102. <td>{{serverInfo.systemInfo.userName}}</td>
  103. </tr>
  104. <tr>
  105. <td>{{:: 'user-timezone' | translate}}</td>
  106. <td>{{serverInfo.systemInfo.userTimezone}}</td>
  107. </tr>
  108. <tr>
  109. <td>{{:: 'user-locale' | translate}}</td>
  110. <td>{{serverInfo.systemInfo.userLocale}}</td>
  111. </tr>
  112. <tr>
  113. <td>{{:: 'system-encoding' | translate}}</td>
  114. <td>{{serverInfo.systemInfo.fileEncoding}}</td>
  115. </tr>
  116. <tr>
  117. <td>{{:: 'operating-system' | translate}}</td>
  118. <td>{{serverInfo.systemInfo.osName}} {{serverInfo.systemInfo.osVersion}}</td>
  119. </tr>
  120. <tr>
  121. <td>{{:: 'os-architecture' | translate}}</td>
  122. <td>{{serverInfo.systemInfo.osArchitecture}}</td>
  123. </tr>
  124. </table>
  125. </fieldset>
  126. </div>
  127. <kc-menu></kc-menu>