<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html >
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工作台</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="${ctx}/js/plugin/layerui/css/layui.css">
<link rel="stylesheet" href="${ctx}/css/basic.css">
	<style type="text/css">
		#deviceState{
			margin : -5px auto;
		}
	</style>
</head>
<body>
<div role="alert" class="alert alert-info">
	<table id="deviceState" class="table table-striped table-bordered dataTable no-footer table-hover table-condensed" lay-size="sm" lay-filter="demo"></table>
</div>
<script src="${ctx}/js/plugin/jquery.min.js"></script>
<script src="${ctx}/js/plugin/layerui/layui.js"></script>
<script src="${ctx}/js/plugin/layerui/layui.all.js"></script>
<script src="${ctx}/js/plugin/bootstrap/jquery.dataTables.min.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/jspJS/overview/sbyc.js"></script>
<script src="${ctx}/jspJS/utils/loading.js"></script>
<script type="text/html" id="stateTpl">
{{#  if(d.status === '中断'){ }}
<span style="color: #A52a2a;">{{ d.status }}</span>
{{#  } else { }}
<span style="color: #2E8B57;">{{ d.status }}</span>
{{#  } }}
</script>
</body>
</html>