Edit D:\rfid\libsystem\page\main.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="renderer" content="webkit"> <title><%=MyJspUtils.getConfig("5")%></title> <link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon" /> <%@ include file="global/linkcss.jsp" %> <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/third-party/font-awesome-4.7.0/css/font-awesome.min.css"> <style type="text/css"> .body{ background: url('${pageContext.request.contextPath}/images/main_04.gif?version=<%=Math.random()%>') no-repeat center 0px fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } li { list-style: none; } a{ text-decoration: none; } .header-operator li a{ color: #fff; } .cur-time{ font-size: 50px; } .header-operator li{ padding: 10px 0px 10px 16px; float: left; } @media screen and (min-width: 1440px) { .center-box{ width: 1430px; margin: auto; } .logo-box{ text-align: center; margin-top: 15%; color: #fff; height: 120px; } .content-box{ height:170px; } .content-box li{ line-height: 170px; width: 170px; height: 170px; border-radius: 50%; background-color: #6dc8f8; color: #fff; float: left; margin: 0 10px; cursor: pointer; } .content-box li:hover{ background-color: #0f3c5b; } .content-box li .image{ height: 120px; width: 170px; } .image img{ text-align: center; height: 100px; margin-left: 30px; margin-top:20px; line-height: 80px; } .content-box li .title{ height: 50px; line-height: 50px; width: 170px; text-align: center; color: #fff; } h3{ margin-top: -16px; } .header-operator{ position: absolute; top: 10px; right: 30px; text-align: right; width: 450px; color: #fff; } } @media screen and (max-width: 1370px) { .center-box{ width: 1024px; margin: auto; } .content-box{ height:130px; } .logo-box{ text-align: center; margin-top: 210px; color: #fff; } .content-box li{ line-height: 130px; width: 130px; height: 130px; border-radius: 50%; background-color: #6dc8f8; color: #fff; float: left; margin: 0 5px; cursor: pointer; } .content-box li:hover{ background-color: #0f3c5b; } .content-box li .image{ height: 120px; width: 130px; } .image img{ text-align: center; height: 80px; margin-left: 20px; margin-top:10px; line-height: 80px; } .content-box li .title{ height: 50px; line-height: 50px; width: 130px; text-align: center; color: #fff; } h3{ margin-top: -46px; } .header-operator{ position: absolute; top: 10px; right: 30px; text-align: right; width: 450px; color: #fff; } } @media screen and (max-width: 1024px) { .body{ background: url('${pageContext.request.contextPath}/images/main_04.gif?version=<%=Math.random()%>') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } .logo-box{ text-align: center; margin-top: 210px; color: #fff; } .content-box{ height:170px; } } .content-box{ margin-top: 30px; } .caifang{ margin-left: 8px; margin-top: 14px; } .bianmu{ margin-left: 24px; margin-top: 14px; } .diancang{ margin-left: 24px; margin-top: 14px; } .liutong{ margin-left: 12px; margin-top: 14px; } .qikan{ margin-left: 24px; margin-top: 14px; } .canshu{ margin-left: 20px; margin-top: 14px; } .yingyong{ margin-left: 20px; margin-top: 14px; } .logo-lib-flag{ font-size: 40px; font-weight: bold; } .logo-lib-title{ padding: 20px; font-size: 20px; } </style> </head> <body class="body"> <div class="header-operator"> <ul class="navbar-nav"> <li><a><i class="fa fa-user-o"></i> <label class="account"></label>(<label class="libname"></label>)</a></li> <li><a><i class="fa fa-institution"></i> <label class="use-lib-name"></label></a></li> <li><a href="javaScript:loingOut()" title="????" ><i class="fa fa-sign-in"></i> ????</a></li> </ul> <div style="clear: both;"> <!-- <label class="cur-time"></label> --> </div> </div> <div class="logo-box"> <div class="logo-lib-flag"> eLibrary System </div> <div class="logo-lib-title logo-title"> <%=MyJspUtils.getConfig("4")%> </div> </div> <div class="center-box"> <ul class="content-box"> <li> <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=0" target="_blank"> <div class="image caifang"> <img alt="" src="${pageContext.request.contextPath}/images/el_buy.png"> </div> </a> </li> <li> <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=1" target="_blank"> <div class="image bianmu"> <img alt="" src="${pageContext.request.contextPath}/images/el_catalog.png"> </div> </a> </li> <li> <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=2" target="_blank"> <div class="image diancang"> <img alt="" src="${pageContext.request.contextPath}/images/el_branch.png"> </div> </a> </li> <li > <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=3" target="_blank"> <div class="image liutong"> <img alt="" src="${pageContext.request.contextPath}/images/el_br.png"> </div> </a> </li> <li> <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=4" target="_blank"> <div class="image qikan"> <img alt="" src="${pageContext.request.contextPath}/images/el_magazine.png"> </div> </a> </li> <li> <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=5" target="_blank"> <div class="image canshu"> <img alt="" src="${pageContext.request.contextPath}/images/el_setting.png"> </div> </a> </li> <li> <a href="${pageContext.request.contextPath}/page/index.jsp?menuIndex=6" target="_blank"> <div class="image yingyong"> <img alt="" src="${pageContext.request.contextPath}/images/el_service.png"> </div> </a> </li> </ul> </div> </body> <%@ include file="global/linkjs.jsp"%> <script type="text/javascript" src="${pageContext.request.contextPath}/js/initsystile.js"></script> <script type="text/javascript"> var base_path = "${pageContext.request.contextPath}/"; $(function(){ initLicenseInfo(); initSystemTitle(); /* showCurTime(); */ }); function showCurTime() { var now = new Date(); var year = now.getFullYear(); var month = now.getMonth() + 1; var day = now.getDate(); var hours = now.getHours(); var minutes = now.getMinutes(); var seconds = now.getSeconds(); var showTime = year + "??" + formatDigital(month) + "??" + formatDigital(day) + "?? " + formatDigital(hours) + ":" + formatDigital(minutes) + ":" + formatDigital(seconds) + ""; $('.cur-time').html(showTime); //???????????????? var timeID = setTimeout(showCurTime, 1000); } function initLicenseInfo(){ var url = "${pageContext.request.contextPath}/lib/common/getLibName.do"; var param = { }; $.post(url, param, function(data) { if (data.status == "0") { getLibName(data.rows[0]); }else openMessageDlg(data.message); }, 'json'); } function formatDigital(value) { if (value < 10) return '0' + value; return value; } function loingOut(){ var url = "${pageContext.request.contextPath}/par/operator/logout.do"; var param = { }; $.post(url, param, function(data) { if (data.status == "0") { localStorage.removeItem("loginAccount"); localStorage.removeItem("loginPassword"); var url="${pageContext.request.contextPath}/page/login.jsp"; window.location=url; }else openMessageDlg(data.message); }, 'json'); } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de