annotate _test/Resources/TTView/Layout/default.tt @ 191:78a18a2b6266

IMPL::Web::View improvements (unstable)
author cin
date Thu, 05 Apr 2012 17:51:51 +0400
parents
children 4d0e1962161c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
1 <html>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
2 <head>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
3 <title>$site.name - $title</title>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
4 [% IF dojo.require.size;
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
5 modules = [];
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
6 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
7 %]
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
8 <script type="text/javascript">
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
9 require([ [% modules.join(', ') %] ]);
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
10 </script>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
11 [% END %]
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
12 </head>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
13 <body>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
14 [% content %]
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
15 </body>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
16 </html>