Mercurial > pub > Impl
annotate _test/Resources/TTView/Layout/default.tt @ 197:6b1dda998839
Added IMPL::declare, IMPL::require, to simplify module definitions
IMPL::Transform now admires object inheritance while searching for the transformation
Added HTTP some exceptions
IMPL::Web::Application::RestResource almost implemented
author | sergey |
---|---|
date | Thu, 19 Apr 2012 02:10:02 +0400 |
parents | 7a920771fd8e |
children | d357b5d85d25 |
rev | line source |
---|---|
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
1 [% view.mode = 'default' %] |
191 | 2 <html> |
194 | 3 <head> |
4 <title>$site.name - [% document.title || template.title %]</title> | |
5 [% IF dojo.require.size; | |
6 modules = []; | |
7 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique(); | |
8 %] | |
9 <script type="text/javascript"> | |
10 require([ [% modules.join(', ') %] ]); | |
11 </script> | |
12 [% END %] | |
13 </head> | |
14 <body> | |
15 [% content %] | |
16 </body> | |
191 | 17 </html> |