コード例 #1
0
ファイル: Default.aspx.cs プロジェクト: gsantoshg74/mixerp
        protected void Page_Init(object sender, EventArgs e)
        {
            using (HtmlLink stylesheet = new HtmlLink())
            {
                string path = "/bundles/stylesheets/master-page.min.css";

                if (CultureManager.IsRtl())
                {
                    path = path.Replace("min.css", "rtl.min.css");
                }

                stylesheet.Href = path;
                stylesheet.Attributes["rel"]   = "stylesheet";
                stylesheet.Attributes["type"]  = "text/css";
                stylesheet.Attributes["media"] = "all";
                this.Page.Header.Controls.Add(stylesheet);
            }

            if (Offices.GetOffices(AppUsers.GetCurrentUserDB()).Any())
            {
                this.Response.Redirect("~/SignIn.aspx");
            }

            this.RegisterJavascript();
        }
コード例 #2
0
        protected void Page_Init(object sender, EventArgs e)
        {
            using (HtmlLink stylesheet = new HtmlLink())
            {
                string path = "/Stylesheets/report.min.css";

                if (CultureManager.IsRtl())
                {
                    path = path.Replace("min.css", "rtl.min.css");
                }

                stylesheet.Href = path;
                stylesheet.Attributes["rel"]   = "stylesheet";
                stylesheet.Attributes["type"]  = "text/css";
                stylesheet.Attributes["media"] = "all";
                this.Page.Header.Controls.Add(stylesheet);
            }
        }
コード例 #3
0
        protected void Page_Init(object sender, EventArgs e)
        {
            using (HtmlLink stylesheet = new HtmlLink())
            {
                string path = "/bundles/master-page.css";

                if (CultureManager.IsRtl())
                {
                    path = path.Replace("css", "rtl.css");
                }


                stylesheet.Href = path;
                stylesheet.Attributes["rel"]   = "stylesheet";
                stylesheet.Attributes["type"]  = "text/css";
                stylesheet.Attributes["media"] = "all";
                this.Page.Header.Controls.Add(stylesheet);
            }

            CustomInclude.IncludeCustomJavascript(this.Page);
        }
コード例 #4
0
        protected void Page_Init(object sender, EventArgs e)
        {
            using (HtmlLink stylesheet = new HtmlLink())
            {
                string path = "/bundles/stylesheets/master-page.min.css";

                if (CultureManager.IsRtl())
                {
                    path = path.Replace("min.css", "rtl.min.css");
                }

                stylesheet.Href = path;
                stylesheet.Attributes["rel"]   = "stylesheet";
                stylesheet.Attributes["type"]  = "text/css";
                stylesheet.Attributes["media"] = "all";
                this.Page.Header.Controls.Add(stylesheet);
            }

            this.CreateControls(this.Placeholder1);
            this.CreateDimmer(this.Placeholder1);
            this.AddJavascript();
        }
