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.
40 lines
1.0 KiB
40 lines
1.0 KiB
import React from "react";
|
|
import "./style.css";
|
|
class AuthForm extends React.Component {
|
|
render() {
|
|
return (
|
|
<div id="spAuth" className="spAuth ">
|
|
<div className="formAuth modal">
|
|
<h2>Авторизация</h2>
|
|
<div>
|
|
<p>
|
|
{" "}
|
|
Username: <input type="text" placeholder="demo" />
|
|
</p>
|
|
<p>
|
|
{" "}
|
|
Password:
|
|
<input type="password" placeholder="demo" />
|
|
</p>
|
|
`
|
|
<p>
|
|
{" "}
|
|
Server:
|
|
<input type="password" placeholder={window.location.href} />
|
|
</p>
|
|
<div
|
|
className="authBtn"
|
|
onClick={() =>
|
|
(document.getElementById("spAuth").style.display = "none")
|
|
}
|
|
>
|
|
Войти
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
export default AuthForm;
|