146 lines
4.3 KiB
HTML
146 lines
4.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Авторизация | MikroTik Proxy</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
<style>
|
|
.login-container {
|
|
max-width: 450px;
|
|
width: 90%;
|
|
padding: 60px 40px;
|
|
}
|
|
|
|
.login-header {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.login-icon {
|
|
display: inline-flex;
|
|
width: 80px;
|
|
height: 80px;
|
|
background: rgba(52, 152, 219, 0.1);
|
|
border-radius: 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2.5rem;
|
|
color: #3498db;
|
|
margin-bottom: 20px;
|
|
border: 1px solid rgba(52, 152, 219, 0.2);
|
|
}
|
|
|
|
.form-group {
|
|
text-align: left;
|
|
margin-bottom: 25px;
|
|
position: relative;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-weight: 600;
|
|
color: #4a5a6a;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.input-with-icon {
|
|
position: relative;
|
|
}
|
|
|
|
.input-with-icon i {
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #95a5a6;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.input-with-icon input {
|
|
width: 100%;
|
|
padding: 14px 15px 14px 45px;
|
|
border: 2px solid #edf2f7;
|
|
border-radius: 14px;
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
background-color: white;
|
|
}
|
|
|
|
.input-with-icon input:focus {
|
|
outline: none;
|
|
border-color: #3498db;
|
|
box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
|
|
}
|
|
|
|
.input-with-icon input:focus+i {
|
|
color: #3498db;
|
|
}
|
|
|
|
.btn-login {
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
font-size: 1.1rem;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.footer-links {
|
|
margin-top: 30px;
|
|
font-size: 0.9rem;
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: #3498db;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container login-container">
|
|
<div class="login-header">
|
|
<div class="login-icon">
|
|
<i class="fas fa-lock"></i>
|
|
</div>
|
|
<h1>Безопасный вход</h1>
|
|
<p class="subtitle">Управление прокси-сервером MikroTik</p>
|
|
</div>
|
|
|
|
<form id="loginForm">
|
|
<div class="form-group">
|
|
<label>Имя пользователя</label>
|
|
<div class="input-with-icon">
|
|
<i class="fas fa-user"></i>
|
|
<input type="text" id="username" placeholder="admin" required autofocus>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Пароль</label>
|
|
<div class="input-with-icon">
|
|
<i class="fas fa-key"></i>
|
|
<input type="password" id="password" placeholder="••••••••" required>
|
|
</div>
|
|
</div>
|
|
<button type="submit" class="btn btn-on btn-login" id="loginBtn">
|
|
<i class="fas fa-sign-in-alt"></i> Войти в панель
|
|
</button>
|
|
</form>
|
|
|
|
<div id="notification" class="notification"></div>
|
|
|
|
<div class="footer-links">
|
|
<p><a href="/"><i class="fas fa-arrow-left"></i> На главную</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="{{ url_for('static', filename='js/login.js') }}"></script>
|
|
</body>
|
|
|
|
</html> |