コード例 #5
0
        public override void Execute()
        {
            #line 3 "..\..\Views\ChangePassword\Index.cshtml"

            ViewBag.Title = "Change Password";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\ChangePassword\Index.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 215), Tuple.Create("\"", 263)

            #line 9 "..\..\Views\ChangePassword\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 222), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 222), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\ChangePassword\Index.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 307), Tuple.Create("\"", 351)

            #line 13 "..\..\Views\ChangePassword\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 314), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 314), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\ChangePassword\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded change password left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui stackable very relaxed padded grid\"");

            WriteLiteral(">\r\n            <div");

            WriteLiteral(" class=\"ten wide column\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"ui stackable form\"");

            WriteLiteral(">\r\n                    <div");

            WriteLiteral(" class=\"ui huge header\"");

            WriteLiteral(">Change Password</div>\r\n                    <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n                    <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                        <label");

            WriteLiteral(" for=\"UserNameInputText\"");

            WriteLiteral(">Username</label>\r\n                        <input");

            WriteLiteral(" type=\"text\"");

            WriteLiteral(" id=\"UserNameInputText\"");

            WriteLiteral(" maxlength=\"100\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" disabled=\"disabled\"");

            WriteLiteral(" readonly=\"readonly\"");

            WriteAttribute("value", Tuple.Create(" value=\"", 988), Tuple.Create("\"", 1023)

            #line 25 "..\..\Views\ChangePassword\Index.cshtml"
                           , Tuple.Create(Tuple.Create("", 996), Tuple.Create <System.Object, System.Int32>(AppUsers.GetCurrent().Name

            #line default
            #line hidden
                                                                                                            , 996), false)
                           );

            WriteLiteral(" />\r\n                    </div>\r\n                    <div");

            WriteLiteral(" class=\"two fields\"");

            WriteLiteral(">\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"OldPasswordInputPassword\"");

            WriteLiteral(">Old Password</label>\r\n                            <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral("\r\n                                   id=\"OldPasswordInputPassword\"");

            WriteLiteral("\r\n                                   required=\"\"");

            WriteLiteral("\r\n                                   maxlength=\"32\"");

            WriteLiteral("\r\n                                   data-validation-target=\".big.error\"");

            WriteLiteral(" />\r\n                        </div>\r\n                    </div>\r\n                " +
                         "    <div");

            WriteLiteral(" class=\"two fields\"");

            WriteLiteral(">\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"PasswordInputPassword\"");

            WriteLiteral(">New Password</label>\r\n                            <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral("\r\n                                   id=\"PasswordInputPassword\"");

            WriteLiteral("\r\n                                   required=\"\"");

            WriteLiteral("\r\n                                   maxlength=\"32\"");

            WriteLiteral("\r\n                                   data-validation-expression=\"^(?=.*\\d)(?=.*[a" +
                         "-z])(?=.*[A-Z]).{6,32}$\"");

            WriteLiteral("\r\n                                   data-validation-message=\"Password should con" +
                         "tain at least 6 characters with one uppercase, lowercase, and a number.\"");

            WriteLiteral("\r\n                                   data-validation-target=\".big.error\"");

            WriteLiteral("/>\r\n                        </div>\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"ConfirmPasswordInputPassword\"");

            WriteLiteral(">Confirm Password</label>\r\n                            <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral(" id=\"ConfirmPasswordInputPassword\"");

            WriteLiteral(" \r\n                                   data-match-target=\"PasswordInputPassword\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral("/>\r\n                        </div>\r\n                    </div>\r\n\r\n\r\n             " +
                         "       <div");

            WriteLiteral(" class=\"email address field\"");

            WriteLiteral(">\r\n                        <label");

            WriteLiteral(" for=\"EmailAddressInput\"");

            WriteLiteral(">Email</label>\r\n                        <input");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" id=\"EmailAddressInput\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral("/>\r\n                        <div");

            WriteLiteral(" class=\"ui pointing label\"");

            WriteLiteral(">Please leave this field empty</div>\r\n                    </div>\r\n\r\n             " +
                         "       <div");

            WriteLiteral(" class=\"big error vpad8\"");

            WriteLiteral("></div>\r\n                    <div");

            WriteLiteral(" class=\"ui blue button\"");

            WriteLiteral(" id=\"ChangePasswordButton\"");

            WriteLiteral(">Change My Password</div>\r\n                    <a");

            WriteLiteral(" class=\"ui negative button\"");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(">Cancel</a>\r\n                </div>\r\n            </div>\r\n            <div");

            WriteLiteral(" class=\"six wide column\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"ui positive message\"");

            WriteLiteral(">\r\n                    <div");

            WriteLiteral(" class=\"ui header\"");

            WriteLiteral(">Please Note</div>\r\n                    <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n                    We use cookies in our website.\r\n                    " +
                         "Please read the <a");

            WriteLiteral(" href=\"/site/legal/terms-of-service\"");

            WriteLiteral(">terms of service</a>\r\n                    before you create an account.\r\n       " +
                         "         </div>\r\n            </div>\r\n        </div>\r\n\r\n    </div>\r\n</div>\r\n\r\n<sc" +
                         "ript");

            WriteLiteral(" src=\"/i18n/resources.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/assets/js/backend.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/jssha1.5/src/sha.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/form.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/validator.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/ChangePassword/index.js\"");

            WriteLiteral("></script>\r\n<script>\r\n    var bigError = $(\".big.error\");\r\n    $(\".email.address." +
                         "field\").hide();\r\n\r\n    $(document).ready(function () {\r\n        window.validator" +
                         ".initialize($(\".change.password.segment\"));\r\n    });\r\n\r\n    $(\"#ChangePasswordBu" +
                         "tton\").click(function () {\r\n        function request(model) {\r\n            var u" +
                         "rl = \"/account/change-password\";\r\n            var data = JSON.stringify(model);\r" +
                         "\n            return window.getAjaxRequest(url, \"POST\", data);\r\n        };\r\n\r\n   " +
                         "     function validate() {\r\n            bigError.html(\"\");\r\n            var form" +
                         "El = $(\".change.password.segment\");\r\n\r\n            var isValid = window.validato" +
                         "r.validate(formEl);\r\n\r\n            var hp = $(\"#EmailAddressInput\").val();\r\n\r\n  " +
                         "          if (hp) {\r\n                isValid = false;\r\n            };\r\n\r\n       " +
                         "     return isValid;\r\n        };\r\n\r\n        bigError.html(\"\");\r\n\r\n        var is" +
                         "Valid = validate();\r\n        if (!isValid) {\r\n            return;\r\n        };\r\n\r" +
                         "\n\r\n        var formEl = $(\".change.password.segment\");\r\n        formEl.addClass(" +
                         "\"loading\");\r\n        var model = window.serializeForm(formEl);\r\n\r\n\r\n        var " +
                         "ajax = request(model);\r\n        ajax.success(function (response) {\r\n            " +
                         "if (response) {\r\n                window.location = \"/account/change-password/suc" +
                         "cess\";\r\n            }else{\r\n                alert(\"Sorry, we could not change yo" +
                         "ur password. Could you please  check your existing password and try again?\")\r\n  " +
                         "              formEl.removeClass(\"loading\");\r\n            };\r\n        });\r\n    }" +
                         ");\r\n\r\n</script>");
        }
