diff options
Diffstat (limited to 'src/templates/view.php')
| -rw-r--r-- | src/templates/view.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/templates/view.php b/src/templates/view.php new file mode 100644 index 0000000..35d4c36 --- /dev/null +++ b/src/templates/view.php @@ -0,0 +1,20 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Edit - Todo</title> + <link rel="shortcut icon" href="/images/favicon.png"> + <link rel="stylesheet" href="/css/site.css"> + </head> + <body> + <section> + <h1>Todo</h1> + <h2>View</h2> + <a href="/">Back</a> + <h3><?= htmlentities("$todo->task | $todo->tag"); ?></h3> + <p><?= nl2br(htmlentities($todo->description), false); ?></p> + <p>Copyright © 2021 David T. Sadler.</p> + </section> + </body> +</html> |
