FairBanks.cshtml 5.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @*
  2. For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
  3. *@
  4. @{
  5. ViewData["Title"] = "Auto Tank Gauge System";
  6. Layout = null;
  7. }
  8. <script src="~/js/mqtt.min.js"></script>
  9. <script src="~/js/Chart.bundle.js"></script>
  10. <script src="~/js/jquery-3.4.1.min.js"></script>
  11. <body>
  12. <div style="display:flex;height:5%;width:50%">
  13. <div style="position:absolute;float:right;left:1081px;height:10%;width:0%;z-index:0;top:0px">
  14. <img id="testimage" src="~/images/device/title/505455.png" style="z-index:2;position:absolute;float:left">
  15. <p style="z-index:4; left:30px;height:7%;position:absolute;float:left;top:-11px"><font size="5" color="white"> 03/31/2020 </font></p>
  16. <canvas></canvas>
  17. </div>
  18. <div style="position:absolute;float:left;height:10%;width:1280px;z-index:0;left:0px;top:0px">
  19. <img id="testimage" src="~/images/device/title/ff1d1c.png" style="z-index:1;position:absolute;float:left;left:0px">
  20. <img id="testimage" src="~/images/device/title/0182d6.png" style="z-index:1;position:absolute;float:left;left:0px">
  21. <img id="testimage" src="~/images/device/title/f8cd1c.png" style="z-index:1;position:absolute;float:left;left:0px">
  22. <p style="z-index:1; left:30px; height:7%;position:absolute;float:left"><font size="6" color="white"> X号油罐 : 高油位警报, </font></p>
  23. <p style="z-index:1; left:550px;height:7%;position:absolute;float:left"><font size="6" color="white"> 活跃预警: </font></p>
  24. <p style="z-index:1; left:850px;height:7%;position:absolute;float:left"><font size="6" color="white"> 活跃报警: </font></p>
  25. <canvas></canvas>
  26. </div>
  27. </div>
  28. <div style="position:absolute;top:100px">
  29. <div style="position:absolute;float:left;z-index:1">
  30. <table border="0" cellpadding="0" cellspacing="0" width="1280px" style="position:absolute;left:50px;line-height:45px">
  31. <thead style="font-size:24;text-align:left">
  32. <tr>
  33. <th style="width:315px"> 时间 </th>
  34. <th style="width:200px"> 数据种类 </th>
  35. <th style="width:515px"> 文件 </th>
  36. <th style="width:200px"> 描述 </th>
  37. <th style="width:200px"> 上传状态 </th>
  38. </tr>
  39. </thead>
  40. <tbody style="font-size:20;text-align:left">
  41. @for (int i = 0; i <= 1; i++)
  42. {
  43. <tr>
  44. <th style="width:315px"> 20202-04-10 </th>
  45. <th style="width:200px"> 20202-04-10 </th>
  46. <th style="width:515px"> 20202-04-10 </th>
  47. <th style="width:200px"> 20202-04-10 </th>
  48. <th style="width:200px"> 20202-04-10 </th>
  49. </tr>
  50. }
  51. </tbody>
  52. </table>
  53. </div>
  54. </div>
  55. <div style="position:absolute;top:500px">
  56. <div style="height:40px">
  57. <p style="z-index:1; height:10%;position:absolute;float:left"></p>
  58. </div>
  59. <div style="display:flex;height:5%;width:50%">
  60. <div style="position:absolute;float:left;height:10%;width:1280px;z-index:0;left:50px">
  61. <a href="/_layoutTankDetail.cshtml">
  62. <img id="testimage" src="~/images/device/fairbanks/Fairbanks_logo 拷贝.png" style="z-index:1;position:absolute;float:left;">
  63. @*<asp:ImageButton ImageUrl="~/image/device/pages/3fa0df.png" href="/_Layout_TankDetail.cshtml" ></asp:ImageButton>*@
  64. @*<p style="z-index:1; left:25px;height:7%;position:absolute;float:left;top:-11px"><font size="5" color="white"> 油罐总览 </font></p>*@
  65. <canvas></canvas>
  66. </a>
  67. </div>
  68. <div>
  69. @*<canvas style="position:absolute;float:right;left:800px;height:10%;width:1000px;z-index:0">
  70. </canvas>*@
  71. <div style="position:absolute;float:right;left:860px;height:10%;width:50px;z-index:0;margin-top:10px">
  72. <img src="~/images/device/pages/1a8eda.png" style="position:absolute;left:0px">
  73. <img src="~/images/device/pages/b1d5eb.png" style="position:absolute;left:0px">
  74. </div>
  75. <div style="position:absolute;float:right;left:940px;height:10%;width:50px;z-index:0;margin-top:10px">
  76. <img src="~/images/device/pages/1a8eda.png" style="position:absolute;left:0px">
  77. <img src="~/images/device/pages/b1d5eb.png" style="position:absolute;left:0px">
  78. </div>
  79. <div style="position:absolute;float:right;left:1020px;height:10%;width:50px;z-index:0;margin-top:10px">
  80. <img src="~/images/device/pages/1a8eda.png" style="position:absolute;left:0px">
  81. <img src="~/images/device/pages/b1d5eb.png" style="position:absolute;left:0px">
  82. </div>
  83. <div style="position:absolute;float:right;left:1100px;height:10%;width:50px;z-index:0;margin-top:10px">
  84. <img src="~/images/device/pages/1a8eda.png" style="position:absolute;left:0px">
  85. <img src="~/images/device/pages/b1d5eb.png" style="position:absolute;left:0px">
  86. </div>
  87. <div style="position:absolute;float:right;left:1180px;height:10%;width:50px;z-index:0;margin-top:10px">
  88. <img src="~/images/device/pages/1a8eda.png" style="position:absolute;left:0px">
  89. <img src="~/images/device/pages/b1d5eb.png" style="position:absolute;left:0px">
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </body>