Mercurial > pub > Impl
annotate _test/Resources/TTView/Layout/default.tt @ 322:cca158327c47
added OutOfRangeException
author | cin |
---|---|
date | Tue, 21 May 2013 10:04:11 +0400 |
parents | d357b5d85d25 |
children |
rev | line source |
---|---|
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
1 [% view.mode = 'default' %] |
286 | 2 [% |
3 BLOCK INIT; | |
4 dojo = { require => [] }; | |
5 END; | |
6 %] | |
191 | 7 <html> |
194 | 8 <head> |
9 <title>$site.name - [% document.title || template.title %]</title> | |
10 [% IF dojo.require.size; | |
11 modules = []; | |
12 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique(); | |
13 %] | |
14 <script type="text/javascript"> | |
15 require([ [% modules.join(', ') %] ]); | |
16 </script> | |
17 [% END %] | |
18 </head> | |
19 <body> | |
20 [% content %] | |
21 </body> | |
191 | 22 </html> |