/
icedev
/
eks-present
Обзор
Документация
Войти
/
icedev
/
eks-present
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
index.html
51 строка
2 KB
ICEDEV
init
12 май 2026, 12:50
12 май 2026, 12:50
872c4b8
Код
Авторство
О чём код?
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Авторизация - EKS</title> <link rel="stylesheet" href="styles.css" /> </head> <body> <main class="auth-wrap"> <section class="glass-card auth-card"> <h1 class="title">Вход в ЕКС:ЕИС</h1> <p class="subtitle">Панель управления</p> <form> <div class="field"> <label for="email">Email</label> <input id="email" type="email" placeholder="name@company.ru" required /> </div> <div class="field"> <label for="password">Пароль</label> <input id="password" type="password" placeholder="Введите пароль" required /> </div> <div class="field"> <label for="role">Роль</label> <select id="role"> <option value="contractor">Подрядчик</option> <option value="accounting">Бухгалтерия</option> <option value="manager">Руководитель</option> </select> </div> <button class="btn btn-primary" type="button" onclick="goToRolePage()"> Войти </button> </form> </section> </main> <script> function goToRolePage() { const role = document.getElementById("role").value; const map = { contractor: "contractor.html", accounting: "accounting.html", manager: "manager.html", }; window.location.href = map[role]; } </script> </body> </html>