コード例 #6
0
        public override void Execute()
        {
            WriteLiteral("\r\n");


            #line 3 "..\..\Views\SignUp\Welcome.cshtml"

            ViewBag.Title = "Welcome";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\SignUp\Welcome.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 171), Tuple.Create("\"", 219)

            #line 9 "..\..\Views\SignUp\Welcome.cshtml"
                               , Tuple.Create(Tuple.Create("", 178), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 178), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\SignUp\Welcome.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 263), Tuple.Create("\"", 307)

            #line 13 "..\..\Views\SignUp\Welcome.cshtml"
                               , Tuple.Create(Tuple.Create("", 270), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 270), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\SignUp\Welcome.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded signup left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui header\"");

            WriteLiteral(">Welcome</div>\r\n        <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n        <p>\r\n            Thank you registering on our website. Your acco" +
                         "unt has been successfully activated.\r\n        </p>\r\n        <a");

            WriteLiteral(" href=\"/account/sign-in\"");

            WriteLiteral(" class=\"ui small padded positive button\"");

            WriteLiteral(">Sign In</a>\r\n        <a");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(" class=\"ui small padded purple button\"");

            WriteLiteral(">Return Home</a>\r\n    </div>\r\n</div>\r\n");
        }
コード例 #7
0
        public override void Execute()
        {
            #line 2 "..\..\Views\ListedInSpamDatabase.cshtml"

            ViewBag.Title       = "Sign Up";
            Layout              = ViewBag.LayoutPath + ViewBag.Layout;
            ViewBag.Description = "Create your account on our site.";


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\ListedInSpamDatabase.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 232), Tuple.Create("\"", 280)

            #line 9 "..\..\Views\ListedInSpamDatabase.cshtml"
                               , Tuple.Create(Tuple.Create("", 239), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 239), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\ListedInSpamDatabase.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 324), Tuple.Create("\"", 368)

            #line 13 "..\..\Views\ListedInSpamDatabase.cshtml"
                               , Tuple.Create(Tuple.Create("", 331), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 331), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\ListedInSpamDatabase.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui very relaxed tall container\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui red huge header\"");

            WriteLiteral(">Registration Closed</div>\r\n    <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n    <div>\r\n        <p>We are sorry but we are not accepting new registra" +
                         "tion this time.</p>\r\n\r\n        <p>Sorry for the inconvenience. Please check back" +
                         " again later.</p>\r\n    </div>\r\n</div>\r\n");
        }
コード例 #8
0
        public override void Execute()
        {
            WriteLiteral("\r\n");


            #line 3 "..\..\Views\SignUp\EmailSent.cshtml"

            ViewBag.Title = "Email Sent";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\SignUp\EmailSent.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 174), Tuple.Create("\"", 222)

            #line 9 "..\..\Views\SignUp\EmailSent.cshtml"
                               , Tuple.Create(Tuple.Create("", 181), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 181), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\SignUp\EmailSent.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 266), Tuple.Create("\"", 310)

            #line 13 "..\..\Views\SignUp\EmailSent.cshtml"
                               , Tuple.Create(Tuple.Create("", 273), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 273), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\SignUp\EmailSent.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded signup left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui header\"");

            WriteLiteral(">Please Confirm Your Registration</div>\r\n        <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n        <p>\r\n            Thank you for registering! A confirmation email" +
                         " has been sent to your email address.\r\n            Please click on the link in t" +
                         "hat email to activate your account.\r\n        </p>\r\n\r\n        <a");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(" class=\"ui small padded purple button\"");

            WriteLiteral(">Return Home</a>\r\n    </div>\r\n</div>\r\n");
        }
