annotate _test/Resources/view/layout/header.tt @ 400:ef37ec102dab

redirection support while fetching child resources
author cin
date Wed, 14 May 2014 17:27:32 +0400
parents cfd7570c2af2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
350
f356c4894d1b working on TTView: layouts
cin
parents: 349
diff changeset
1 <!DOCTYPE HTML>
f356c4894d1b working on TTView: layouts
cin
parents: 349
diff changeset
2 <html>
f356c4894d1b working on TTView: layouts
cin
parents: 349
diff changeset
3 <head>
f356c4894d1b working on TTView: layouts
cin
parents: 349
diff changeset
4 <title>$document.title</title>
351
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
5 <script>
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
6 [%
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
7 IF document.dojo.modules.size;
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
8 modules = [];
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
9 FOREACH module IN document.dojo.modules.unique;
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
10 modules.push('"' _ module _ '"');
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
11 END;
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
12 %]
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
13 require([ [% modules.join(', ') %] ]);
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
14 [%
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
15 END;
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
16 %]
cfd7570c2af2 working on TTView: created TTView class for rendering models
cin
parents: 350
diff changeset
17 </script>
350
f356c4894d1b working on TTView: layouts
cin
parents: 349
diff changeset
18 </head>
f356c4894d1b working on TTView: layouts
cin
parents: 349
diff changeset
19 <body>