Files
SIPAIIS_WMS_JSSW/WebRoot/jsp/user/showManual.jsp
2026-01-16 14:13:44 +08:00

89 lines
4.1 KiB
Plaintext

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh-CN">
<!-- BEGIN HEAD -->
<head>
<title><%= ServerObject.atttable.get("TOPTITLE")%></title>
<!-- 引用页头及CSS页-->
<jsp:include page="/jsp/inc.jsp"></jsp:include>
<!-- PDF预览 begin -->
<link rel="stylesheet" href="<%=request.getContextPath()%>/bootstrap/pdf/web/viewer.css">
<link rel="resource" type="application/l10n" href="<%=request.getContextPath()%>/bootstrap/pdf/web/locale/locale.properties">
<!-- END -->
</head>
<body class="page-container-bg-solid">
<div class="page-wrapper">
<!-- 引用top -->
<jsp:include page="/top.jsp"></jsp:include>
<!-- BEGIN CONTAINER -->
<div class="page-wrapper-row full-height">
<div class="page-wrapper-middle">
<div class="page-container">
<!-- BEGIN page-content-wrapper -->
<div class="page-content-wrapper">
<div class="page-content">
<div class="container-fluid">
<div class="page-content-body">
<c:choose>
<c:when test="${CommFile.type == 'PDF'}">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="height:50px;margin-left:30px">
<a class="btn green-turquoise " href="fd?method=down&id=${CommFile.id}&t=tb_manual_file">用户操作手册文件下载</a>
</div>
</div>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<input type="hidden" id="abspath" value="${CommFile.abspath}">
<c:choose>
<c:when test="${CommFile.type == 'PDF'}">
<div id="PDF_container">
<div class="lightbox"></div>
<div id="pop" class="pop" style="text-align: center;"></div>
</div>
</c:when>
<c:otherwise>
<h1>暂时未上传操作手册</h1>
</c:otherwise>
</c:choose>
</div>
</div>
</div>
</div>
</div>
<!-- END CONTAINER -->
</div>
</div>
</div>
</div>
<!-- 引用bottom -->
<jsp:include page="/bottom.jsp"></jsp:include>
</div>
<!-- 引用js -->
<jsp:include page="/JS.jsp"></jsp:include>
<!-- PDF预览 begin -->
<script type="text/javascript" src="bootstrap/pdf/build/pdf.js"></script>
<script type="text/javascript" src="bootstrap/js/ShowPDF.js"></script>
<!-- END -->
<script type="text/javascript">
jQuery(document).ready(function() {
var abspath = document.getElementById("abspath").value;
//PDF预览
showPDFWidth(abspath);
});
</script>
</body>
</html>