You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB

<!--
Alex Miller
Jordan Latimer
Adding a student page for Admin
-->
<html>
<head>
<title> Add Student </title>
</head>
<body>
<h1> Add Student </h1>
<!-- form for adding a student -->
<form id="Inputs">
<label> Name: </label>
<input id="Name" type="text" [(ngModel)]="Uname" name="Uname" align="middle">
<label> Email: </label>
<input id="EM" type="text" [(ngModel)]="email" name="email" align="middle">
<label> Password: </label>
<input *ngIf="!showPass" id="PS1" type="password" [(ngModel)]="password" name="password" align="middle">
<input *ngIf="showPass" id="PS1" type="text" [(ngModel)]="password" name="password" align="middle">
<label> Confirm Password: </label>
<input *ngIf="!showPass" id="PS2" type="password" [(ngModel)]="confirmPassword" name="confirmPassword" align="middle">
<input *ngIf="showPass" id="PS2" type="text" [(ngModel)]="confirmPassword" name="confirmPassword" align="middle">
<label> Show Password </label>
<input type="checkbox" (click)="ShowPassword()" id="ShowPass">
</form>
<br>
<br>
<!-- submitting or closing-->
<div id="Submit">
<input id="AddStudent" type="submit" (click)="AddStudent()">
<button onclick="self.close();"> Cancel </button>
</div>
</body>
</html>