annotate _test/Resources/TTView/Layout/default.tt @ 248:814d755e5d12

Minor fixes
author sergey
date Tue, 06 Nov 2012 00:58:15 +0400
parents 7a920771fd8e
children d357b5d85d25
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
195
7a920771fd8e IMPL::Web::View changed document layout handling, docs, examples
cin
parents: 194
diff changeset
1 [% view.mode = 'default' %]
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
2 <html>
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
3 <head>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
4 <title>$site.name - [% document.title || template.title %]</title>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
5 [% IF dojo.require.size;
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
6 modules = [];
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
7 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
8 %]
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
9 <script type="text/javascript">
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
10 require([ [% modules.join(', ') %] ]);
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
11 </script>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
12 [% END %]
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
13 </head>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
14 <body>
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
15 [% content %]
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
16 </body>
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents:
diff changeset
17 </html>