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.
 
 

32 lines
915 B

import Head from 'next/head';
const Register = () => (
<>
<Head>
<title>Register</title>
</Head>
<h5 className="fw-bold">Register</h5>
<form action="/forms/register" 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>
<div className="mb-2">
<label className="form-label">Repeat Password
<input className="form-control" type="password" name="repeat_password" maxLength="100" required="required"/>
</label>
</div>
<input className="btn btn-primary" type="submit" value="Submit"/>
</form>
</>
);
export default Register;