m.view.html.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php include $app->getModuleRoot() . 'common/view/m.header.html.php';?>
  2. <section id='page' class='section list-with-actions list-with-pager'>
  3. <div class='heading gray'>
  4. <div class='title'>
  5. <strong><?php echo $lang->host->view;?></strong>
  6. </div>
  7. <nav class='nav'><a href="javascript:history.go(-1);" class='btn primary'><?php echo $lang->goback;?></a></nav>
  8. </div>
  9. <div class='box'>
  10. <table class="table bordered">
  11. <tr>
  12. <th class='w-110px'><?php echo $lang->host->name;?></th>
  13. <td><?php echo $host->name;?></td>
  14. </tr>
  15. <tr>
  16. <th><?php echo $lang->host->group;?></th>
  17. <td><?php echo zget($optionMenu, $host->group, '');?></td>
  18. </tr>
  19. <tr>
  20. <th><?php echo $lang->host->serverRoom;?></th>
  21. <td><?php echo zget($rooms, $host->serverRoom, "")?></td>
  22. </tr>
  23. <tr>
  24. <th><?php echo $lang->host->serverModel;?></th>
  25. <td><?php echo $host->serverModel;?></td>
  26. </tr>
  27. <tr>
  28. <th><?php echo $lang->host->hostType;?></th>
  29. <td><?php echo $lang->host->hostTypeList[$host->hostType];?></td>
  30. </tr>
  31. <tr>
  32. <th><?php echo $lang->host->cpuBrand;?></th>
  33. <td><?php echo $host->cpuBrand;?></td>
  34. </tr>
  35. <tr>
  36. <th><?php echo $lang->host->cpuModel;?></th>
  37. <td><?php echo $host->cpuModel;?></td>
  38. </tr>
  39. <tr>
  40. <th><?php echo $lang->host->cpuNumber;?></th>
  41. <td><?php echo $host->cpuNumber;?></td>
  42. </tr>
  43. <tr>
  44. <th><?php echo $lang->host->cpu;?></th>
  45. <td><?php echo $host->cpu;?></td>
  46. </tr>
  47. <tr>
  48. <th><?php echo $lang->host->memory;?></th>
  49. <td><?php if($host->memory) echo $host->memory . ' GB';?></td>
  50. </tr>
  51. <tr>
  52. <th><?php echo $lang->host->disk;?></th>
  53. <td><?php if($host->disk) echo $host->disk . ' GB';?></td>
  54. </tr>
  55. <tr>
  56. <th><?php echo $lang->host->intranet;?></th>
  57. <td><?php echo $host->intranet;?></td>
  58. </tr>
  59. <tr>
  60. <th><?php echo $lang->host->extranet;?></th>
  61. <td><?php echo $host->extranet;?></td>
  62. </tr>
  63. <tr>
  64. <th><?php echo $lang->host->osName;?></th>
  65. <td><?php echo $host->osName;?></td>
  66. </tr>
  67. <tr>
  68. <th><?php echo $lang->host->osVersion;?></th>
  69. <td><?php echo $lang->host->{$host->osName.'List'}[$host->osVersion];?>
  70. </tr>
  71. <tr>
  72. <th><?php echo $lang->host->status;?></th>
  73. <td><?php echo $lang->host->statusList[$host->status];?></td>
  74. </tr>
  75. </table>
  76. </div>
  77. <?php include $app->getModuleRoot() . 'common/view/m.action.html.php'?>
  78. </section>
  79. <?php include $app->getModuleRoot() . 'common/view/m.footer.html.php';?>