denglu.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  6. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  7. <title>流水线管理页</title>
  8. <!-- Favicon-->
  9. <link rel="icon" href="favicon.ico" type="image/x-icon">
  10. <!-- Google Fonts -->
  11. <link href="css/cyllic.css" rel="stylesheet" type="text/css">
  12. <link href="css/mateial.css" rel="stylesheet" type="text/css">
  13. <!-- Bootstrap Core Css -->
  14. <link rel="stylesheet" href="css/third/bootstrap.min.css"
  15. crossorigin="anonymous">
  16. <!-- Waves Effect Css -->
  17. <link href="plugins/node-waves/waves.css" rel="stylesheet"/>
  18. <!-- Animation Css -->
  19. <link href="plugins/animate-css/animate.css" rel="stylesheet"/>
  20. <!-- Morris Chart Css-->
  21. <link href="plugins/morrisjs/morris.css" rel="stylesheet"/>
  22. <!-- Custom Css - ->
  23. <link href="css/style-frontend.css" rel="stylesheet"-->
  24. <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
  25. <link href="css/themes/all-themes.css" rel="stylesheet"/>
  26. <script src="css/third/jq.3.2.1.min.js"></script>
  27. <script src="css/third/popper.1.12.9.js"></script>
  28. <script src="css/third/boot.min.js"
  29. ></script>
  30. <meta name="viewport" content="width=device-width, initial-scale=1">
  31. <style>
  32. /* css 代码 */
  33. </style>
  34. <script src="css/third/hchart.js"></script>
  35. <script src="css/third/exporting.js"></script>
  36. <script src="css/third/cn.js"></script>
  37. <script src="css/third/dark.js"></script>
  38. </head>
  39. <body class="" style="background-color: #17253f !important;" onload="startTime();">
  40. <nav class="navbar clearfix navbar-expand-lg navbar-dark" role="navigation" style="background-color: #732020;">
  41. <a class="navbar-brand" href="#">
  42. <img src="images/logo.jpg" width="42" height="30" class="d-inline-block align-top" alt="">
  43. 工厂产能监控系统
  44. </a>
  45. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  46. <span class="navbar-toggler-icon"></span>
  47. </button>
  48. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  49. <ul class="navbar-nav mr-auto">
  50. <li class="nav-item active">
  51. <a class="nav-link" href="#"> 主页 <span class="sr-only">(current)</span></a>
  52. </li>
  53. <li class="nav-item ">
  54. <a class="nav-link" href="dapingmu.html">全厂大屏</a>
  55. </li>
  56. <li class="nav-item dropdown">
  57. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  58. 前往
  59. </a>
  60. <div class="dropdown-menu" aria-labelledby="navbarDropdown">
  61. <a class="dropdown-item" href="#" onclick="history.go(0)">刷新</a>
  62. <div class="dropdown-divider"></div>
  63. <a class="dropdown-item" href="/server">后台入口</a>
  64. </div>
  65. </li>
  66. <li class="nav-item">
  67. <a class="nav-link bg-red text-white" href="javascript:void">深圳市度彼电子有限公司</a>
  68. </li>
  69. </ul>
  70. <form class="form-inline my-2 my-lg-0 text-white" >
  71. <button class="btn btn-outline-dark my-2 my-sm-0 text-white" id="nowDateTimeSpan"></button>
  72. <button class="btn btn-warning my-2 my-sm-0" onclick="logout()">登出</button>
  73. <button class="btn btn-success my-2 my-sm-0" type="submit">重新加载</button>
  74. </form>
  75. </div>
  76. <!--<div class="container-fluid">
  77. <div class="navbar-header">
  78. <a class="navbar-brand" href="index.html">工厂产能监控系统</a>
  79. </div>
  80. <div style="color:#fff" class="text-center"><img src="images/logo.jpg" style="width: 10%;"> 深圳市度彼电子有限公司</div>
  81. <font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
  82. </div>-->
  83. </nav>
  84. <div class="jumbotron">
  85. <h1 class="display-4">欢迎使用工厂产能监控系统</h1>
  86. <p class="lead">您可以在下方开始新的班次,或查看以往班次</p>
  87. <hr class="my-4">
  88. <p>或者前往后台管理来查看生产数据</p>
  89. <p class="lead">
  90. <a class="btn btn-primary btn-lg" href="/server" role="button">前往后台</a>
  91. </p>
  92. </div>
  93. <div class="text-center">
  94. <div class="alert alert-warning" id="mpAlert" style="display: none"></div>
  95. <div class="container-fluid" style="margin-top: 1em">
  96. <div class="row">
  97. <div class="col-lg-4 col-md-6">
  98. <div class="card" style="height: 40vh;">
  99. <h5 class="card-header">
  100. 生产线模式 :
  101. <select name="select" id="pro_areaCode">
  102. <option value="0" selected="selected">生产拉线数据读取中</option>
  103. </select>
  104. </h5>
  105. <div class="card-body">
  106. <h5 class="card-title">您可以看到生产线内部的实时状况</h5>
  107. <p class="card-text">
  108. 班次 :
  109. <select id="period_ID">
  110. <option value="1">加载中</option>
  111. </select>
  112. </p>
  113. <a href="#" class="btn btn-primary" onclick="moveToStart(this)">开始班次</a>
  114. </div>
  115. </div>
  116. </div>
  117. <div class="col-lg-4 col-md-6">
  118. <div class="card" style="height: 40vh;">
  119. <h5 class="card-header">大屏模式</h5>
  120. <div class="card-body">
  121. <h5 class="card-title">您可以看到全厂实时状况</h5>
  122. <p class="card-text">点击下面按钮,打开大屏幕</p>
  123. <a href="#" class="btn btn-primary" onclick="location.href='dapingmu.html'">前往大屏幕</a>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="col-lg-4 col-md-6">
  128. <div class="card" style="height: 40vh;">
  129. <h5 class="card-header">
  130. 正在进行的生产
  131. </h5>
  132. <div class="card-body">
  133. <div class="alert alert-warning" id="mpexist" style="display: none"></div>
  134. <div class="alert alert-link" id="mpRemain" style="display:none"></div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <script src="js/basic.js"></script>
  142. <script src="js/getparam.js"></script>
  143. <script src="js/entrance.js"></script>
  144. </body>
  145. </html>