Mercurial > pub > Impl
annotate _test/Resources/TTView/Layout/default.tt @ 235:a4d9126edcbb
code cleaning
author | sergey |
---|---|
date | Fri, 12 Oct 2012 02:08:51 +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> |