mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
36 lines
742 B
Plaintext
Executable File
36 lines
742 B
Plaintext
Executable File
<%
|
|
import sys
|
|
sys.path.append( "/usr/lib/python" )
|
|
|
|
debug = True and False
|
|
|
|
for path in sys.path:
|
|
if debug: req.write( path + "<br/>" )
|
|
|
|
from xen.sv.Main import Main, TwistedAdapter
|
|
|
|
main = Main()
|
|
request = TwistedAdapter( req )
|
|
main.do_POST( request )
|
|
%>
|
|
<html>
|
|
<head>
|
|
<title>XenSV</title>
|
|
<script src="inc/script.js"></script>
|
|
<link rel="StyleSheet" type="text/css" href="inc/style.css">
|
|
</head>
|
|
<body>
|
|
<form method="post" action="<%=request.uri%>">
|
|
<div id="menu">
|
|
<img src="images/xen.png">
|
|
<% main.render_menu( request ) %>
|
|
</div>
|
|
<div id="main">
|
|
<% main.render_main( request ) %>
|
|
</div>
|
|
<input type="hidden" name="op" value="">
|
|
<input type="hidden" name="args" value="">
|
|
</form>
|
|
</body>
|
|
</html>
|