<?php 

	uss::view(function() { ?>
		
		<div class='form-container default container-fluid '>
		
			<div class='py-5 d-flex vh-100 align-items-center justify-content-center text-center'>
				<div class='px-3'>
				
					<div class='card'>
						<div class='card-body'>
						
							<div class='p-3 p-sm-5'>
							
								<h4>Welcome To CBT Exam</h4>
								
								<p class='lead'>Please login to take the exam</p>
								
								<form method='POST'>
								
									<div class='mb-3'>
										<input type='text' class='form-control form-control-lg' name='login' placeholder='Email / Enrollment ID' required>
									</div>
									
									<div class='mb-3'>
										<input type='password' class='form-control form-control-lg' name='password' placeholder='Password' required>
									</div>
									
									<div class='mb-3'>
										<input type='text' class='form-control form-control-lg' name='portal' placeholder='Portal ID' required pattern='\d+'>
									</div>
									
									<div class='mb-3'>
										<button type='submit' class='btn btn-primary btn-lg w-100'>
											Enter Portal
										</button>
									</div>
									
									<div class='text-center lead'> 
								        <a class='text-danger' href="<?php echo uss::$global["portal"]; ?>" >Register</a>
								    </div>
								    
								</form>
								
							</div>
							
						</div>
					</div>
					
				</div>
			</div>
			
		</div>
		
<?php 	});