<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!--360浏览器优先以webkit内核解析-->
	<title></title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
	<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
	<link href="../static/css/animate.min.css" th:href="@{/css/animate.min.css}" rel="stylesheet"/>
	<link href="../static/css/style.min862f.css" th:href="@{/css/style.min862f.css}" rel="stylesheet"/>
	<th:block th:include="include :: header('首页')" />
</head>



<body class="gray-bg">
<div class="container-div">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-title">
					<h3>系统状态</h3>
				</div>
				<div  class="row" >
					<div class="col-sm-3" th:each="dangan:${danganList}">
						<div class="float-e-margins" style="text-align: center;border: none">
							<div     >
								<button class="btn btn-primary dim" type="button"   th:onclick="opennewpage([[${dangan.danganUrl}]] ,[[${dangan.danganNums} ]]);"   ><i class="fa fa-money"></i>
								</button>
								<h3 class="no-margins" style="color:#1e9fff" th:text="${dangan.danganName}"></h3>
								<h4 th:text="${@dict.getLabel('sys_dangan_status', dangan.danganStatus)}" ></h4><br>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script th:inline="javascript">
	var sessionId = [[${sessionId}]];
	function opennewpage(url,danganLoginName) {


		// window.location.href=url;

		url = url+"?"+"reqid="+sessionId;
		console.log(url)

		window.open(url)
		// console.log(danganLoginName)
		//
		// console.log(sessionId)



	}



</script>
</body>
</html>
