aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/componentui/layout/site_layout.tt
blob: 0a1448a287c4b853d4428d5bc2b7fea3516b4ddf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
=for layout widget
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
  <title>Component UI Test Title</title>
  
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" type="text/css" href="/static/componentui-basic.css" />

</head>

<body>
  <div id="container">
    <div id="header">
     [% header %]
    </div>

    <div id="nav">
       [% menu %]
    </div>

    <div id="contents">
      <div id="wrapper">
        [% sidebar %]
        [% inner %]
      </div>
      <div class="spacer"></div>
    </div>
  </div>
</body>

</html>

=for layout inner
<!-- main content start -->
[% call_next %]
<!-- main content end -->
=for layout header

<h1>Component UI Header</h1>

=for layout sidebar
        <div class="sidebar">
          Nothing to see here. Move along.
        </div>

=for layout menu
        <ul class="menu">
          <li> <a href="/testmodel/foo">Foo</a> </li>
          <li> <a href="/testmodel/bar">Bar</a> </li>
          <li> <a href="/testmodel/baz">Baz</a> </li>
        </ul>
=cut