コード例 #9
0
        public override void Execute()
        {
            #line 2 "..\..\Views\SignUp\Index.cshtml"

            ViewBag.Title       = "Sign Up";
            Layout              = ViewBag.LayoutPath + ViewBag.Layout;
            ViewBag.Description = "Create your account on our site.";


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\SignUp\Index.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 232), Tuple.Create("\"", 280)

            #line 9 "..\..\Views\SignUp\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 239), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 239), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\SignUp\Index.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 324), Tuple.Create("\"", 368)

            #line 13 "..\..\Views\SignUp\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 331), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 331), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\SignUp\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded signup left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui stackable very relaxed padded grid\"");

            WriteLiteral(">\r\n            <div");

            WriteLiteral(" class=\"ten wide column\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"ui stackable form\"");

            WriteLiteral(">\r\n                    <div");

            WriteLiteral(" class=\"ui huge header\"");

            WriteLiteral(">Create an Account</div>\r\n                    <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n                    <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                        <label");

            WriteLiteral(" for=\"NameInputText\"");

            WriteLiteral(">Your Name</label>\r\n                        <input");

            WriteLiteral(" type=\"text\"");

            WriteLiteral(" id=\"NameInputText\"");

            WriteLiteral(" maxlength=\"100\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n                    </div>\r\n                    <div");

            WriteLiteral(" class=\"two fields\"");

            WriteLiteral(">\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"PhoneInputTel\"");

            WriteLiteral(">Phone Number</label>\r\n                            <input");

            WriteLiteral(" id=\"PhoneInputTel\"");

            WriteLiteral(" type=\"tel\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(">\r\n                        </div>\r\n                    </div>\r\n                  " +
                         "  <div");

            WriteLiteral(" class=\"two fields\"");

            WriteLiteral(">\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"EmailInputEmail\"");

            WriteLiteral(">Email Address</label>\r\n                            <input");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" id=\"EmailInputEmail\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n                        </div>\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"ConfirmEmailInputEmail\"");

            WriteLiteral(">Confirm Email</label>\r\n                            <input");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" id=\"ConfirmEmailInputEmail\"");

            WriteLiteral(" data-match-target=\"EmailInputEmail\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n                        </div>\r\n                    </div>\r\n                " +
                         "    <div");

            WriteLiteral(" class=\"two fields\"");

            WriteLiteral(">\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"PasswordInputPassword\"");

            WriteLiteral(">Password</label>\r\n                            <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral("\r\n                                   id=\"PasswordInputPassword\"");

            WriteLiteral("\r\n                                   required=\"\"");

            WriteLiteral("\r\n                                   maxlength=\"32\"");

            WriteLiteral("\r\n                                   data-validation-expression=\"^(?=.*\\d)(?=.*[a" +
                         "-z])(?=.*[A-Z]).{6,32}$\"");

            WriteLiteral("\r\n                                   data-validation-message=\"Password should con" +
                         "tain at least 6 characters with one uppercase, lowercase, and a number.\"");

            WriteLiteral("\r\n                                   data-validation-target=\".big.error\"");

            WriteLiteral("/>\r\n                        </div>\r\n                        <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"ConfirmPasswordInputPassword\"");

            WriteLiteral(">Confirm Password</label>\r\n                            <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral(" id=\"ConfirmPasswordInputPassword\"");

            WriteLiteral(" \r\n                                   data-match-target=\"PasswordInputPassword\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral("/>\r\n                        </div>\r\n                    </div>\r\n\r\n\r\n             " +
                         "       <div");

            WriteLiteral(" class=\"email address field\"");

            WriteLiteral(">\r\n                        <label");

            WriteLiteral(" for=\"EmailAddressInput\"");

            WriteLiteral(">Email</label>\r\n                        <input");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" id=\"EmailAddressInput\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral("/>\r\n                        <div");

            WriteLiteral(" class=\"ui pointing label\"");

            WriteLiteral(">Please leave this field empty</div>\r\n                    </div>\r\n\r\n             " +
                         "       <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                        <div");

            WriteLiteral(" class=\"ui checkbox\"");

            WriteLiteral(">\r\n                            <input");

            WriteLiteral(" id=\"AgreementCheckbox\"");

            WriteLiteral(" type=\"checkbox\"");

            WriteLiteral(">\r\n                            <label");

            WriteLiteral(" for=\"AgreementCheckbox\"");

            WriteLiteral(">I agree to the terms and conditions.</label>\r\n                        </div>\r\n  " +
                         "                  </div>\r\n                    <div");

            WriteLiteral(" class=\"big error vpad8\"");

            WriteLiteral("></div>\r\n                    <div");

            WriteLiteral(" class=\"ui blue button\"");

            WriteLiteral(" id=\"SignUpButton\"");

            WriteLiteral(">Sign Me Up</div>\r\n                    <a");

            WriteLiteral(" class=\"ui negative button\"");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(">Cancel</a>\r\n                </div>\r\n            </div>\r\n            <div");

            WriteLiteral(" class=\"six wide column\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"ui positive message\"");

            WriteLiteral(">\r\n                    <div");

            WriteLiteral(" class=\"ui header\"");

            WriteLiteral(">Please Note</div>\r\n                    <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n                    We use cookies in our website.\r\n                    " +
                         "Please read the <a");

            WriteLiteral(" href=\"/site/legal/terms-of-use\"");

            WriteLiteral(">terms of use</a>\r\n                    before you create an account.\r\n           " +
                         "     </div>\r\n            </div>\r\n        </div>\r\n\r\n    </div>\r\n</div>\r\n\r\n<script" +
                         "");

            WriteLiteral(" src=\"/i18n/resources.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/core/frapid-ajax.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/core/validation.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/form.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/validator.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/SignUp/signup.js\"");

            WriteLiteral("></script>\r\n");
        }
コード例 #10
0
        public override void Execute()
        {
            WriteLiteral("\r\n");


            #line 3 "..\..\Views\Reset\ResetEmailSent.cshtml"

            ViewBag.Title = "Email Sent";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\Reset\ResetEmailSent.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 174), Tuple.Create("\"", 222)

            #line 9 "..\..\Views\Reset\ResetEmailSent.cshtml"
                               , Tuple.Create(Tuple.Create("", 181), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 181), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\Reset\ResetEmailSent.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 266), Tuple.Create("\"", 310)

            #line 13 "..\..\Views\Reset\ResetEmailSent.cshtml"
                               , Tuple.Create(Tuple.Create("", 273), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 273), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\Reset\ResetEmailSent.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded signup left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui header\"");

            WriteLiteral(">Reset Email Sent</div>\r\n        <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n        <p>\r\n            We have sent reset instructions on your email a" +
                         "ddress. Please follow the link on that email\r\n            to reset your account." +
                         "\r\n        </p>\r\n        <a");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(" class=\"ui small padded purple button\"");

            WriteLiteral(">Return Home</a>\r\n    </div>\r\n</div>\r\n");
        }
