diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-01 12:08:46 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-01 12:08:46 +0200 |
commit | f033faed1c59ebeb36605232ce62f4043da22124 (patch) | |
tree | d63f9811c6a1ecf9193632c242b4a38740878a6b /views | |
download | dancerdemo-f033faed1c59ebeb36605232ce62f4043da22124.tar.gz |
initial import
Diffstat (limited to 'views')
-rw-r--r-- | views/index.tt | 5 | ||||
-rw-r--r-- | views/layouts/main.tt | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/views/index.tt b/views/index.tt new file mode 100644 index 0000000..f89df94 --- /dev/null +++ b/views/index.tt @@ -0,0 +1,5 @@ +<h2>It Works!</h2> + +<p> +I'm in <code>/home/franck/.tmp/mywebapp/views/index.tt</code> +</p> diff --git a/views/layouts/main.tt b/views/layouts/main.tt new file mode 100644 index 0000000..aca1dd0 --- /dev/null +++ b/views/layouts/main.tt @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en-US"> +<head> +<title>mywebapp</title> +<link rel="stylesheet" href="/css/style.css" /> +<meta charset=UTF-8" /> +</head> +<body> +<h1>mywebapp</h1> +<div id="content"> +<% content %> +</div> +<footer> +Powered by <a href="http://perldancer.org/">Dancer</a> 1.1808 +</footer> +</body> +</html> \ No newline at end of file |