Merge branch 'css'
This commit is contained in:
@@ -3,14 +3,15 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Авторизация</title>
|
||||
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<form action="" method="post">
|
||||
<label for="login">Login: </label>
|
||||
<input type="text" name="login" required><br>
|
||||
<label for="password">Password: </label>
|
||||
<form action="" method="post" name="auth">
|
||||
<label for="login">Логин: </label>
|
||||
<input type="text" name="login" required>
|
||||
<label for="password">Пароль: </label>
|
||||
<input type="password" name="password" required><br>
|
||||
<input type="submit" value="Submit">
|
||||
<input type="submit" value="Вход">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Ошибка</title>
|
||||
<link href="/static/css/main.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Сожалеем</h1>
|
||||
|
||||
@@ -4,6 +4,16 @@ h1,h2 {
|
||||
body {
|
||||
background-color: #87CEEB;
|
||||
}
|
||||
form[name="auth"] {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
form[name="auth"] input[type="submit"] {
|
||||
display: block;
|
||||
margin: 5px auto;
|
||||
}
|
||||
button {
|
||||
background-color: #067936;
|
||||
border-radius: 10px;
|
||||
|
||||
Reference in New Issue
Block a user