Van normális bejelenkezési ablak
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
@page
|
||||
@model WorkFlowCheck.Web.Pages.Account.LoginModel
|
||||
@{
|
||||
Layout = null;
|
||||
ViewData["Title"] = "Bejelentkezés";
|
||||
}
|
||||
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>@ViewData["Title"]</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="bg-light d-flex justify-content-center align-items-center vh-100">
|
||||
<div class="card shadow p-4" style="min-width: 350px; max-width: 400px; width: 100%;">
|
||||
<h2 class="mb-4 text-center">Bejelentkezés</h2>
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
|
||||
{
|
||||
<div class="alert alert-danger">@Model.ErrorMessage</div>
|
||||
}
|
||||
|
||||
<form method="post">
|
||||
<div class="mb-3">
|
||||
<label asp-for="UserDTO.UserName" class="form-label">Felhasználónév</label>
|
||||
<input asp-for="UserDTO.UserName" class="form-control" />
|
||||
<span asp-validation-for="UserDTO.UserName" class="text-danger small"></span>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label asp-for="UserDTO.Password" class="form-label">Jelszó</label>
|
||||
<input asp-for="UserDTO.Password" type="password" class="form-control" />
|
||||
<span asp-validation-for="UserDTO.Password" class="text-danger small"></span>
|
||||
</div>
|
||||
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary">Bejelentkezés</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<partial name="_ValidationScriptsPartial" />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user