コード例 #11
0
ファイル: Index.generated.cs プロジェクト: sudesh1456/frapid
        public override void Execute()
        {
            #line 3 "..\..\Views\Reset\Index.cshtml"

            ViewBag.Title       = "Reset Your Account";
            Layout              = ViewBag.LayoutPath + ViewBag.Layout;
            ViewBag.Description = "To reset your password, enter the email address which is registered in our website. We will send you an email on your email address with instructions to help you reset your password.";


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 8 "..\..\Views\Reset\Index.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 433), Tuple.Create("\"", 481)

            #line 10 "..\..\Views\Reset\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 440), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 440), false)
                               );

                WriteLiteral(" />\r\n");


            #line 11 "..\..\Views\Reset\Index.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 525), Tuple.Create("\"", 569)

            #line 14 "..\..\Views\Reset\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 532), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 532), false)
                               );

                WriteLiteral(" />\r\n");


            #line 15 "..\..\Views\Reset\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n<div");

            WriteLiteral(" class=\"ui attached padded reset password left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui huge header\"");

            WriteLiteral(">Forgot Your Password?</div>\r\n        <div");

            WriteLiteral(" class=\"ui positive message\"");

            WriteLiteral(@">
            To reset your plainPassword, enter the email address which is registered in our website.
            We will send you an email on your email address with instructions to help you
            reset your plainPassword.
        </div>
        <div");

            WriteLiteral(" class=\"ui stackable form\"");

            WriteLiteral(" style=\"max-width: 400px;\"");

            WriteLiteral(">\r\n            <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                <label>Enter Your Email Address</label>\r\n                <inpu" +
                         "t");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" id=\"EmailInputEmail\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n            </div>\r\n            <div");

            WriteLiteral(" class=\"hidden field\"");

            WriteLiteral(">\r\n                <label>Enter Your Email Address Again</label>\r\n               " +
                         " <input");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" id=\"ConfirmEmailInputEmail\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n            </div>\r\n\r\n            <input");

            WriteLiteral(" type=\"hidden\"");

            WriteLiteral(" id=\"TokenInputHidden\"");

            WriteAttribute("value", Tuple.Create(" value=\"", 1549), Tuple.Create("\"", 1569)

            #line 36 "..\..\Views\Reset\Index.cshtml"
                           , Tuple.Create(Tuple.Create("", 1557), Tuple.Create <System.Object, System.Int32>(Model.Token

            #line default
            #line hidden
                                                                                                             , 1557), false)
                           );

            WriteLiteral("/>\r\n\r\n        </div>\r\n        <div");

            WriteLiteral(" class=\"big error vpad8\"");

            WriteLiteral("></div>\r\n        <button");

            WriteLiteral(" class=\"ui positive button\"");

            WriteLiteral(" id=\"ResetButton\"");

            WriteLiteral(">Reset My Account</button>\r\n        <a");

            WriteLiteral(" class=\"ui negative button\"");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(">Cancel</a>\r\n    </div>\r\n</div>\r\n<script");

            WriteLiteral(" src=\"/i18n/resources.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/assets/js/backend.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/form.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/validator.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/Reset/index.js\"");

            WriteLiteral("></script>\r\n");
        }
コード例 #12
0
        public override void Execute()
        {
            #line 2 "..\..\Views\ChangePassword\Success.cshtml"

            ViewBag.Title = "Change Password";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 6 "..\..\Views\ChangePassword\Success.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 177), Tuple.Create("\"", 225)

            #line 8 "..\..\Views\ChangePassword\Success.cshtml"
                               , Tuple.Create(Tuple.Create("", 184), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 184), false)
                               );

                WriteLiteral("/>\r\n");


            #line 9 "..\..\Views\ChangePassword\Success.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 268), Tuple.Create("\"", 312)

            #line 12 "..\..\Views\ChangePassword\Success.cshtml"
                               , Tuple.Create(Tuple.Create("", 275), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 275), false)
                               );

                WriteLiteral("/>\r\n");


            #line 13 "..\..\Views\ChangePassword\Success.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded left aligned segment\"");

            WriteLiteral(" style=\"min-height: 400px;\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui huge header\"");

            WriteLiteral(">Password was changed</div>\r\n        <div");

            WriteLiteral(" class=\"ui positive message\"");

            WriteLiteral(">Your password was changed successfully.</div>\r\n\r\n        <div");

            WriteLiteral(" class=\"ui small basic buttons\"");

            WriteLiteral(">\r\n            <a");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(" class=\"ui basic button\"");

            WriteLiteral(">Home</a>\r\n            <a");

            WriteLiteral(" href=\"/helpdesk\"");

            WriteLiteral(" class=\"ui basic button\"");

            WriteLiteral(">Customer Portal</a>\r\n        </div>\r\n    </div>\r\n</div>");
        }
