cse435website/lib/SecureLoginView.php
Sean Joseph 2628cc8b80 Refactored a div class tag to be more general.
Added site style to the secure pages. Renamed LoginController
to SecureLoginController.
2017-10-30 11:01:59 -04:00

33 lines
701 B
PHP

<?php
require_once "View.php";
class SecureLoginView extends View
{
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;
}
}