<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Open Park</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="<%=path%>/static/css/font.css">
    <link rel="stylesheet" href="<%=path%>/static/css/xadmin.css">
    <script type="text/javascript" src="<%=path%>/static/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="<%=path%>/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="<%=path%>/static/js/xadmin.js"></script>
</head>

<body>
<div class="x-body">
    <div class="layui-field-box" style="font-size: 16px">
        <table class="layui-table">
            <thead>
            <tr>
                <th colspan="2" scope="col">页面模板</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <th width="30%">模板名称</th>
                <td>${pageTemplate.pageName}</td>
            </tr>
            <tr>
                <th>模板路径</th>
                <td>${pageTemplate.pagePath}</td>
            </tr>
            <tr>
                <th>模板图片</th>
                <td><img src=" ${pageTemplate.pageImag}" width="300" height="120"></td>
            </tr>
            <tr>
                <th>所属框架</th>
                <td>${pageTemplate.pageFrame}</td>
            </tr>
            <tr>
                <th>模板描述</th>
                <td>${pageTemplate.pageDesc}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>