ServerHardwareMonitoringIndex.cshtml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. 
  2. @{
  3. ViewBag.Title = "ServerHardwareMonitoringIndex";
  4. Layout = "~/Views/Shared/_MainLayoutPage.cshtml";
  5. }
  6. <style>
  7. #p .datagrid-cell {
  8. padding: 0 !important;
  9. }
  10. .Serious {
  11. width: 100px;
  12. text-align: center;
  13. line-height: 32px;
  14. background-color: #d54c55;
  15. }
  16. .Warning {
  17. width: 100px;
  18. text-align: center;
  19. line-height: 32px;
  20. background-color: #d9d97b;
  21. }
  22. .Normal {
  23. width: 100px;
  24. text-align: center;
  25. line-height: 32px;
  26. background-color: #63b563;
  27. }
  28. .myChart {
  29. width: 33%;
  30. height: 400px;
  31. margin-left: 2px;
  32. }
  33. </style>
  34. <div class="easyui-panel">
  35. <div id="Channeltb">
  36. <input id="userAccount" class="easyui-searchbox" data-options="prompt:'支持渠道,项目,负责人,服务类型',searcher:Enter_Submit" style="width:300px" />
  37. <a href="#" id="CustomAlerts-select" class="easyui-linkbutton">查询</a>
  38. </div>
  39. <div id="p" class="easyui-panel" data-options="fit:true,border:false">
  40. <table id="treegrid" data-options="title:'服务器硬件监控&nbsp;',fit:true"></table>
  41. </div>
  42. <iframe id="myChart" style="height: 510px;width:100%;">
  43. </iframe>
  44. </div>
  45. <script src="~/ViewModels/ServerHardwareMonitoringIndex.js"></script>
  46. <script type="text/javascript">
  47. var model = new viewModel();
  48. model.init();
  49. </script>