コード例 #13
0
        public override void Execute()
        {
            WriteLiteral("<html>\r\n<head>\r\n    <meta");

            WriteLiteral(" charset=\"utf-8\"");

            WriteLiteral(">\r\n    <meta");

            WriteLiteral(" http-equiv=\"X-UA-Compatible\"");

            WriteLiteral(" content=\"IE=edge\"");

            WriteLiteral(">\r\n    <meta");

            WriteLiteral(" name=\"viewport\"");

            WriteLiteral(" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\"" +
                         "");

            WriteLiteral(">\r\n    <meta");

            WriteLiteral(" name=\"description\"");

            WriteLiteral(" content=\"Frapid Framework\"");

            WriteLiteral(" />\r\n    <!-- <link href=\"https://fonts.googleapis.com/css?family=Titillium+Web\" " +
                         "rel=\"stylesheet\" type=\"text/css\" /> -->\r\n    <title>\r\n");

            WriteLiteral("        ");


            #line 14 "..\..\Views\SignIn\Index.cshtml"
            Write(Titles.SignIn);


            #line default
            #line hidden
            WriteLiteral("\r\n    </title>\r\n");


            #line 16 "..\..\Views\SignIn\Index.cshtml"


            #line default
            #line hidden

            #line 16 "..\..\Views\SignIn\Index.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("        <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 627), Tuple.Create("\"", 675)

            #line 19 "..\..\Views\SignIn\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 634), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 634), false)
                               );

                WriteLiteral(" />\r\n");


            #line 20 "..\..\Views\SignIn\Index.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("        <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 737), Tuple.Create("\"", 781)

            #line 24 "..\..\Views\SignIn\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 744), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 744), false)
                               );

                WriteLiteral(" />\r\n");


            #line 25 "..\..\Views\SignIn\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 27 "..\..\Views\SignIn\Index.cshtml"


            #line default
            #line hidden

            #line 27 "..\..\Views\SignIn\Index.cshtml"
            if (!string.IsNullOrWhiteSpace(Model.GoogleSigninClientId))
            {
            #line default
            #line hidden
                WriteLiteral("    <!-- Google Sign In -->\r\n");

                WriteLiteral("        <meta");

                WriteLiteral(" name=\"google-signin-scope\"");

                WriteAttribute("content", Tuple.Create(" content=\"", 938), Tuple.Create("\"", 972)

            #line 30 "..\..\Views\SignIn\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 948), Tuple.Create <System.Object, System.Int32>(Model.GoogleSignInScope

            #line default
            #line hidden
                                                                                                                , 948), false)
                               );

                WriteLiteral(">\r\n");

                WriteLiteral("        <meta");

                WriteLiteral(" name=\"google-signin-client_id\"");

                WriteAttribute("content", Tuple.Create(" content=\"", 1020), Tuple.Create("\"", 1057)

            #line 31 "..\..\Views\SignIn\Index.cshtml"
                               , Tuple.Create(Tuple.Create("", 1030), Tuple.Create <System.Object, System.Int32>(Model.GoogleSigninClientId

            #line default
            #line hidden
                                                                                                                 , 1030), false)
                               );

                WriteLiteral(">\r\n");

                WriteLiteral("        <script");

                WriteLiteral(" src=\"https://apis.google.com/js/platform.js\"");

                WriteLiteral(" async defer></script>\r\n");


            #line 33 "..\..\Views\SignIn\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n    <script");

            WriteLiteral(" src=\"/i18n/resources.js\"");

            WriteLiteral("></script>\r\n    <script");

            WriteLiteral(" src=\"/assets/js/backend.js\"");

            WriteLiteral("></script>\r\n    <script");

            WriteLiteral(" src=\"/Scripts/jssha1.5/src/sha.js\"");

            WriteLiteral("></script>\r\n</head>\r\n<body");

            WriteLiteral(" id=\"SignInBody\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" id=\"signin-form\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui attached stackable padded segment\"");

            WriteLiteral(" id=\"SignInSegment\"");

            WriteLiteral(">\r\n            <img");

            WriteLiteral(" class=\"ui small image\"");

            WriteLiteral(" src=\"/Static/images/logo.png\"");

            WriteLiteral(">\r\n            <div");

            WriteLiteral(" class=\"ui big error large dividing header vpad8\"");

            WriteLiteral("></div>\r\n            <div");

            WriteLiteral(" class=\"ui toggle checkbox vpad8\"");

            WriteLiteral(">\r\n                <input");

            WriteLiteral(" id=\"SocialLoginCheckbox\"");

            WriteLiteral(" type=\"checkbox\"");

            WriteLiteral(">\r\n                <label");

            WriteLiteral(" for=\"SocialLoginCheckbox\"");

            WriteLiteral(">Social Login</label>\r\n            </div>\r\n            <form");

            WriteLiteral(" class=\"ui stackable login form\"");

            WriteLiteral(" id=\"LoginForm\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"EmailInputEmail\"");

            WriteLiteral(">Email Address</label>\r\n                    <div");

            WriteLiteral(" class=\"ui left icon input\"");

            WriteLiteral(">\r\n                        <i");

            WriteLiteral(" class=\"user icon\"");

            WriteLiteral("></i>\r\n                        <input");

            WriteLiteral(" id=\"EmailInputEmail\"");

            WriteLiteral(" placeholder=\"Email\"");

            WriteLiteral("\r\n                               autocapitalize=\"off\"");

            WriteLiteral(" autocorrect=\"off\"");

            WriteLiteral(" type=\"email\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n                    </div>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"PasswordInputPassword\"");

            WriteLiteral(">Password</label>\r\n                    <div");

            WriteLiteral(" class=\"ui left icon input\"");

            WriteLiteral(">\r\n                        <i");

            WriteLiteral(" class=\"lock icon\"");

            WriteLiteral("></i>\r\n                        <input");

            WriteLiteral(" id=\"PasswordInputPassword\"");

            WriteLiteral(" placeholder=\"Password\"");

            WriteLiteral(" type=\"password\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n                    </div>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"OfficeIdSelect\"");

            WriteLiteral(">Select Office</label>\r\n                    <select");

            WriteLiteral(" class=\"ui search office dropdown\"");

            WriteLiteral(" id=\"OfficeIdSelect\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral("></select>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"CultureSelect\"");

            WriteLiteral(">Select Language</label>\r\n                    <select");

            WriteLiteral(" class=\"ui search language dropdown\"");

            WriteLiteral(" id=\"CultureSelect\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral("></select>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <input");

            WriteLiteral(" type=\"hidden\"");

            WriteLiteral(" id=\"ChallengeInputHidden\"");

            WriteAttribute("value", Tuple.Create("\r\n                           value=\"", 3270), Tuple.Create("\"", 3322)

            #line 74 "..\..\Views\SignIn\Index.cshtml"
                           , Tuple.Create(Tuple.Create("", 3306), Tuple.Create <System.Object, System.Int32>(Model.Challenge

            #line default
            #line hidden
                                                                                                             , 3306), false)
                           );

            WriteLiteral(" />\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"ui buttons\"");

            WriteLiteral(">\r\n                    <button");

            WriteLiteral(" id=\"SignInButton\"");

            WriteLiteral(" title=\"CRTL + RETURN\"");

            WriteLiteral(" class=\"ui grey button\"");

            WriteLiteral(" type=\"submit\"");

            WriteLiteral(">\r\n                        Sign In\r\n                    </button>\r\n              " +
                         "      <a");

            WriteLiteral(" class=\"ui button\"");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(">Cancel</a>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"exception field\"");

            WriteLiteral("></div>\r\n            </form>\r\n            <div");

            WriteLiteral(" id=\"SocialLoginForm\"");

            WriteLiteral(" class=\"ui login form\"");

            WriteLiteral(" style=\"display: none;\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"SocialOfficeSelect\"");

            WriteLiteral(">Select Office</label>\r\n                    <select");

            WriteLiteral(" class=\"ui search office dropdown\"");

            WriteLiteral(" id=\"SocialOfficeSelect\"");

            WriteLiteral("></select>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"SocialLanguageSelect\"");

            WriteLiteral(">Select Language</label>\r\n                    <select");

            WriteLiteral(" class=\"ui search language dropdown\"");

            WriteLiteral(" id=\"SocialLanguageSelect\"");

            WriteLiteral("></select>\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"g-signin2\"");

            WriteLiteral(" data-onsuccess=\"onSignIn\"");

            WriteLiteral(" data-theme=\"dark\"");

            WriteLiteral("\r\n                     data-width=\"134px\"");

            WriteLiteral(" data-height=\"32\"");

            WriteLiteral("></div>\r\n                <div");

            WriteLiteral(" class=\"tpad8\"");

            WriteLiteral("></div>\r\n                <div");

            WriteLiteral(" class=\"ui facebook fluid button\"");

            WriteLiteral(" id=\"FacebookButton\"");

            WriteLiteral(" style=\"width: 134px;\"");

            WriteLiteral(">\r\n                    <i");

            WriteLiteral(" class=\"facebook icon\"");

            WriteLiteral("></i>Facebook\r\n\r\n                </div>\r\n            </div>\r\n            <div");

            WriteLiteral(" class=\"ui breadcrumb vpad8\"");

            WriteLiteral(">\r\n                <a");

            WriteLiteral(" class=\"section\"");

            WriteLiteral(" href=\"/account/sign-up\"");

            WriteLiteral(">Create an Account</a>\r\n                <div");

            WriteLiteral(" class=\"divider\"");

            WriteLiteral("> / </div>\r\n                <a");

            WriteLiteral(" class=\"section\"");

            WriteLiteral(" href=\"/account/reset\"");

            WriteLiteral(">Reset My Password</a>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");

            WriteLiteral("    ");


            #line 108 "..\..\Views\SignIn\Index.cshtml"
            Write(Html.GetAntiForgeryToken(this.Request.Url));


            #line default
            #line hidden
            WriteLiteral("\r\n    <script>\r\n        var fbAppId = \'");


            #line 110 "..\..\Views\SignIn\Index.cshtml"
            Write(Model.FacebookAppId);


            #line default
            #line hidden
            WriteLiteral("\';\r\n        var fbScope = \'");


            #line 111 "..\..\Views\SignIn\Index.cshtml"
            Write(Model.FacebookScope);


            #line default
            #line hidden
            WriteLiteral("\';\r\n        localStorage.removeItem(\"haveWeMet\");\r\n    </script>\r\n    <div");

            WriteLiteral(" id=\"fb-root\"");

            WriteLiteral("></div>\r\n    <script");

            WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/SignIn/default.js\"");

            WriteLiteral("></script>\r\n\r\n");


            #line 117 "..\..\Views\SignIn\Index.cshtml"


            #line default
            #line hidden

            #line 117 "..\..\Views\SignIn\Index.cshtml"
            if (!string.IsNullOrWhiteSpace(Model.FacebookAppId))
            {
            #line default
            #line hidden
                WriteLiteral("    <!-- Facebook Sign In -->\r\n");

                WriteLiteral("        <script");

                WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/SignIn/facebook.js\"");

                WriteLiteral("></script>\r\n");


            #line 121 "..\..\Views\SignIn\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 123 "..\..\Views\SignIn\Index.cshtml"


            #line default
            #line hidden

            #line 123 "..\..\Views\SignIn\Index.cshtml"
            if (!string.IsNullOrWhiteSpace(Model.GoogleSigninClientId))
            {
            #line default
            #line hidden
                WriteLiteral("    <!-- Google Sign In -->\r\n");

                WriteLiteral("        <script");

                WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/SignIn/google.js\"");

                WriteLiteral("></script>\r\n");


            #line 127 "..\..\Views\SignIn\Index.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("</body>\r\n</html>");
        }
