81 lines
2.6 KiB
Plaintext
81 lines
2.6 KiB
Plaintext
@page
|
|
@model GanjooRazor.Pages.LoginModel
|
|
@{
|
|
Layout = null;
|
|
ViewData["Title"] = "ورود کاربر";
|
|
}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="fa-IR" dir="rtl">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>@ViewData["Title"]</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|
<link href="/css/p8.css?version=11" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="hdr">
|
|
<h1><a href="/" title="گنجور"><img src="/image/gm.gif" alt="گنجور" style="width:auto;margin:auto;" /></a></h1>
|
|
</div>
|
|
<div id="login">
|
|
<div id="login-container">
|
|
@if (Model.LoggedIn)
|
|
{
|
|
<form method="post">
|
|
<table>
|
|
<tr>
|
|
<td><input type="submit" name="submit" id="submit" value="خروج" /></td>
|
|
</tr>
|
|
</table>
|
|
<div>@Model.LastError</div>
|
|
</form>
|
|
<div>@Model.UserFriendlyName</div>
|
|
}
|
|
else
|
|
{
|
|
<form method="post">
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<span class="inputlabel">پست الکترونیکی: </span>
|
|
</td>
|
|
<td>
|
|
<input type="email" asp-for="LoginViewModel.Username" placeholder="پست الکترونیکی" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span class="inputlabel">گذرواژه: </span>
|
|
</td>
|
|
<td>
|
|
<input type="password" asp-for="LoginViewModel.Password" id="password" placeholder="گذرواژه" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><input type="submit" name="submit" id="submit" value="ورود" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="/signup">ثبت نام</a></td>
|
|
<td><a href="/resetpassword">فراموشی گذرواژه</a></td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
<div>@Model.LastError</div>
|
|
</form>
|
|
|
|
}
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|