comparison _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
comparison
equal deleted inserted replaced
193:8e8401c0aea4 194:4d0e1962161c
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>$site.name - $title</title> 3 <title>$site.name - [% document.title || template.title %]</title>
4 [% IF dojo.require.size; 4 [% IF dojo.require.size;
5 modules = []; 5 modules = [];
6 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique(); 6 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
7 %] 7 %]
8 <script type="text/javascript"> 8 <script type="text/javascript">
9 require([ [% modules.join(', ') %] ]); 9 require([ [% modules.join(', ') %] ]);
10 </script> 10 </script>
11 [% END %] 11 [% END %]
12 </head> 12 </head>
13 <body> 13 <body>
14 [% content %] 14 [% content %]
15 </body> 15 </body>
16 </html> 16 </html>