Line 1: #pragma checksum "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B63D68296148ACC331DD42DC4784BEAD59BA72ED"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using System.Web.Optimization;
Line 28: using UzaktanEgitimApp.WebSite.Models;
Line 29: using UzaktanEgitimApp.Utility;
Line 30:
Line 31: #line 1 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 32: using UzaktanEgitimApp.Model.ViewModels.Web;
Line 33:
Line 34: #line default
Line 35: #line hidden
Line 36:
Line 37:
Line 38: public class _Page_Views_PasswordReset_Index_cshtml : System.Web.Mvc.WebViewPage<PasswordResetVm> {
Line 39:
Line 40: #line hidden
Line 41:
Line 42: public _Page_Views_PasswordReset_Index_cshtml() {
Line 43: }
Line 44:
Line 45: protected ASP.global_asax ApplicationInstance {
Line 46: get {
Line 47: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 48: }
Line 49: }
Line 50:
Line 51: public override void Execute() {
Line 52: WriteLiteral("\r\n");
Line 53:
Line 54:
Line 55: #line 5 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 56:
Line 57: Html.EnableClientValidation();
Line 58: Html.EnableUnobtrusiveJavaScript();
Line 59: ViewBag.Title = "Şifre Yenile";
Line 60: ViewBag.Description = "Vektörel Bilişim | Şifre Yenile";
Line 61: Layout = "~/Views/Shared/_Layout.cshtml";
Line 62:
Line 63:
Line 64: #line default
Line 65: #line hidden
Line 66: WriteLiteral("\r\n\r\n<script");
Line 67:
Line 68: WriteAttribute("src", Tuple.Create(" src=\"", 313), Tuple.Create("\"", 353)
Line 69: , Tuple.Create(Tuple.Create("", 319), Tuple.Create<System.Object, System.Int32>(Href("~/assets/js/jquery.validate.min.js")
Line 70: , 319), false)
Line 71: );
Line 72:
Line 73: WriteLiteral("></script>\r\n<script");
Line 74:
Line 75: WriteAttribute("src", Tuple.Create(" src=\"", 373), Tuple.Create("\"", 425)
Line 76: , Tuple.Create(Tuple.Create("", 379), Tuple.Create<System.Object, System.Int32>(Href("~/assets/js/jquery.validate.unobtrusive.min.js")
Line 77: , 379), false)
Line 78: );
Line 79:
Line 80: WriteLiteral("></script>\r\n<script");
Line 81:
Line 82: WriteAttribute("src", Tuple.Create(" src=\"", 445), Tuple.Create("\"", 489)
Line 83: , Tuple.Create(Tuple.Create("", 451), Tuple.Create<System.Object, System.Int32>(Href("~/assets/js/jquery.unobtrusive-ajax.js")
Line 84: , 451), false)
Line 85: );
Line 86:
Line 87: WriteLiteral("></script>\r\n\r\n<section");
Line 88:
Line 89: WriteAttribute("class", Tuple.Create(" class=\"", 512), Tuple.Create("\"", 563)
Line 90:
Line 91: #line 17 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 92: , Tuple.Create(Tuple.Create("", 520), Tuple.Create<System.Object, System.Int32>(mobilcihaz ?"padding-y-0":"padding-y-30"
Line 93:
Line 94: #line default
Line 95: #line hidden
Line 96: , 520), false)
Line 97: );
Line 98:
Line 99: WriteLiteral(">\r\n <div");
Line 100:
Line 101: WriteLiteral(" class=\"container marginBottom-15\"");
Line 102:
Line 103: WriteLiteral(">\r\n <div");
Line 104:
Line 105: WriteLiteral(" class=\"row\"");
Line 106:
Line 107: WriteLiteral(">\r\n <div");
Line 108:
Line 109: WriteLiteral(" class=\"col-lg-5 mx-auto\"");
Line 110:
Line 111: WriteLiteral(">\r\n <div");
Line 112:
Line 113: WriteLiteral(" class=\"card\"");
Line 114:
Line 115: WriteLiteral(">\r\n <div");
Line 116:
Line 117: WriteLiteral(" class=\"card-header border-bottom\"");
Line 118:
Line 119: WriteLiteral(">\r\n <h4");
Line 120:
Line 121: WriteLiteral(" class=\"mt-4\"");
Line 122:
Line 123: WriteLiteral(">\r\n Şifre Yenileme\r\n </h4>\r\n " +
Line 124: " </div>\r\n <div");
Line 125:
Line 126: WriteLiteral(" class=\"card-body\"");
Line 127:
Line 128: WriteLiteral(">\r\n <center");
Line 129:
Line 130: WriteLiteral(" class=\"font-size-16 mb-lg-auto\"");
Line 131:
Line 132: WriteLiteral(">Şifre yenileme kodu kayıtlı e-posta adresinize gönderilecektir.</center>\r\n " +
Line 133: " <br />\r\n\r\n");
Line 134:
Line 135:
Line 136: #line 31 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 137:
Line 138:
Line 139: #line default
Line 140: #line hidden
Line 141:
Line 142: #line 31 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 143: using (Html.BeginForm(null, null, FormMethod.Post, new { id = "frmFormBilgisi", @class = "form-horizontal", @autocomplete = "off" }))
Line 144: {
Line 145:
Line 146:
Line 147: #line default
Line 148: #line hidden
Line 149:
Line 150: #line 33 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 151: Write(Html.AntiForgeryToken());
Line 152:
Line 153:
Line 154: #line default
Line 155: #line hidden
Line 156:
Line 157: #line 33 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 158:
Line 159:
Line 160:
Line 161:
Line 162: #line default
Line 163: #line hidden
Line 164: WriteLiteral(" <input");
Line 165:
Line 166: WriteLiteral(" type=\"hidden\"");
Line 167:
Line 168: WriteLiteral(" name=\"Key\"");
Line 169:
Line 170: WriteAttribute("value", Tuple.Create(" value=\"", 1445), Tuple.Create("\"", 1465)
Line 171:
Line 172: #line 35 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 173: , Tuple.Create(Tuple.Create("", 1453), Tuple.Create<System.Object, System.Int32>(ViewBag.Key
Line 174:
Line 175: #line default
Line 176: #line hidden
Line 177: , 1453), false)
Line 178: );
Line 179:
Line 180: WriteLiteral(" />\r\n");
Line 181:
Line 182: WriteLiteral(" <div");
Line 183:
Line 184: WriteLiteral(" class=\"sidebar-block\"");
Line 185:
Line 186: WriteLiteral(">\r\n <div");
Line 187:
Line 188: WriteLiteral(" class=\"alert alert-danger\"");
Line 189:
Line 190: WriteLiteral(" style=\"display: none;\"");
Line 191:
Line 192: WriteLiteral(" id=\"ErrorMessage\"");
Line 193:
Line 194: WriteLiteral(">\r\n <span");
Line 195:
Line 196: WriteLiteral(" id=\"ErroMessgeResult\"");
Line 197:
Line 198: WriteLiteral("></span>\r\n </div>\r\n </d" +
Line 199: "iv>\r\n");
Line 200:
Line 201: WriteLiteral(" <div");
Line 202:
Line 203: WriteLiteral(" class=\"form-group\"");
Line 204:
Line 205: WriteLiteral(">\r\n <div");
Line 206:
Line 207: WriteLiteral(" class=\"col-md-12\"");
Line 208:
Line 209: WriteLiteral(">\r\n <div");
Line 210:
Line 211: WriteLiteral(" class=\"input-icon\"");
Line 212:
Line 213: WriteLiteral(">\r\n");
Line 214:
Line 215: WriteLiteral(" ");
Line 216:
Line 217:
Line 218: #line 44 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 219: Write(Html.TextBoxFor(model => model.Email, new { @placeholder = "E-Posta Adresiniz", @autocomplete = "off", @class = "form-control input-lg" }));
Line 220:
Line 221:
Line 222: #line default
Line 223: #line hidden
Line 224: WriteLiteral("\r\n");
Line 225:
Line 226: WriteLiteral(" ");
Line 227:
Line 228:
Line 229: #line 45 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 230: Write(Html.ValidationMessageFor(model => model.Email));
Line 231:
Line 232:
Line 233: #line default
Line 234: #line hidden
Line 235: WriteLiteral("\r\n </div>\r\n " +
Line 236: " <button button");
Line 237:
Line 238: WriteLiteral(" id=\"btnFormSubmit\"");
Line 239:
Line 240: WriteLiteral(" type=\"submit\"");
Line 241:
Line 242: WriteLiteral(" class=\"btn btn-block btn-outline-info marginTop-30\"");
Line 243:
Line 244: WriteLiteral(" data-toggle=\"modal\"");
Line 245:
Line 246: WriteLiteral(" data-target=\"#modal__Vertically-centered\"");
Line 247:
Line 248: WriteLiteral(">Gönder</button>\r\n </div>\r\n\r\n " +
Line 249: " </div>\r\n");
Line 250:
Line 251:
Line 252: #line 51 "C:\inetpub\wwwroot\eOgrenme\Views\PasswordReset\Index.cshtml"
Line 253: }
Line 254:
Line 255:
Line 256: #line default
Line 257: #line hidden
Line 258: WriteLiteral(" <p");
Line 259:
Line 260: WriteLiteral(" class=\"my-5 text-center\"");
Line 261:
Line 262: WriteLiteral(">\r\n Üyeliğiniz yok mu? <a");
Line 263:
Line 264: WriteAttribute("href", Tuple.Create(" href=\"", 2695), Tuple.Create("\"", 2710)
Line 265: , Tuple.Create(Tuple.Create("", 2702), Tuple.Create<System.Object, System.Int32>(Href("~/signup")
Line 266: , 2702), false)
Line 267: );
Line 268:
Line 269: WriteLiteral(" class=\"text-danger\"");
Line 270:
Line 271: WriteLiteral(">Üye Olun</a>\r\n </p>\r\n\r\n </div>\r\n " +
Line 272: " </div>\r\n </div>\r\n </div>\r\n </div>\r\n</section>\r\n\r\n" +
Line 273: "\r\n<script");
Line 274:
Line 275: WriteLiteral(" type=\"text/javascript\"");
Line 276:
Line 277: WriteLiteral(">\r\n $(function () {\r\n $(\"#btnFormSubmit\").click(function (evt) {\r\n " +
Line 278: " evt.preventDefault();\r\n var isvalid = $(\'form#frmFormBilgisi\')" +
Line 279: ".valid();\r\n if (isvalid) {\r\n $(\"#btnFormSubmit\").hide(" +
Line 280: ");\r\n $(\"#faSpin\").show();\r\n $(\"#ErrorMessage\").hid" +
Line 281: "e();\r\n $(\"#ErroMessgeResult\").html(\"\");\r\n $(\"#Erro" +
Line 282: "rMessage\").addClass(\"alert-danger\").removeClass(\"alert-success\");\r\n " +
Line 283: " AddAntiForgeryToken = function (data) {\r\n data.__RequestVe" +
Line 284: "rificationToken = $(\'#frmFormBilgisi input[name=__RequestVerificationToken]\').va" +
Line 285: "l();\r\n return data;\r\n };\r\n $.aj" +
Line 286: "ax({\r\n type: \"POST\",\r\n url: \"/PasswordRese" +
Line 287: "t/index/\",\r\n content: \"application/json; charset=utf-8\",\r\n " +
Line 288: " dataType: \"json\",\r\n data: AddAntiForgeryToke" +
Line 289: "n($(\'form#frmFormBilgisi\').serialize()),\r\n success: function " +
Line 290: "(response) {\r\n var summaryUl = \"<ul>\";\r\n " +
Line 291: " if (response.status === \'validationerror\') {\r\n " +
Line 292: " $.each(response.errors,\r\n function (a, b) {\r\n " +
Line 293: " summaryUl += \"<li>\" + b.ErrorMessage + \"</li>\";" +
Line 294: "\r\n });\r\n summaryUl += " +
Line 295: "\"</ul>\";\r\n $(\"#ErrorMessage\").html(summaryUl);\r\n " +
Line 296: " $(\"#ErrorMessage\").show();\r\n $" +
Line 297: "(\"#faSpin\").hide();\r\n $(\"#btnFormSubmit\").show();\r\n " +
Line 298: " }\r\n else if (response.status === \'e" +
Line 299: "rror\') {\r\n $(\"#ErrorMessage\").show();\r\n " +
Line 300: " $(\"#faSpin\").hide();\r\n $(\"#ErroMessgeRe" +
Line 301: "sult\").html(response.message);\r\n $(\"#faSpin\").hide();" +
Line 302: "\r\n $(\"#btnFormSubmit\").show();\r\n " +
Line 303: " }\r\n else {\r\n $(\"#ErrorMessa" +
Line 304: "ge\").removeClass(\"alert-danger\").addClass(\"alert-success\");\r\n " +
Line 305: " $(\"#ErrorMessage\").hide();\r\n $(\"#faSpin\").hi" +
Line 306: "de();\r\n $(\"#ErroMessgeResult\").html(response.message)" +
Line 307: ";\r\n window.location.href = \"/PasswordReset/Mesaj\";\r\n " +
Line 308: " }\r\n },\r\n error: fun" +
Line 309: "ction (xhr, textStatus, errorThrown) {\r\n $(\"#ErrorMessage" +
Line 310: "\").html(\"Hata:\" + errorThrown);\r\n $(\"#faSpin\").hide();\r\n " +
Line 311: " $(\"#btnFormSubmit\").show();\r\n }\r\n " +
Line 312: " });\r\n }\r\n });\r\n });\r\n</script>\r\n\r\n");
Line 313:
Line 314: }
Line 315: }
Line 316: }
Line 317:
|