cse435website/lib/SecureLoginView.php
2017-10-30 11:11:36 -04:00

33 lines
713 B
PHP

<?php
require_once "SecureView.php";
class SecureLoginView extends SecureView
{
public function page()
{
$body = <<<HTML
<div class="content">
<div class="card">
<form action="../post/login.php" method="post">
<fieldset>
<p>
<label for="username">Username:</label>
<input type="text" id="username" name="username" placeholder="Username">
</p>
<p>
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Password">
</p>
<p><input type="submit" name="Submit" value="Submit"></p>
</fieldset>
</form>
</div>
</div>
HTML;
return $body;
}
}