196 lines
5.5 KiB
Plaintext
196 lines
5.5 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8"%>
|
|
<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="renderer" content="webkit">
|
|
<title>尚道洁城智慧环卫管理系统</title>
|
|
|
|
<%@ include file="/webpage/include/head.jsp"%>
|
|
<style type="text/css">
|
|
.panel-btn {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 10px;
|
|
background-color: white;
|
|
}
|
|
.panel-set {
|
|
border-color: #428bca;
|
|
}
|
|
.panel-set > .panel-heading {
|
|
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
|
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
|
background-repeat: repeat-x;
|
|
}
|
|
.panel-set > .panel-heading + .panel-collapse .panel-body {
|
|
border-top-color: #428bca;
|
|
}
|
|
.panel-set > .panel-footer + .panel-collapse .panel-body {
|
|
border-bottom-color: #428bca;
|
|
}
|
|
|
|
.panel-set a {
|
|
display: none;
|
|
}
|
|
.mrbtn {
|
|
display:none;
|
|
}
|
|
.panel-set .mrbtn {
|
|
display:inline;
|
|
color:#428bca;
|
|
right: 20px;
|
|
}
|
|
.sub_system_logo {
|
|
width: 64px;
|
|
}
|
|
.subsystem_desc {
|
|
display: none;
|
|
}
|
|
|
|
.panel:hover {
|
|
border-color: #51555C;
|
|
cursor:pointer;
|
|
}
|
|
|
|
.panel:hover .subsystem_desc {
|
|
display:block;
|
|
text-align: left;
|
|
}
|
|
|
|
.panel:hover .sub_system_logo {
|
|
width: 32px;
|
|
}
|
|
|
|
.panel:hover .panel-body {
|
|
padding:8px 8px 8px 8px;
|
|
}
|
|
|
|
.panel-body-sub {
|
|
text-align:center;
|
|
height: 94px;
|
|
width:180px;
|
|
overflow:hidden;text-overflow:ellipsis;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
//此应用以不用
|
|
$(".buttonsaa").mousedown(function(){
|
|
// var a = $(".select").val();
|
|
console.log($(this).prop("id"));
|
|
var iders = $(this).prop("id");
|
|
if(typeof(iders) == undefined && typeof(iders) == null){
|
|
iders = -1;
|
|
}
|
|
$(this).removeClass("box-shadow");
|
|
$(this).mouseup(function(){
|
|
alert(1);
|
|
$(this).addClass("box-shadow");
|
|
alert(2);
|
|
if(parent.window){
|
|
alert(3);
|
|
parent.window.location.href="${ctx}/subsystem/"+iders;
|
|
}else{
|
|
alert(4);
|
|
window.location.href="${ctx}/subsystem/"+iders;
|
|
}
|
|
});
|
|
});
|
|
});
|
|
//防止事件冒泡开关
|
|
var isOpen = true;
|
|
function qhxt(id){
|
|
if(!isOpen) return;
|
|
if(parent.window){
|
|
parent.window.location.href="${ctx}/subsystem/"+id;
|
|
}else{
|
|
window.location.href="${ctx}/subsystem/"+id;
|
|
}
|
|
}
|
|
|
|
//切换子系统
|
|
function setDefaultSubSystem(title,furl){
|
|
isOpen = false;
|
|
confirmx(title, furl);
|
|
return false;
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body style="margin-right: 0px; margin-left: 0px;" class="sys-pool-bg">
|
|
<%-- <table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable">
|
|
<tbody>
|
|
<c:forEach items="${pool}" var="p">
|
|
<tr>
|
|
<td>
|
|
<div class="buttons box-shadow had" align="left" id="${p.id}" title="点击切换子系统" onclick="qhxt('${p.id}')">
|
|
<img alt="t" src="${ctxStatic}${p.icon}" width="36px;">
|
|
<span style="color: black;">${p.name}</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<c:if test="${defalt==p.id}">
|
|
<i class="fa"></i> 当前默认子系统
|
|
</c:if>
|
|
<c:if test="${defalt!=p.id}">
|
|
<a href="${ctx}/userconfig/sysUserConfig/save?typeConfig=1&valueConfig=${p.id}" onclick="return confirmx('确认要设置默认子系统?', this.href)"
|
|
class="btn btn-info btn-xs">
|
|
<i class="fa fa-search-plus"></i> 设置为默认子系统
|
|
</a>
|
|
</c:if>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table> --%>
|
|
<br/>
|
|
<div class="container">
|
|
<div class="row" style="background-image: url(${ctx}/static/common/login/images/bg_qh.png);">
|
|
<c:forEach items="${pool}" var="p" varStatus="s">
|
|
<%-- <div class="col-sm-3" style="height:150px;text-align:center;margin: 2px;padding: 0px;">
|
|
<span class="btn btn-primary dim btn-large-dim"
|
|
style="width: 140px;height:140px;font-size: 6px;"
|
|
onclick="qhxt('${p.id}')">
|
|
<img alt="t" src="${ctxStatic}${p.icon}" width="64px;"><br/>
|
|
<span style="color: black;">${p.name}</span>
|
|
<c:if test="${defalt!=p.id}">
|
|
<a href="${ctx}/userconfig/sysUserConfig/save?typeConfig=1&valueConfig=${p.id}" onclick="return confirmx('确认要设置默认子系统?', this.href)"
|
|
class="btn btn-info btn-xs" title="设置为默认子系统">
|
|
<i class="fa glyphicon glyphicon-floppy-disk"></i>
|
|
</a>
|
|
</c:if>
|
|
</span>
|
|
</div> --%>
|
|
|
|
<div class="col-sm-3" style="padding: 0px;">
|
|
<div class="panel <c:choose>
|
|
<c:when test="${defalt==p.id}">panel-set</c:when>
|
|
<c:otherwise>panel-default</c:otherwise>
|
|
</c:choose> " style="width:180px;" onclick="qhxt('${p.id}')">
|
|
<a href="${ctx}/userconfig/sysUserConfig/save?typeConfig=1&valueConfig=${p.id}" onclick="return setDefaultSubSystem('确认要设置默认子系统?', this.href)" >
|
|
<i class="fa fa-cog panel-btn" style="width:30px;font-size: 20px;color: #ddd;" title="设置默认为子系统"></i>
|
|
</a>
|
|
<h5><span class="panel-btn mrbtn">默认</span></h5>
|
|
<div class="panel-body panel-body-sub">
|
|
<img alt="t" src="${ctxStatic}${p.icon}" class="sub_system_logo">
|
|
<span class="subsystem_desc">
|
|
${p.remarks}
|
|
</span>
|
|
</div>
|
|
<div class="panel-heading" style="text-align:center;">
|
|
<h5><span style="color: #51555C;">${p.name}</span></h5>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</c:forEach>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
|
|
</html> |