pastebin/templates/cleanup.html

30 lines
744 B
HTML
Raw Normal View History

$def with (stage, result)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Pastebin - Cleanup</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>
<body>
<h1>Pastebin - Cleanup</h1>
$if stage == 1:
<p>
This will delete all database entries of files which do not exist any
more.
</p>
<p>
<form action="/cleanup" method="GET">
Do you want to clean the database?
<input type="hidden" name="doit" value="True">
<input type="submit" value="Yes, I want!">
</form>
</p>
$else:
<p>
Result of cleanup: $result
</p>
</body>
</html>