<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
</head>
<body class="atm-body">
<title>[<%= route %>]模板列表</title>
<style type="text/css">
    html{color:#333;background:#fff;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code{margin:0;padding:0}
    body{font:12px/1.5 tahoma,arial,"Hiragino Sans GB",\5b8b\4f53}
    table{border-collapse:collapse;border-spacing:0}
    th{text-align:inherit}
    em,th,var{font-style:normal;font-weight:500}
    ol,ul{list-style:none}
    th{text-align:left}
    h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}
    a:hover{text-decoration:underline}
    a{text-decoration:none}
    h2{font-size: 20px;font-weight: 700;line-height: 3;border-bottom: 1px solid #ededed;}
    table {border: 1px solid #ededed;width: 99%;margin: 20px auto 0;border-radius: 6px;}
    td,th {line-height: 1.6;font-size: 14px;}
    th {cursor: auto;background: #f9fafb;padding: 12px 20px;font-weight: 700;text-transform: none;border-bottom: 1px solid #ededed;border-left: 1px solid #ededed;}
    td {padding: 10px 20px;border-bottom: 1px solid #ededed;border-left: 1px solid #ededed;}
    a {color: #247ef2;}
    a:hover {color: #2170d9}
</style>
<% include ./layout/header %>
<h2>模板列表[<%= destination %>]--[<%= route %>]</h2>
<table>
    <thead>
    <tr>
        <th>模板名称&链接</th>
        <th>模板地址</th>
    </tr>
    </thead>
    <tbody>
    <% for (var fileId in list) { %>
    <% var fileName = list[fileId] %>
    <tr>
        <td>
            <a class="file-name" href="<%= domain + '/' + route + '/views/' + fileId %>" target="_blank"><%= fileId %></a>
        </td>
        <td>
            <span>
                <%= domain + '/' + route + '/views/' + fileId %>
            </span>
        </td>
    </tr>
    <% } %>
    </tbody>
</table>
</body>
</html>