Merge Samba3 and Samba4 together
[ira/wip.git] / swat2 / 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 <script type="text/javascript" src="/style/qooxdoo/widgets/qooxdoo.js"></script>
7
8   <title>@@global.page.title</title>
9
10 <link rel="stylesheet" href="/style/common.css" type="text/css" media="all" />
11 <link rel="stylesheet" href="/style/columns.css" type="text/css" media="all" />
12 <link rel="stylesheet" href="/style/swat.css" type="text/css" media="all" />
13 <link rel="stylesheet" href="/style/qooxdoo/layouts/application.css" type="text/css" media="all" />
14 <link rel="shortcut icon" href="/images/favicon.ico" />
15
16 <!--[if gte IE 5.5]>
17         <style type="text/css">
18         /*<![CDATA[*/
19         .logo_hack {
20 filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/logo.png',sizingMethod='scale');
21         }
22         /*]]>*/ 
23         </style>
24 <![endif]-->
25
26 <!--[if lte IE 5]>
27         <style type="text/css">
28         /*<![CDATA[*/
29         .logo_hack {
30         background-image:url(/images/logo.gif);
31         background-position:center;
32         background-repeat:no-repeat;
33         top:23.5px;
34         left:-10px;
35         }
36         /*]]>*/
37         </style>
38 <![endif]-->
39
40 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
41 <meta http-equiv="Content-Language" content="en-us" />
42
43 </head>
44
45
46 <body>
47
48 <div id="banner">
49   <div class="stripe"></div>
50   <div class="logout">
51   <b>logged in as @@session.authinfo.username</b> (@@session.authinfo.user_class)
52   <form method="post" action="/logout.esp@@global.SESSIONURI">
53   <input type="submit" value="Logout" />
54   </form>
55   </div>
56 </div>
57
58 <div id="logo">
59   <div class="logo_hack"><a href="/@@global.SESSIONURI"><img src="/images/linkpad.gif" alt="SWAT" /></a></div>
60 </div>
61
62 <div class="slogan">
63   <h4>Samba Web Administration Tool</h4>
64 </div>
65
66 <div id="nav">
67      <% 
68         include("/menu.js");
69         if (form['menu']) {
70                 global.page.menu = form['menu'];
71         }
72         swat_menus[global.page.menu].display();
73         if (global.page.menu != "main") {
74                 write('<a href="/">Main Menu</a>');
75         }
76      %>
77 </div>
78
79 <div id="links">
80      <% swat_menus.docs.display(); %>
81 </div>
82
83  
84 <div id="content">
85   <div id="middle" class="center">