init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,47 @@
|
|||
@using Kreta.Framework;
|
||||
@using Kreta.Web.Areas.Adminisztracio.Models;
|
||||
|
||||
@model ProfilModel
|
||||
|
||||
<script type="text/javascript">
|
||||
var JelszoModositasHelper = (function () {
|
||||
var jelszoModositasHelper = function () { };
|
||||
|
||||
var formName = "JelszoModositasForm";
|
||||
|
||||
jelszoModositasHelper.changePassword = function () {
|
||||
var url = "@Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ProfilApi", action = "SaveProfilData" })";
|
||||
AjaxHelper.DoPostElement(url, formName, newSaveFeedBackOk);
|
||||
}
|
||||
|
||||
function newSaveFeedBackOk() {
|
||||
KretaWindowHelper.feedbackWindow("@(StringResourcesUtil.GetString(366))" /*Siker*/, "Jelszó módosítva");
|
||||
}
|
||||
|
||||
return jelszoModositasHelper;
|
||||
})();
|
||||
</script>
|
||||
|
||||
@if (Model.JelszoValtoztatasNemLehetseges)
|
||||
{
|
||||
<div>@(StringResourcesUtil.GetString(3987)) @*A kréta rendszerben a jelszóváltoztatás nem engedélyezett!*@</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
using (Html.KretaForm("JelszoModositasForm"))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
|
||||
<div class="row">
|
||||
@Html.KretaPasswordFor(x => x.JelenlegiJelszo).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaPasswordFor(x => x.UjJelszo).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaPasswordFor(x => x.UjJelszoMegerositese).RenderWithName()
|
||||
</div>
|
||||
@Html.KretaSaveButton("JelszoModositasSaveBtn", "JelszoModositasHelper.changePassword")
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue