annotate _test/Resources/TTView/Layout/default.tt @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents 78a18a2b6266
children 7a920771fd8e
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>
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
2 <head>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
3 <title>$site.name - [% document.title || template.title %]</title>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
4 [% IF dojo.require.size;
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
5 modules = [];
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
6 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
7 %]
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
8 <script type="text/javascript">
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
9 require([ [% modules.join(', ') %] ]);
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
10 </script>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
11 [% END %]
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
12 </head>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
13 <body>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
14 [% content %]
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
15 </body>
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
16 </html>