コード例 #14
0
        public override void Execute()
        {
            WriteLiteral("\r\n");


            #line 3 "..\..\Views\SignUp\InvalidToken.cshtml"

            ViewBag.Title = "Invalid Confirmation Code";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 7 "..\..\Views\SignUp\InvalidToken.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 189), Tuple.Create("\"", 237)

            #line 9 "..\..\Views\SignUp\InvalidToken.cshtml"
                               , Tuple.Create(Tuple.Create("", 196), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 196), false)
                               );

                WriteLiteral(" />\r\n");


            #line 10 "..\..\Views\SignUp\InvalidToken.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 281), Tuple.Create("\"", 325)

            #line 13 "..\..\Views\SignUp\InvalidToken.cshtml"
                               , Tuple.Create(Tuple.Create("", 288), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 288), false)
                               );

                WriteLiteral(" />\r\n");


            #line 14 "..\..\Views\SignUp\InvalidToken.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n<div");

            WriteLiteral(" class=\"ui attached padded signup left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui header\"");

            WriteLiteral(">Invalid Confirmation Code</div>\r\n        <div");

            WriteLiteral(" class=\"ui divider\"");

            WriteLiteral("></div>\r\n        <p>\r\n            The supplied confirmation token is either inval" +
                         "id or expired.\r\n        </p>\r\n        <a");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(" class=\"ui small padded purple button\"");

            WriteLiteral(">Return Home</a>\r\n    </div>\r\n</div>\r\n");
        }
