Mercurial > pub > Impl
annotate _test/Resources/TTView/Layout/default.tt @ 285:546957c50a36
*IMPL::Web::Handler::TTView Reworked template selection mechanism
*IMPL::Web::Application: refactoring
-Removed obsolete IMPL::Text modules
author | cin |
---|---|
date | Mon, 18 Feb 2013 02:55:59 +0400 |
parents | 7a920771fd8e |
children | d357b5d85d25 |
rev | line source |
---|---|
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
1 [% view.mode = 'default' %] |
191 | 2 <html> |
194 | 3 <head> |
4 <title>$site.name - [% document.title || template.title %]</title> | |
5 [% IF dojo.require.size; | |
6 modules = []; | |
7 modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique(); | |
8 %] | |
9 <script type="text/javascript"> | |
10 require([ [% modules.join(', ') %] ]); | |
11 </script> | |
12 [% END %] | |
13 </head> | |
14 <body> | |
15 [% content %] | |
16 </body> | |
191 | 17 </html> |