blob: 593c738bedfb82af1d7aeab52ec6fa51c3974df2 (
plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<!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" lang="en">
<head>
<script type="text/javascript" src="/style/qooxdoo/widgets/qooxdoo.js"></script>
<title>@@global.page.title</title>
<link rel="stylesheet" href="/style/common.css" type="text/css" media="all" />
<link rel="stylesheet" href="/style/columns.css" type="text/css" media="all" />
<link rel="stylesheet" href="/style/swat.css" type="text/css" media="all" />
<link rel="stylesheet" href="/style/qooxdoo/layouts/application.css" type="text/css" media="all" />
<link rel="shortcut icon" href="/images/favicon.ico" />
<!--[if gte IE 5.5]>
<style type="text/css">
/*<![CDATA[*/
.logo_hack {
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/logo.png',sizingMethod='scale');
}
/*]]>*/
</style>
<![endif]-->
<!--[if lte IE 5]>
<style type="text/css">
/*<![CDATA[*/
.logo_hack {
background-image:url(/images/logo.gif);
background-position:center;
background-repeat:no-repeat;
top:23.5px;
left:-10px;
}
/*]]>*/
</style>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-us" />
</head>
<body>
<div id="banner">
<div class="stripe"></div>
<div class="logout">
<b>logged in as @@session.authinfo.username</b> (@@session.authinfo.user_class)
<form method="post" action="/logout.esp@@global.SESSIONURI">
<input type="submit" value="Logout" />
</form>
</div>
</div>
<div id="logo">
<div class="logo_hack"><a href="/@@global.SESSIONURI"><img src="/images/linkpad.gif" alt="SWAT" /></a></div>
</div>
<div class="slogan">
<h4>Samba Web Administration Tool</h4>
</div>
<div id="nav">
<%
include("/menu.js");
if (form['menu']) {
global.page.menu = form['menu'];
}
swat_menus[global.page.menu].display();
if (global.page.menu != "main") {
write('<a href="/">Main Menu</a>');
}
%>
</div>
<div id="links">
<% swat_menus.docs.display(); %>
</div>
<div id="content">
<div id="middle" class="center">
|