call-test-web/views/login.ejs
2024-12-08 21:11:23 -07:00

27 lines
673 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
</head>
<body>
<h2>Login</h2>
<% if (typeof error !== 'undefined' && error) { %>
<p style="color: red;"><%= error %></p>
<% } %>
<form action="login" method="post">
<div>
<label for="extension">Extension Number:</label>
<input type="text" id="extension" name="extension" required>
</div>
<div>
<label for="password">SIP Password:</label>
<input type="password" id="password" name="password" required>
</div>
<div>
<button type="submit">Login</button>
</div>
</form>
</body>
</html>