31 lines
894 B
Mako
31 lines
894 B
Mako
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title>${c.page_title}</title>
|
|
% for script in c.scripts:
|
|
<script src="/scripts/${script}" type="text/javascript"></script>
|
|
% endfor
|
|
% if c.jsinit:
|
|
<script src="/scripts/${c.jsinit}" type="text/javascript"></script>
|
|
% endif
|
|
</head>
|
|
<body>
|
|
<div id="directory-tree" style="border: 1px solid #999; height: 400px; width: 200px;"></div>
|
|
<script type="text/javascript">
|
|
$("#directory-tree").tree(
|
|
{
|
|
data:
|
|
{
|
|
type: "json",
|
|
opts:
|
|
{
|
|
static : ${c.directories | n}
|
|
}
|
|
}
|
|
}
|
|
);
|
|
</script>
|
|
</body>
|
|
</html> |