Permalink
Browse files

Default chameleon templates.

  • Loading branch information...
ralphbean committed May 9, 2012
1 parent fa8c160 commit 69de63cf6f9d29a8431936879b7b3b60cb46dc1b
@@ -0,0 +1 @@
<link rel="stylesheet" type="text/css" href="${w.link}" media="${w.media}" />
@@ -0,0 +1,6 @@
<div tal:define="compile import: tw2.core.mako_util" tal:omit-tag=""></div>
<div tal:attributes="id w.attrs.get('id')"><span
tal:repeat="c w.children"
tal:content="structure c.display()"
tal:omit-tag=""
></span></div>
@@ -0,0 +1 @@
<script type="text/javascript" src="${w.link}"></script>
@@ -0,0 +1 @@
<script type="text/javascript">${w.src}</script>
@@ -0,0 +1,4 @@
<html>
<head><title>${w.title}</title></head>
<body><h1>${w.title}</h1>${w.child and w.child.display()}</body>
</html>
@@ -0,0 +1 @@
<p>TEST ${w.test}</p>
@@ -0,0 +1 @@
<p>TEST chameleon</p>
@@ -0,0 +1 @@
<p>TEST ${test}</p>
@@ -0,0 +1 @@
<p>TEST ${w.children.y.display()}</p>

0 comments on commit 69de63c

Please sign in to comment.