OnlineMonitorHeader.cshtml 1.2 KB

12345678910111213141516171819202122
  1. 
  2. @{
  3. Layout = null;
  4. }
  5. @{
  6. int screenWidth = 1280;
  7. }
  8. <div id="PumpsPage_Head" style="position:relative; width:(@screenWidth)px; height: 65px;">
  9. <img id="PumpsPage_Head_Status_normal" src="~/images/onlineMonitor/header/headblueLeft.png" />
  10. <img id="PumpsPage_Head_Status_warning" src="~/images/onlineMonitor/header/headYellowLeft.png" style="position:absolute; left: 0px; top: 0px;visibility: hidden;" />
  11. <img id="PumpsPage_Head_Status_alarm" src="~/images/onlineMonitor/header/headRedLeft.png" style="position:absolute; left: 0px; top: 0px;visibility: hidden;" />
  12. <span id="head_left_text" style="position: absolute; left: 0px; width: 1096px; line-height: 65px; text-align: center;color: #f0ffff">
  13. 在线监测
  14. </span>
  15. <span id="PumpsPage_Head_Date" style="position: absolute; left: @(screenWidth - 199)px; height: 44px; line-height: 44px;color: white">
  16. <img id="PumpsPage_Head_Date_img" src="~/images/onlineMonitor/header/headRight.png"/>
  17. </span>
  18. <span id="head_right_text" style="position: absolute; width: 99px;left:@(screenWidth - 199)px; height: 44px; line-height: 44px; color: white;text-align: center">
  19. @DateTime.Now.ToShortDateString()
  20. </span>
  21. </div>