r8718: try to improve the 2 level menu a bit.
[kai/samba.git] / swat / scripting / header_columns.esp
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5
6   <title>@@global.page.title</title>
7
8 <link rel="stylesheet" href="/style/common.css" type="text/css" media="all" />
9 <link rel="stylesheet" href="/style/columns.css" type="text/css" media="all" />
10 <link rel="stylesheet" href="/style/swat.css" type="text/css" media="all" />
11 <link rel="shortcut icon" href="/images/favicon.ico" />
12
13 <!--[if gte IE 5.5]>
14         <style type="text/css">
15         /*<![CDATA[*/
16         .logo_hack {
17 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/logo.png',sizingMethod='scale');
18         }
19         /*]]>*/ 
20         </style>
21 <![endif]-->
22
23 <!--[if lte IE 5]>
24         <style type="text/css">
25         /*<![CDATA[*/
26         .logo_hack {
27         background-image:url(/images/logo.gif);
28         background-position:center;
29         background-repeat:no-repeat;
30         top:23.5px;
31         left:-10px;
32         }
33         /*]]>*/
34         </style>
35 <![endif]-->
36
37 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
38 <meta http-equiv="Content-Language" content="en-us" />
39
40 </head>
41
42
43 <body>
44
45 <div id="banner">
46   <div class="stripe"></div>
47   <div class="logout">
48   <b>logged in as @@session.authinfo.username</b>
49   <form method="post" action="/logout.esp@@global.SESSIONURI">
50   <input type="submit" value="Logout" />
51   </form>
52   </div>
53 </div>
54
55 <div id="logo">
56   <div class="logo_hack"><a href="/@@global.SESSIONURI"><img src="/images/linkpad.gif" alt="SWAT" /></a></div>
57 </div>
58
59 <div class="slogan">
60   <h4>Samba Web Administration Tool</h4>
61 </div>
62
63 <div id="nav">
64      <% 
65      if (global.page.menu) {
66           include(global.page.menu);
67           write('<a href="/">Main Menu</a>');
68      } else {
69           include("/menu.js");
70      }
71      %>
72 </div>
73
74 <div id="links">
75   <div class="related">
76      <% 
77      include("/docs/menu.js"); 
78      %>
79   </div>
80 </div>
81
82  
83 <div id="content">
84   <div class="center">