<%@ page contentType="text/html;charset=UTF-8" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<link href="${ctx}/static/styles/default.css" type="text/css" rel="stylesheet" />
|
<script src="${ctx}/static/holder.js" type="text/javascript"></script>
|
<script language="javascript" type="text/javascript" src="${ctx}/static/util.js"></script>
|
<script type="text/javascript" src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
|
<title>上片位</title>
|
<script type="text/javascript">
|
var interval = setInterval('refreshStatus()', 10000);
|
|
// 设备页面自动刷新
|
function refreshStatus() {
|
window.location.reload();
|
}
|
|
// 停止页面自动刷新
|
function disableAutoRefresh() {
|
clearInterval(interval);
|
}
|
|
/**
|
* 添加原片
|
*/
|
function addload(loadMachineRackId){
|
disableAutoRefresh()
|
$("#add-info").modal('show');
|
$("#addRawPackage").val(loadMachineRackId);
|
}
|
|
/**
|
* 修改原片
|
*/
|
function modifyload(loadMachineRackId){
|
disableAutoRefresh()
|
$("#modify-info").modal('show');
|
$("#midifyRawPackage").val(loadMachineRackId);
|
}
|
</script>
|
</head>
|
<body>
|
<div class="content-wrapper">
|
<div>
|
<section class="content-header">
|
<h1>
|
设备信息
|
<small></small>
|
</h1>
|
<ol class="breadcrumb">
|
<li><a href="${ctx }/loadmachine/loadmachinerack"><i class="fa fa-reply"></i>上片机信息</a></li>
|
<li class="active"></li>
|
</ol>
|
</section>
|
</div>
|
<div>
|
<!-- Main content -->
|
<section class="content container-fluid">
|
<div class="box" style="height: 620px; overflow: auto;">
|
<!-- <div class="box-header">设备信息
|
</div> -->
|
<!-- /.box-header -->
|
<div class="box-body no-padding">
|
<h2 style="text-align:center;">设备信息</h2>
|
<table class="table table-striped" style="font-size: large;text-align:center;">
|
<thead>
|
<tr>
|
<th width="13%" style="text-align:center;">机器名称</th>
|
<th width="13%" style="text-align:center;">机器状态</th>
|
<th width="13%" style="text-align:center;">IP地址</th>
|
<th width="20%" style="text-align:center;">更新时间</th>
|
</tr>
|
</thead>
|
<tbody>
|
${shelfstatu}
|
</tbody>
|
</table>
|
|
</div>
|
</div>
|
</section>
|
</div>
|
<!-- /.content -->
|
</div>
|
<!-- /.content-wrapper -->
|
</body>
|
</html>
|