1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 18:39:32 +00:00

Added parent login view

This commit is contained in:
2022-04-22 04:45:49 +00:00
parent 6a66156463
commit 9c6f38ee0e

20
views/parentLogin.hbs Normal file
View File

@@ -0,0 +1,20 @@
<section class='adminSection'>
<div class='adminItem'>
<h2>Select a child</h2>
<p>Please select which one of your children you would like to log in as</p>
<p>To log in as a different child, please log out and log back in again to return to this screen</p>
<div class='formContainer'>
<form action='/admin/parent-login' method='post'>
<select name='child' id='child' required>
<option disabled hidden selected value=''>Select a child</option>
{{#each children}}
<option value='{{id}}'>{{name}}</option>
{{/each}}
</select>
<input type='submit' class='btn btn--primary btn--full' value='Log in'/>
</form>
</div>
</div>
</section>