init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,297 @@
|
|||
@using Kreta.Web.Areas.Adminisztracio.Models;
|
||||
@using Kreta.BusinessLogic.Classes;
|
||||
|
||||
@model ElfelejtettJelszoModel
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||
<title>@(LoginResource.ElfelejtettJelszo)</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin>
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Roboto+Condensed:wght@300;400;700&display=swap" rel="stylesheet">
|
||||
<link rel="icon" href="../../favicon.ico" type="image/x-icon" />
|
||||
<script src='https://www.google.com/recaptcha/api.js?hl=hu'></script>
|
||||
@Styles.Render("~/Content/css", "~/Content/kretaControls")
|
||||
@Styles.Render(Request.Browser.IsMobileDevice ? "~/Content/kretaMobileCss" : "~/Content/kretaCss")
|
||||
@Scripts.Render("~/bundles/document-register-element")
|
||||
@Scripts.Render("~/bundles/modernizr")
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
@Scripts.Render("~/bundles/js")
|
||||
@Scripts.Render("~/bundles/kendo")
|
||||
@Scripts.Render("~/bundles/KretaComboBoxHelper")
|
||||
@Scripts.Render("~/bundles/KretaWindowHelper")
|
||||
|
||||
@Html.Raw(Kreta.Core.Analytics.Client.Factory.GetInstance())
|
||||
|
||||
<style>
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
font-family: "Open Sans";
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #445261;
|
||||
background-color: #385765;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo {
|
||||
position: relative;
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .row {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo input[type="text"]:hover,
|
||||
#elfelejtettJelszo input.k-textbox:hover,
|
||||
#elfelejtettJelszo input[type="password"]:hover {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
background-color: #e5e9ec;
|
||||
border: 1px solid #30a8cb;
|
||||
padding: 0 5px;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo input[type="text"]:focus,
|
||||
#elfelejtettJelszo input[type="password"]:focus,
|
||||
#elfelejtettJelszo input[type="text"]:active,
|
||||
#elfelejtettJelszo input.k-textbox:active,
|
||||
#elfelejtettJelszo input[type="password"]:active {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
background-color: white;
|
||||
border: 1px solid #30a8cb;
|
||||
padding: 0 5px;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo input[type="text"],
|
||||
#elfelejtettJelszo input.k-textbox,
|
||||
#elfelejtettJelszo input[type="password"],
|
||||
#elfelejtettJelszo select {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
background-color: #e5e9ec;
|
||||
border: none;
|
||||
padding: 0 6px;
|
||||
outline: 0;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
font-family: "Open Sans";
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_main {
|
||||
height: auto;
|
||||
padding-top: 4%;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_logo {
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
width: 400px;
|
||||
display: block;
|
||||
background-position: center center;
|
||||
height: 100px;
|
||||
padding-top: 25px;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_main .elfelejtettJelszo_container {
|
||||
margin-left: 20%;
|
||||
margin-right: 20%;
|
||||
display: block;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_header {
|
||||
background-color: #30a8cb;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_content {
|
||||
padding: 20px;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_separator {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_button {
|
||||
position: relative;
|
||||
float: right;
|
||||
height: 36px;
|
||||
width: 100px;
|
||||
padding: 5px 10px;
|
||||
background-color: #30a8cb;
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_button:hover {
|
||||
position: relative;
|
||||
float: right;
|
||||
width: 100px;
|
||||
padding: 5px 10px;
|
||||
background-color: #5BB2CB;
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .elfelejtettJelszo_foot {
|
||||
padding: 20px 0;
|
||||
margin-top: 200px;
|
||||
margin: 0 auto;
|
||||
width: 400px;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: #bac8d5;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .ElfelejtettJelszo {
|
||||
padding-top: 8px;
|
||||
color: #bac8d5;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .ElfelejtettJelszo a {
|
||||
color: #5c6a79 !important;
|
||||
-moz-text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#elfelejtettJelszo .BejelentkezesDiv {
|
||||
float: right;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.g-recaptcha {
|
||||
margin-top: 5px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@@media screen and (max-width: 600px) {
|
||||
.k-widget {
|
||||
width: 90vw !important;
|
||||
}
|
||||
|
||||
.modalContent > div:first-child {
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
.k-window-content {
|
||||
min-height: 205px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@{ Html.RenderPartial("Globalization"); }
|
||||
<div id="elfelejtettJelszo">
|
||||
<div class="elfelejtettJelszo_main">
|
||||
<div class="elfelejtettJelszo_logo">
|
||||
<img src="~/App_Themes/Skin_Kreta_Gfx/content/images/kreta_feher_login.png" alt="elfelejtettJelszo" />
|
||||
</div>
|
||||
|
||||
@using (Html.KretaForm("ElfelejtettJelszoForm"))
|
||||
{
|
||||
<div class="elfelejtettJelszo_container">
|
||||
<div class="elfelejtettJelszo_header">
|
||||
<h4 class="elfelejtettJelszo_title">
|
||||
<span>@(LoginResource.ElfelejtettJelszo)</span>
|
||||
</h4>
|
||||
</div>
|
||||
@Html.KretaValidationSummary()
|
||||
<div class="elfelejtettJelszo_content container-fluid">
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.BejelentkezesiNev, new Dictionary<string, object> { { "placeholder", AdminisztracioResource.Felhasznalonev } }).RenderWithName(3, 9)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.EmailCim, new Dictionary<string, object> { { "placeholder", AdminisztracioResource.EmailCim } }).RenderWithName(3, 9)
|
||||
</div>
|
||||
|
||||
<div style="height:30px">
|
||||
<div class="ElfelejtettJelszo">
|
||||
@Html.ActionLink(LoginResource.VisszaABejelentkezesre, "Index", "Login")
|
||||
</div>
|
||||
<div class="BejelentkezesDiv">
|
||||
<input role="button" type="button" id="submitSend" value="@LoginResource.Elkuld" onclick="ElfelejtettJelszoHelper.send();" class="elfelejtettJelszo_button" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="g-recaptcha" data-type="image" data-theme="light" data-sitekey="@ApplicationData.ReCaptchaPublicKey"></div>
|
||||
}
|
||||
</div>
|
||||
<div class="elfelejtettJelszo_foot">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
var ElfelejtettJelszoHelper = (function () {
|
||||
var helper = function () { };
|
||||
|
||||
helper.send = function () { send(); };
|
||||
|
||||
function send() {
|
||||
$("#submitSend").attr("disabled", "");
|
||||
var data = $("#ElfelejtettJelszoForm").toObject();
|
||||
|
||||
data.ReCaptcha = grecaptcha.getResponse();
|
||||
AjaxHelper.DoValidationPost("@Url.Action("LinkKuldes", "ElfelejtettJelszo")",
|
||||
"ElfelejtettJelszoForm",
|
||||
data,
|
||||
function (answer) {
|
||||
KretaWindowHelper.feedbackWindow("", answer.Message, !answer.Success, function () { sendCallback(answer); });
|
||||
},
|
||||
sendCallback);
|
||||
}
|
||||
|
||||
function sendCallback(answer) {
|
||||
$("#submitSend").removeAttr("disabled");
|
||||
|
||||
if (typeof (answer) !== "undefined" && answer.Success) {
|
||||
location.href = "@Url.Action("Index", "Login", new { Area = "Adminisztracio" })";
|
||||
}
|
||||
else {
|
||||
grecaptcha.reset();
|
||||
}
|
||||
}
|
||||
|
||||
$(document).keypress(function (event) {
|
||||
if (event.keyCode === 13) {
|
||||
$("#submitSend").click();
|
||||
}
|
||||
});
|
||||
|
||||
return helper;
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue