123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge">
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <title>流水线管理页</title>
- <!-- Favicon-->
- <link rel="icon" href="favicon.ico" type="image/x-icon">
- <!-- Google Fonts -->
- <link href="css/cyllic.css" rel="stylesheet" type="text/css">
- <link href="css/mateial.css" rel="stylesheet" type="text/css">
- <!-- Bootstrap Core Css -->
- <link rel="stylesheet" href="css/third/bootstrap.min.css"
- integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
- <!-- Waves Effect Css -->
- <link href="plugins/node-waves/waves.css" rel="stylesheet"/>
- <!-- Animation Css -->
- <link href="plugins/animate-css/animate.css" rel="stylesheet"/>
- <!-- Morris Chart Css-->
- <link href="plugins/morrisjs/morris.css" rel="stylesheet"/>
- <!-- Custom Css -->
- <link href="css/style-frontend.css" rel="stylesheet">
- <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
- <link href="css/themes/all-themes.css" rel="stylesheet"/>
- <script src="css/third/jq.3.2.1.min.js"></script>
- <script src="css/third/popper.1.12.9.js"
- integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
- crossorigin="anonymous"></script>
- <script src="css/third/boot.min.js"
- integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
- crossorigin="anonymous"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <style>
- /* css 代码 */
- </style>
- <script src="css/third/hchart.js"></script>
- <script src="css/third/exporting.js"></script>
- <script src="css/third/cn.js"></script>
- <script src="css/third/dark.js"></script>
- <script language="JavaScript">
- function startTime() {
- var today = new Date();//定义日期对象
- var yyyy = today.getFullYear();//通过日期对象的getFullYear()方法返回年
- var MM = today.getMonth() + 1;//通过日期对象的getMonth()方法返回年
- var dd = today.getDate();//通过日期对象的getDate()方法返回年
- var hh = today.getHours();//通过日期对象的getHours方法返回小时
- var mm = today.getMinutes();//通过日期对象的getMinutes方法返回分钟
- var ss = today.getSeconds();//通过日期对象的getSeconds方法返回秒
- // 如果分钟或小时的值小于10,则在其值前加0,比如如果时间是下午3点20分9秒的话,则显示15:20:09
- MM = checkTime(MM);
- dd = checkTime(dd);
- mm = checkTime(mm);
- ss = checkTime(ss);
- var day; //用于保存星期(getDay()方法得到星期编号)
- if (today.getDay() == 0) day = "星期日 "
- if (today.getDay() == 1) day = "星期一 "
- if (today.getDay() == 2) day = "星期二 "
- if (today.getDay() == 3) day = "星期三 "
- if (today.getDay() == 4) day = "星期四 "
- if (today.getDay() == 5) day = "星期五 "
- if (today.getDay() == 6) day = "星期六 "
- document.getElementById('nowDateTimeSpan').innerHTML = yyyy + "-" + MM + "-" + dd + " " + day + " " + hh + ":" + mm + ":" + ss;
- setTimeout('startTime()', 1000);//每一秒中重新加载startTime()方法
- }
- function checkTime(i) {
- if (i < 10) {
- i = "0" + i;
- }
- return i;
- }
- </script>
- </head>
- <body class="" style="background-color: #17253f !important;" onload="startTime();">
- <div class="text-center">
- <nav class="navbar" style="background-color: red">
- <div class="container-fluid">
- <div class="navbar-header">
- <a class="navbar-brand text-white" href="index.html">工厂产能监控系统</a>
- </div>
- <div style="color: #ffffff"><img src="images/logo.jpg" style="width: 10%"> 深圳市度彼电子有限公司
- </div>
- <font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
- <div onclick="logout()" class="btn btn-warning"> 注销账户 </div>
- </div>
- </nav>
- <div class="container-fluid" style="margin-top: 10em">
- <div class="alert alert-warning" id="mpAlert" style="display:none">
- </div>
- <div class="alert alert-link" id="mpRemain" style="display:none">
- </div>
- <div class="card">
- <h5 class="card-header">
- 生产线模式 :
- <select name="select" id="pro_areaCode">
- <option value="0" selected="selected">生产拉线数据读取中</option>
- </select>
- </h5>
- <div class="card-body">
- <h5 class="card-title">您可以看到生产线内部的实时状况</h5>
- <p class="card-text">
- 班次 :
- <select id="period_ID">
- <option value="1">加载中</option>
- </select>
- </p>
- <a href="#" class="btn btn-primary" onclick="moveToStart(this)">开始班次</a>
- </div>
- </div>
- <div class="card">
- <h5 class="card-header">大屏模式</h5>
- <div class="card-body">
- <h5 class="card-title">您可以看到全厂实时状况</h5>
- <p class="card-text">点击下面按钮,打开大屏幕</p>
- <a href="#" class="btn btn-primary" onclick="location.href='dapingmu.html'">前往大屏幕</a>
- </div>
- </div>
- </div>
- </div>
- <script src="js/basic.js"></script>
- <script src="js/getparam.js"></script>
- <script src="js/entrance.js"></script>
- </body>
- </html>
|