Merge branch 'develop' of http://192.168.10.125/k18_web/NFS.git into develop

This commit is contained in:
段冬梅
2018-12-15 16:10:05 +08:00
21 changed files with 1745 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,608 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page import="org.apache.shiro.web.filter.authc.FormAuthenticationFilter"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<!DOCTYPE html>
<!--[if IE 8]> <html class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Login</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<link rel="shortcut icon" href="${pageContext.request.contextPath}/static/pages/img/logo.ico" />
<title>NTC</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- basic styles -->
<link href="${pageContext.request.contextPath}/static/login/assets/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/login/assets/css/font-awesome.min.css" />
<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" /> -->
<!-- ace styles -->
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/login/assets/css/ace.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/login/assets/css/ace-rtl.min.css" />
<style type="text/css">
/*滚动条样式*/
body::-webkit-scrollbar {/*滚动条整体样式*/
width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px;
}
body::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 5px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background: rgba(228,230,233,0.2);
}
body::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
border-radius: 0;
background: rgba(0,0,0,0.1);
}
body::-webkit-scrollbar-corner{
width: 0px;
height: 0px;
background: rgba(255,255,255,0);
}
.row{
margin-left: 0px;
margin-right: 0px;
}
.col-sm-1 ,.col-sm-2 ,.col-sm-3 ,.col-sm-4 ,.col-sm-5 ,.col-sm-6 ,.col-sm-7 ,.col-sm-8,.col-sm-12{
margin: 0px;
padding: 0px;
}
body{
max-height:1080px;
max-width:1920px;
height:864px;
width:1518px;
background-color:rgba(255,255,255,0);
background-image: url("${pageContext.request.contextPath}/static/login/assets/images/login/backimg.png");
background-repeat:no-repeat;
background-size: cover;
color: white;
/* width: 1920px;
height: 1080px; */
}
.input-icon input{
outline:0;
height:2.7em;
border:none;
background-color: rgba(255,255,255,0);
color: white;
}
.input-icon input:focus {
border:none;
background-color: rgba(255,255,255,0);
background-color: rgba(255,255,255,0);
color: white;
}
.main_left{
background-image: url("${pageContext.request.contextPath}/static/login/assets/images/login/two/login_03.png");
background-repeat:no-repeat;
background-size:contain;
max-height: 695px;
max-width: 905px;
}
.main_right{
background-image: url("${pageContext.request.contextPath}/static/login/assets/images/login/login_06.png");
background-repeat:no-repeat;
background-size: 100% 100%;
max-height: 501px;
max-width: 439px;
}
.box_chart{
}
#ntc_chart{
height: 280px;
}
#ntc_chart img{
width: 300px;
height: 260px;
}
.foot{
position: absolute;
bottom: 0px;
left: 45%;
}
#messageBox{
border-radius: 10px;
}
</style>
</head>
<body class="login-layout" style="overflow-y: hidden;">
<div class="main-container" style="height: 100%">
<div class="row" style="height: 100%">
<div class="col-sm-12" style="height: 100%">
<div class="col-sm-7" style="height: 100%;padding-top: 6%;">
<div class="main_left" style="height: 100%">
<div class="box_chart">
<div id="ntc_chart">
</div>
</div>
</div>
</div>
<div class="col-sm-1" ></div>
<div class="col-sm-3" style="height: 100%;padding-top: 10%;padding-bottom: 5%;">
<div class="main_right" style="height: 100%">
<div class="widget-main" style="height: 100%">
<form style="margin: 160px 50px 0px 50px;" autocomplete="off" id="loginForm" action="${pageContext.request.contextPath }/login" method="post">
<!-- <form style="margin: 160px 50px 0px 50px;" id="loginForm" action="${pageContext.request.contextPath }/dynamicIndex" method="post"> -->
<fieldset>
<label class="block clearfix">
<span class="block input-icon input-icon-left" style="border-bottom:1px solid #565656;">
<i class="icon-user" style="padding-top: 4px;"></i>
<input id="username" type="text" name="username" class="form-control" value="${username}" placeholder="<spring:message code='fill_loginName'/>" style="padding-left: 30px;"/>
</span>
</label>
<label class="block clearfix" style="margin-top: 35px;">
<span class="block input-icon input-icon-left" style="border-bottom:1px solid #565656;">
<i class="icon-lock" style="padding-top: 4px;"></i>
<input id="password" type="password" name="password" class="form-control" placeholder="<spring:message code='fill_loginPassWord'/>" style="padding-left: 30px;"/>
</span>
</label>
<div class="space"></div>
<div class="clearfix" style="text-align: center;margin-top: 24%;">
<button type="submit" style="background-color: #4697d7!important;border-radius: 5px;" class="width-40 btn btn-sm btn-primary">
<spring:message code='login'/>
</button>
<!--
<button type="button" style="background-color: #4697d7!important;border-radius: 5px;" class="width-40 btn btn-sm btn-primary" onclick="fullScreen();">
fullscreen
</button>
-->
</div>
<div class="space-4"></div>
</fieldset>
</form>
</div><!-- /widget-main -->
<p class="messageBox" style="margin-top:0px;" align="center">
<div id="messageBox" class="alert alert-danger ${empty message ? 'hide' : ''}" style="width:376px;text-align: center">
<label id="loginError" class="error" style="width:100%;text-align: center"><spring:message code="${message}"></spring:message></label>
</div>
</p>
</div><!-- /widget-body -->
</div>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.main-container -->
<div class="foot">
<span>CEIEC All Rights Reserved, CEIEC © </span>
</div>
<!--[if lt IE 9]>
<script src="${pageContext.request.contextPath}/static/global/plugins/respond.min.js"></script>
<script src="${pageContext.request.contextPath}/static/global/plugins/excanvas.min.js"></script>
<![endif]-->
<!-- BEGIN CORE PLUGINS -->
<script src="${pageContext.request.contextPath}/static/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/static/global/plugins/js.cookie.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/static/global/plugins/jquery-validation/1.11.0/jquery.validate.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/static/global/plugins/jquery-validation/1.11.0/jquery.validate.method.js" type="text/javascript"></script>
<!-- END CORE PLUGINS --> <script type="text/javascript">
$(document).ready(function(){
$("#loginForm").validate({
rules: {
username: { required: true},
password: { required: true},
captcha: {remote: "${pageContext.request.contextPath}/validateCode"}
},
messages: {
username: {required: '<spring:message code="fill_loginName"/>...'},password: {required: '<spring:message code="fill_loginPassWord"/>...'},
captcha: {remote: '<spring:message code="captcha_error"/>...', required: '<spring:message code="enter_captcha"/>...'}
},
errorLabelContainer: "#messageBox",
errorPlacement: function(error, element) {
error.appendTo($("#loginError").parent());
}
});
// 如果在框架或在对话框中,则弹出提示并跳转到首页
if(self.frameElement && self.frameElement.tagName == "IFRAME" || $('#left').length > 0 || $('.jbox').length > 0){
top.$.jBox.confirm("<spring:message code='login_timeout'/>","<spring:message code='info'/>",function(v,h,f){
if(v=="ok"){
top.location = "${pageContext.request.contextPath }";
}else{
top.location = "${pageContext.request.contextPath }";
}
},{buttonsFocus:1});
top.$('.jbox-body .jbox-icon').css('top','55px');
}
});
</script>
<script type="text/javascript">
window.jQuery || document.write("<script src='${pageContext.request.contextPath}/static/login/assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
</script>
<!-- dynamic_add -->
<script src="${pageContext.request.contextPath}/static/login/echarts/echarts.min.js"></script>
<script type="text/javascript">
if("ontouchend" in document) document.write("<script src='${pageContext.request.contextPath}/static/login/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<!-- inline scripts related to this page -->
<script type="text/javascript">
/*var bodyHeight = window.screen.height;*/
var bodyHeight = 864;
$("body").height(bodyHeight+"px");
$("#ntc_chart").height((bodyHeight-200)+"px");
$("#ntc_chart").width($(".main_left").width()+"px");
lineheight_y = 364;
lineheight_x = 362;
lineheight_y2 = 739;
lineheight_x2 = 767;
console.log(bodyHeight);
if(bodyHeight >800){
lineheight_y = 364;
lineheight_x = 362;
lineheight_y2 = 739;
lineheight_x2 = 767;
}
var lines_Chart_chu = echarts.init(document.getElementById('ntc_chart'));
/* 数据流出 */
var lines_chu = [
/* 出端 */
{
coords: [
[lineheight_x2+60, lineheight_y2-70],
[978, 809]
],
effect: {
period: 0.5,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[lineheight_x2+60, lineheight_y2-120],
[970, 777]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},{
coords: [
[lineheight_x2+60, lineheight_y2-140],
[985, 746]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[lineheight_x2-25, lineheight_y2+65],
[878, 986]
],
effect: {
period: 0.8,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[lineheight_x2-10, lineheight_y2+40],
[904, 968]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[lineheight_x2, lineheight_y2+20],
[935, 952]
],
effect: {
period: 0.5,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[lineheight_x2, lineheight_y2],
[967, 868]
],
effect: {
period: 0.8,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[lineheight_x2+40, lineheight_y2-45],
[984, 824]
],
effect: {
period: 0.8,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
/* 左下 */
{
coords: [
[68, 83],
[388, lineheight_y]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[68, 143],
[368, lineheight_y]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#d29781'
}
}
},
{
coords: [
[68, 73],
[368, lineheight_y]
],
effect: {
period: 0.5,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[68, 273],
[lineheight_x, lineheight_y]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#119dd8'
}
}
},
{
coords: [
[28, 373],
[lineheight_x, lineheight_y]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#d29781'
}
}
},
{
coords: [
[248, 73],
[lineheight_x, lineheight_y]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#ebf546'
}
}
},
{
coords: [
[192, 105],
[lineheight_x, lineheight_y]
],
effect: {
period: 0.5,
},
lineStyle: {
normal: {
color: '#d29781'
}
}
},
{
coords: [
[11, 216],
[lineheight_x, lineheight_y]
],
effect: {
period: 1,
},
lineStyle: {
normal: {
color: '#ebf546'
}
}
},
{
coords: [
[321, 87],
[lineheight_x+20, lineheight_y -30]
],
effect: {
period: 0.5,
},
lineStyle: {
normal: {
color: '#ebf546'
}
}
},
]
var line_chu_option = {
backgroundColor: 'rgba(255,255,255,0)',
grid:{
top: 10,
bottom: 10,
left: 10,
right: 10,
},
xAxis: {
show: false,
min: 0,
max: 1000,
position: 'top',
axisPointer: {
show: false
}
},
yAxis: {
show: false,
min: 0,
max: 1000,
axisPointer: {
show: false
}
},
// 线条动画
series: [
{
type: 'lines',
coordinateSystem: 'cartesian2d',
zlevel: 1,
// 动画效果
effect: {
show: true,
period: 4, //特效动画的时间,单位为 s
trailLength: 0.5, //特效尾迹的长度。0~1数值越大尾迹越长
//color: '#d29781',
symbolSize: 6
},
lineStyle: {
normal: {
color: '#BF3EFF',
width: 0,
curveness: 0
}
},
data: lines_chu
}
],
};
lines_Chart_chu.setOption(line_chu_option);
</script>
<script type="text/javascript">
var fullflag = false;
// 全屏代码
function fullScreen() {
if(fullflag){
exitFullScreen();
}else{
fullflag = true;
var elem = document.body;
if (elem.webkitRequestFullScreen) {
elem.webkitRequestFullScreen();
} else if (elem.mozRequestFullScreen) {
elem.mozRequestFullScreen();
} else if (elem.requestFullScreen) {
elem.requestFullscreen();
} else {
//notice.notice_show("浏览器不支持全屏API或已被禁用", null, null, null, true, true);
}
}
}
function exitFullScreen() {
fullflag = false;
var elem = document;
if (elem.webkitCancelFullScreen) {
elem.webkitCancelFullScreen();
} else if (elem.mozCancelFullScreen) {
elem.mozCancelFullScreen();
} else if (elem.cancelFullScreen) {
elem.cancelFullScreen();
} else if (elem.exitFullscreen) {
elem.exitFullscreen();
} else {
//notice.notice_show("浏览器不支持全屏API或已被禁用", null, null, null, true, true);
}
}
//document.addEventListener("fullscreenchange", function( event ) {
// if (document.fullscreenElement) {
// console.log('进入全屏');
// } else {
// console.log('退出全屏');
//}});
//window.onload = function() {
// fullScreen();//直接执行onclick中的函数就行
//}
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB