aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/componentui/layout
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-30 17:56:22 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-30 17:56:22 +0000
commit7c2bcb55574ebbea6c51b67b5994149400da4895 (patch)
tree0368d331fd7e4af7f42bda2dfba255ef1e5678ee /share/skin/componentui/layout
parentb269d2bfde94e4e778395632ccf754d1f24c3ab7 (diff)
downloadreaction-7c2bcb55574ebbea6c51b67b5994149400da4895.tar.gz
reaction-7c2bcb55574ebbea6c51b67b5994149400da4895.zip
skin inheritnace within a single search path
Diffstat (limited to 'share/skin/componentui/layout')
-rw-r--r--share/skin/componentui/layout/site_layout.tt56
1 files changed, 56 insertions, 0 deletions
diff --git a/share/skin/componentui/layout/site_layout.tt b/share/skin/componentui/layout/site_layout.tt
new file mode 100644
index 0000000..0a1448a
--- /dev/null
+++ b/share/skin/componentui/layout/site_layout.tt
@@ -0,0 +1,56 @@
+=for layout widget
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<head>
+ <title>Component UI Test Title</title>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" type="text/css" href="/static/componentui-basic.css" />
+
+</head>
+
+<body>
+ <div id="container">
+ <div id="header">
+ [% header %]
+ </div>
+
+ <div id="nav">
+ [% menu %]
+ </div>
+
+ <div id="contents">
+ <div id="wrapper">
+ [% sidebar %]
+ [% inner %]
+ </div>
+ <div class="spacer"></div>
+ </div>
+ </div>
+</body>
+
+</html>
+
+=for layout inner
+<!-- main content start -->
+[% call_next %]
+<!-- main content end -->
+=for layout header
+
+<h1>Component UI Header</h1>
+
+=for layout sidebar
+ <div class="sidebar">
+ Nothing to see here. Move along.
+ </div>
+
+=for layout menu
+ <ul class="menu">
+ <li> <a href="/testmodel/foo">Foo</a> </li>
+ <li> <a href="/testmodel/bar">Bar</a> </li>
+ <li> <a href="/testmodel/baz">Baz</a> </li>
+ </ul>
+=cut