<?php $open = true; require 'lib/todo.inc.php'; $view = new TodoList\View(); $view->setTitle("Instructions"); ?> <!DOCTYPE html> <html lang="en"> <head> <?php echo $view->head(); ?> </head> <body> <div class="instructions"> <?php echo $view->header(); ?> <h2>Getting Started</h2> <p>Create an account by clicking on the top right link in the header of the homepage. Once you have created an account, you are ready to log in! After you have logged in, you will be taken to your custom tasks page. This page will load all of your saved tasks.</p> <h2>Tasks Page</h2> <h3>Add task</h3> <p>This page has a container for every day of the week. To add a task to a day, click on the plus button at the top of the screen. This pops up a modal giving you the
<?php $open = true; require 'lib/todo.inc.php'; $view = new TodoList\View(); $view->setTitle("Create Account"); $view->setMsg($_GET, $_SESSION); ?> <!DOCTYPE html> <html lang="en"> <head> <?php echo $view->head(); ?> </head> <body> <div class="createpage"> <?php echo $view->header(); ?> <form class="createform" method="post" action="post/login.php"> <fieldset> <legend>Create Account</legend> <?php echo $view->getMsg(); ?> <p> <label for="name">Name:</label><br> <input type="text" id="name" name="name" placeholder="Name">