26 lines
581 B
Plaintext
26 lines
581 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ToDo List</title>
|
|
</head>
|
|
<body>
|
|
<h1>ToDo List</h1>
|
|
|
|
<form method="POST" action="./cgi-bin/add-todo.twss">
|
|
<input type="text" name="text" placeholder="ToDo Text">
|
|
<input type="submit" value="Add">
|
|
</form>
|
|
|
|
<ul>
|
|
<!--tws
|
|
each(global todos) {
|
|
-->
|
|
<li><!--tws print htmlencode(item); --></li>
|
|
<!--tws
|
|
}
|
|
-->
|
|
</ul>
|
|
</body>
|
|
</html> |