コード例 #15
0
        public override void Execute()
        {
            #line 4 "..\..\Views\Reset\Do.cshtml"

            ViewBag.Title = "Reset Your Account";
            Layout        = ViewBag.LayoutPath + ViewBag.Layout;


            #line default
            #line hidden
            WriteLiteral("\r\n");


            #line 8 "..\..\Views\Reset\Do.cshtml"
            if (CultureManager.IsRtl())
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 198), Tuple.Create("\"", 246)

            #line 10 "..\..\Views\Reset\Do.cshtml"
                               , Tuple.Create(Tuple.Create("", 205), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page-rtl.css")

            #line default
            #line hidden
                                                                                                                , 205), false)
                               );

                WriteLiteral(" />\r\n");


            #line 11 "..\..\Views\Reset\Do.cshtml"
            }
            else
            {
            #line default
            #line hidden
                WriteLiteral("    <link");

                WriteLiteral(" rel=\"Stylesheet\"");

                WriteAttribute("href", Tuple.Create(" href=\"", 290), Tuple.Create("\"", 334)

            #line 14 "..\..\Views\Reset\Do.cshtml"
                               , Tuple.Create(Tuple.Create("", 297), Tuple.Create <System.Object, System.Int32>(Href("~/assets/css/master-page.css")

            #line default
            #line hidden
                                                                                                                , 297), false)
                               );

                WriteLiteral(" />\r\n");


            #line 15 "..\..\Views\Reset\Do.cshtml"
            }


            #line default
            #line hidden
            WriteLiteral("\r\n\r\n<div");

            WriteLiteral(" class=\"ui attached padded reset password left aligned segment\"");

            WriteLiteral(">\r\n    <div");

            WriteLiteral(" class=\"ui container\"");

            WriteLiteral(">\r\n        <div");

            WriteLiteral(" class=\"ui huge header\"");

            WriteLiteral(">Reset Your Account</div>\r\n        <div");

            WriteLiteral(" class=\"ui stackable form\"");

            WriteLiteral(" style=\"max-width: 400px;\"");

            WriteLiteral(">\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"PasswordInputPassword\"");

            WriteLiteral(">Password</label>\r\n                    <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral("\r\n                           id=\"PasswordInputPassword\"");

            WriteLiteral("\r\n                           required=\"\"");

            WriteLiteral("\r\n                           maxlength=\"32\"");

            WriteLiteral("\r\n                           data-validation-expression=\"^(?=.*\\d)(?=.*[a-z])(?=." +
                         "*[A-Z]).{6,32}$\"");

            WriteLiteral("\r\n                           data-validation-message=\"Password should contain at " +
                         "least 6 characters with one uppercase, lowercase, and a number.\"");

            WriteLiteral("\r\n                           data-validation-target=\".big.error\"");

            WriteLiteral(" />\r\n                </div>\r\n                <div");

            WriteLiteral(" class=\"field\"");

            WriteLiteral(">\r\n                    <label");

            WriteLiteral(" for=\"ConfirmPasswordInputPassword\"");

            WriteLiteral(">Confirm Password</label>\r\n                    <input");

            WriteLiteral(" type=\"password\"");

            WriteLiteral(" id=\"ConfirmPasswordInputPassword\"");

            WriteLiteral(" data-match-target=\"PasswordInputPassword\"");

            WriteLiteral(" required=\"\"");

            WriteLiteral(" />\r\n                </div>\r\n\r\n\r\n\r\n        </div>\r\n        <div");

            WriteLiteral(" class=\"big error vpad8\"");

            WriteLiteral("></div>\r\n        <button");

            WriteLiteral(" class=\"ui positive button\"");

            WriteLiteral(" id=\"SetPasswordButton\"");

            WriteLiteral(">Set Password</button>\r\n        <a");

            WriteLiteral(" class=\"ui negative button\"");

            WriteLiteral(" href=\"/\"");

            WriteLiteral(">Cancel</a>\r\n    </div>\r\n</div>\r\n<script");

            WriteLiteral(" src=\"/i18n/resources.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/assets/js/backend.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/form.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Scripts/frapid/utilities/validator.js\"");

            WriteLiteral("></script>\r\n<script");

            WriteLiteral(" src=\"/Areas/Frapid.Account/Scripts/Account/ResetConfirmation/index.js\"");

            WriteLiteral("></script>\r\n");
        }