PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/samples/scalate-sample/src/main/webapp/WEB-INF/layouts/custom.ssp

http://github.com/scalate/scalate
Unknown | 41 lines | 31 code | 10 blank | 0 comment | 0 complexity | 77f17125e7481e5b94b6e1d28c2e1e72 MD5 | raw file
 1<%--
 2
 3    Copyright (C) 2009-2011 the original author or authors.
 4    See the notice.md file distributed with this work for additional
 5    information regarding copyright ownership.
 6
 7    Licensed under the Apache License, Version 2.0 (the "License");
 8    you may not use this file except in compliance with the License.
 9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19--%>
20<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
21<%@ var body: String %>
22<%@ var title : String = "Custom Layout" %>
23<html lang="en">
24  <head>
25    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
26    <title>${title}</title>
27</head>
28
29<body>
30
31  <h1>Custom Layout</h1>
32  <p>layout header goes here...</p>
33  <hr>
34
35  <%= body %>
36
37  <hr>
38  <p>layout footer goes here...</p>
39
40</body>
41</html>