Next.js+React web interface for controlling HAProxy clusters (groups of servers), in conjunction with with https://gitgud.io/fatchan/haproxy-protection.
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.
 
 

27 lines
687 B

import Head from 'next/head';
const Login = () => (
<>
<Head>
<title>Login</title>
</Head>
<h5 className="fw-bold">Login</h5>
<form action="/forms/login" method="POST">
<div className="mb-2">
<label className="form-label">Username
<input className="form-control" type="text" name="username" maxLength="50" required="required"/>
</label>
</div>
<div className="mb-2">
<label className="form-label">Password
<input className="form-control" type="password" name="password" maxLength="100" required="required"/>
</label>
</div>
<input className="btn btn-primary" type="submit" value="Submit"/>
</form>
</>
);
export default Login;