You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/DemoServlet.html

71 lines
1.2 KiB

<!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>
<title>YaCy '#[clientname]#': Demo-Servlet</title>
<script type="text/javascript" src="js/html.js"></script>
<script src="/yacy/ui/js/jquery-1.3.2.min.js" type="text/javascript"></script>
</head>
<body id="index">
<div>
Hello world!
</div>
<br/>
<br/>
<div>
Your user name: #[username]#
</div>
<div>
<p>A list of all users on this system:</p>
#{users}#
- #[user]#<br/>
#{/users}#
</div>
<br/>
<br/>
<br/>
<div>
Temperature: #[temperature]#
</div>
<form action="DemoServlet.html" method="post">
<input type="text" name="textthing" value=""/>
<input type="submit" name="submit" value="submit">
</form>
#{localimg}#
<img src="#[path]#">
#(checked)#no::yes::maybe#(/checked)#
#{/localimg}#
<br/>
<br/>
<br/>
<div>
<p>Upload a file (will be stored in HTDOCS/upload/username/):</p>
<form action="/interaction/UploadSingleFile.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<input type="file" name="uploadfile">
<input type="submit">
</form>
</div>
</body>
</html>