示例#1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 2 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Northwind\Customer\CustomerIndex.cshtml"

            ViewData["Title"] = Serenity.LocalText.Get("Db.Northwind.Customer.EntityPlural");

#line default
#line hidden
            BeginContext(96, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("Head", async() => {
                BeginContext(113, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(116, 57, false);
#line 7 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Northwind\Customer\CustomerIndex.cshtml"
                Write(Html.Script("dynamic://Lookup.Northwind.CustomerCountry"));

#line default
#line hidden
                EndContext();
                BeginContext(173, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(176, 54, false);
#line 8 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Northwind\Customer\CustomerIndex.cshtml"
                Write(Html.Script("dynamic://Lookup.Northwind.CustomerCity"));

#line default
#line hidden
                EndContext();
                BeginContext(230, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(233, 50, false);
#line 9 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Northwind\Customer\CustomerIndex.cshtml"
                Write(Html.Script("dynamic://Lookup.Northwind.Employee"));

#line default
#line hidden
                EndContext();
                BeginContext(283, 35, true);
                WriteLiteral("\r\n<script>var CKEDITOR_BASEPATH = \'");
                EndContext();
                BeginContext(319, 51, false);
#line 10 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Northwind\Customer\CustomerIndex.cshtml"
                Write(ContentHashCache.ResolvePath("~/Scripts/ckeditor/"));

#line default
#line hidden
                EndContext();
                BeginContext(370, 13, true);
                WriteLiteral("\';</script>\r\n");
                EndContext();
                BeginContext(384, 29, false);
#line 11 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Northwind\Customer\CustomerIndex.cshtml"
                Write(Html.ScriptBundle("CKEditor"));

#line default
#line hidden
                EndContext();
                BeginContext(413, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(418, 232, true);
            WriteLiteral("\r\n<div id=\"GridDiv\"></div>\r\n\r\n<script type=\"text/javascript\">\r\n    jQuery(function () {\r\n        new SereneApp.Northwind.CustomerGrid($(\'#GridDiv\'), {}).init();\r\n\r\n        Q.initFullHeightGridPage($(\'#GridDiv\'));\r\n    });\r\n</script>");
            EndContext();
        }
示例#2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"

            ViewData["Title"]  = "Login";
            ViewData["PageId"] = "Login";
            Layout             = MVC.Views.Shared._LayoutSlim;

#line default
#line hidden
            BeginContext(120, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("Head", async() => {
                BeginContext(137, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(144, 39, false);
#line 8 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Html.Script("~/Scripts/vegas/vegas.js"));

#line default
#line hidden
                EndContext();
                BeginContext(183, 37, true);
                WriteLiteral("\r\n    <script type=\"text/javascript\">");
                EndContext();
                BeginContext(221, 69, false);
#line 9 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Html.Raw(DynamicScriptManager.GetScriptText("Form.Membership.Login")));

#line default
#line hidden
                EndContext();
                BeginContext(290, 46, true);
                WriteLiteral("</script>\r\n    <script type=\"text/javascript\">");
                EndContext();
                BeginContext(337, 43, false);
#line 10 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Html.Raw(Html.GetLocalTextContent("Login")));

#line default
#line hidden
                EndContext();
                BeginContext(380, 15, true);
                WriteLiteral("</script>\r\n    ");
                EndContext();
                BeginContext(396, 44, false);
#line 11 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Html.Stylesheet("~/Scripts/vegas/vegas.css"));

#line default
#line hidden
                EndContext();
                BeginContext(440, 8009, true);
                WriteLiteral(@"

    <style type=""text/css"">
        body {
          font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
          font-size: 13px;
          color: #000;
          -ms-overflow-style: scrollbar;
        }

        #LoginPanel {
            padding: 30px 20px;
            width: 550px;
            margin: 90px auto auto auto;
            background: rgba(0,0,0,0.5);
            border-radius: 12px;
            font-weight: 700;
        }

        #LoginPanel .caption {
            width: 180px;
        }

       #LoginPanel .logo {
            margin: 0 auto 20px auto;
            width: 128px;
            height: 128px;
            background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOvwAADr8BOAVTJAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTFH80I3AAAREklEQVR4Xu1diXabuhbtp/Fp/M57H3Bv0ySlvYmboXYSO/GEZwNm8Jypd1x+2jzhS7BsBAEPVHutvTqYwdY+OjoSR4cPAgICAgICAgI/C25u7mXTNOWXlxfZshzFMMzFbDZbPD");
                WriteLiteral(@"8/L56enpZ8fHxc/kmOW2jagNBUJpOJrKpN+fr6TqKXFNhXFPJ3kmVZsm0PiXDTxe+//77466+/EuGff/7pGo2uD2Ak8t3dg0xvK7BLFIsVWddNZTqduiKxxEuLxKssRqOx0uv1hTFsE/V6Xer3DQXumiUML//444/F6+urKyQMaDgcLhzHcf/Ev9Hj8fmPHz+Y5/uJ44bDkVIsloUxpIV+XyPjuR2pp+NYjO0Y+4lIMhFXrlTqMo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RsEPAoEt0n8gaFm1xXDBEJwQmIA1B0g7l8m7llGWRq4euTdYWiAoEHCjeNz7C1EoNlu626wqWmGfHZWEIILCAgICAgIZBwfPvwPYzJ1DskIsl4AAAAASUVORK5CYII=) no-repeat center center;
        }

       #LoginPanel h3 {
            font-size: 18px;
            font-weight: 700;
            margin: 16px 0 24px;
            color: #f5f27e;
            text-align: center;
            text-shadow: 0 1px 1px #333;
        }

       #LoginPanel .buttons {
            text-align: right;
            padding: 8px 0 4px 0;
            margin-right: 28px;
        }

");
                WriteLiteral(@"        #LoginPanel .btn {
                padding: 8px 24px;
                font-weight: 700;
        }

        #LoginPanel .caption {
            color: #ececec;
            font-weight: 700;
            text-shadow: 0 1px 1px #333;
        }

        #LoginPanel .actions {
            padding-right: 28px;
        }

        #LoginPanel .actions a {
            color: #ececec;
            padding: 2px 2px 2px 2px;
            margin-top: 5px;
            display: block;
            float: right;
            clear: both;
            border-bottom: 1px dashed #999;
            text-shadow: 0 1px 1px #333;
        }

        #LoginPanel .actions a i {
            font-weight: 700;
            margin-right: 4px;
        }

        #LoginPanel .s-Form label.error {
            background-image: url(");
                EndContext();
                BeginContext(8450, 50, false);
#line 88 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Url.Content("~/Content/serenity/images/cross.png"));

#line default
#line hidden
                EndContext();
                BeginContext(8500, 781, true);
                WriteLiteral(@");
            padding: 26px 0 0 22px;
        }

        #LoginPanel .s-Form label.error.checked {
            background-image: none;
        }

        #LoginPanel .s-Form .field {
            padding: 8px;
        }

        #LoginPanel .s-Form input {
            padding: 6px 10px;
            border: none;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
        }

        #LoginPanel .s-Form .caption {
            padding: 6px 10px;
            color: #fff;
        }

        #LoginPanel a {
            color: aqua;
        }

        #LoginPanel .s-PropertyGrid .categories {
            height: auto;
        }

        #LoginPanel .flex-layout .s-PropertyGrid {
            display: block;
        }

        ");
                EndContext();
                BeginContext(9282, 343, true);
                WriteLiteral(@"@media(max-width: 550px), (max-height: 500px) {
            #LoginPanel {
                padding: 16px 4px 16px 4px;
                position: absolute;
                margin: 0;
                width: auto;
                top: 10px;
                left: 10px;
                right: 10px;
            }
        }
    </style>
");
                EndContext();
            }
                          );
            BeginContext(9628, 123, true);
            WriteLiteral("\r\n<script id=\"Template_LoginPanel\" type=\"text/template\">\r\n<div class=\"flex-layout\">\r\n    <div class=\"logo\"></div>\r\n    <h3>");
            EndContext();
            BeginContext(9752, 38, false);
#line 141 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Texts.Forms.Membership.Login.FormTitle);

#line default
#line hidden
            EndContext();
            BeginContext(9790, 397, true);
            WriteLiteral(@"</h3>
    <form id=""~_Form"" action="""">
        <div class=""s-Form"">
            <div class=""fieldset ui-widget ui-widget-content ui-corner-all"">
                <div id=""~_PropertyGrid""></div>
                <div class=""clear""></div>
            </div>
            <div class=""buttons"">
                <button id=""LoginButton"" type=""submit"" class=""btn btn-primary"">
                    ");
            EndContext();
            BeginContext(10188, 41, false);
#line 150 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Texts.Forms.Membership.Login.SignInButton);

#line default
#line hidden
            EndContext();
            BeginContext(10229, 109, true);
            WriteLiteral("\r\n                </button>\r\n            </div>\r\n            <div class=\"actions\">\r\n                <a href=\"");
            EndContext();
            BeginContext(10339, 39, false);
#line 154 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Url.Content("~/Account/ForgotPassword"));

#line default
#line hidden
            EndContext();
            BeginContext(10378, 41, true);
            WriteLiteral("\"><i class=\"fa fa-angle-right\"></i>&nbsp;");
            EndContext();
            BeginContext(10420, 43, false);
#line 154 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Texts.Forms.Membership.Login.ForgotPassword);

#line default
#line hidden
            EndContext();
            BeginContext(10463, 31, true);
            WriteLiteral("</a>\r\n                <a href=\"");
            EndContext();
            BeginContext(10495, 31, false);
#line 155 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Url.Content("~/Account/SignUp"));

#line default
#line hidden
            EndContext();
            BeginContext(10526, 41, true);
            WriteLiteral("\"><i class=\"fa fa-angle-right\"></i>&nbsp;");
            EndContext();
            BeginContext(10568, 41, false);
#line 155 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Texts.Forms.Membership.Login.SignUpButton);

#line default
#line hidden
            EndContext();
            BeginContext(10609, 119, true);
            WriteLiteral("</a>\r\n                <div class=\"clear\"></div>\r\n            </div>\r\n        </div>\r\n    </form>\r\n</div>\r\n</script>\r\n\r\n");
            EndContext();
#line 163 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            if (DataMigrations.SkippedMigrations)
            {
#line default
#line hidden
                BeginContext(10771, 422, true);
                WriteLiteral(@"<div class=""alert alert-error alert-dismissible"">
    <button type=""button"" class=""close"" data-dismiss=""alert"" aria-hidden=""true"">×</button>
    <h4><i class=""icon fa fa-warning""></i> Warning!</h4>
    SereneApp skipped running migrations to avoid modifying an arbitrary database.
    If you'd like to run migrations on this database, remove the safety check 
    in SiteInitialization.RunMigrations method.
</div>
");
                EndContext();
#line 172 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            }

#line default
#line hidden
            BeginContext(11196, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 174 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            if (ViewData["Activated"] != null)
            {
#line default
#line hidden
                BeginContext(11238, 181, true);
                WriteLiteral("<div class=\"alert alert-info alert-dismissible\">\r\n    <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>\r\n    <h4><i class=\"icon fa fa-info\"></i>");
                EndContext();
                BeginContext(11420, 41, false);
#line 178 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(LocalText.Get("Dialogs.InformationTitle"));

#line default
#line hidden
                EndContext();
                BeginContext(11461, 11, true);
                WriteLiteral("</h4>\r\n    ");
                EndContext();
                BeginContext(11473, 55, false);
#line 179 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Texts.Forms.Membership.SignUp.ActivationCompleteMessage);

#line default
#line hidden
                EndContext();
                BeginContext(11528, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
#line 181 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            }

#line default
#line hidden
            BeginContext(11541, 866, true);
            WriteLiteral(@"
<div class=""page-content"">
    <div id=""LoginPanel"">

    </div>
</div>

<script type=""text/javascript"">

var loginPanel;

var LoginPanel = (function (_super) {
    __extends(LoginPanel, _super);
    function LoginPanel(container) {
        var _this = _super.call(this, container) || this;
        $(function () {
            $('body').vegas({
                delay: 30000,
                cover: true,
                overlay: ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACAQMAAABIeJ9nAAAAA3NCSVQICAjb4U"" +
                    ""/gAAAABlBMVEX///8AAABVwtN+AAAAAnRSTlMA/1uRIrUAAAAJcEhZcwAAAsQAAALEAVuRnQsAAAAWdEVYdENyZWF0"" +
                    ""aW9uIFRpbWUAMDQvMTMvMTGrW0T6AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M1cbXjNgAAAAxJREFUCJljaGBgAAABhACBrONIPgAAAABJRU5ErkJggg=="",
                slides: [
                    { src: ");
            EndContext();
            BeginContext(12408, 87, false);
#line 205 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Html.Raw(ContentHashCache.ResolveWithHash("~/Content/site/slides/slide1.jpg").ToJson()));

#line default
#line hidden
            EndContext();
            BeginContext(12495, 52, true);
            WriteLiteral(", transition: \'fade\' },\r\n                    { src: ");
            EndContext();
            BeginContext(12548, 87, false);
#line 206 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Html.Raw(ContentHashCache.ResolveWithHash("~/Content/site/slides/slide2.jpg").ToJson()));

#line default
#line hidden
            EndContext();
            BeginContext(12635, 55, true);
            WriteLiteral(", transition: \'zoomOut\' },\r\n                    { src: ");
            EndContext();
            BeginContext(12691, 87, false);
#line 207 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            Write(Html.Raw(ContentHashCache.ResolveWithHash("~/Content/site/slides/slide3.jpg").ToJson()));

#line default
#line hidden
            EndContext();
            BeginContext(12778, 1882, true);
            WriteLiteral(@", transition: 'swirlLeft' }
                ]
            });
            $('#LoginButton').click(function (e) {
                e.preventDefault();
                if (!_this.validateForm()) {
                    return;
                }
                var request = _this.getSaveEntity();
                Q.serviceCall({
                    url: Q.resolveUrl('~/Account/Login'),
                    request: request,
                    onSuccess: function (response) {
                        _this.redirectToReturnUrl();
                    },
                    onError: function (response) {
                        if (response != null && response.Error != null && !Q.isEmptyOrNull(response.Error.Message)) {
                            Q.notifyError(response.Error.Message);
                            loginPanel.byId('Password').focus();

                            return;
                        }

                        Q.ErrorHandling.showServiceError(response.Error);
           ");
            WriteLiteral(@"         }
                });
            });
        });
        return _this;
    }
    LoginPanel.prototype.getTemplateName = function () { return 'LoginPanel'; };
    LoginPanel.prototype.getFormKey = function () { return ""Membership.Login""; };
    LoginPanel.prototype.redirectToReturnUrl = function () {
        var q = Q.parseQueryString();
        var returnUrl = q['returnUrl'] || q['ReturnUrl'];
        if (returnUrl) {
            var hash = window.location.hash;
            if (hash != null && hash != '#')
                returnUrl += hash;
            window.location.href = returnUrl;
        }
        else {
            window.location.href = Q.resolveUrl('~/');
        }
    };
    return LoginPanel;
}(Serenity.PropertyPanel));

jQuery(function() {
    loginPanel = new LoginPanel($('#LoginPanel')).init();

");
            EndContext();
#line 258 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            if (ViewData["Activated"] != null)
            {
#line default
#line hidden
                BeginContext(14710, 63, true);
                WriteLiteral("\r\n    $(function() { \r\n        loginPanel.byId(\'Username\').val(");
                EndContext();
                BeginContext(14774, 56, false);
#line 262 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
                Write(Html.Raw(Serenity.JSON.Stringify(ViewData["Activated"])));

#line default
#line hidden
                EndContext();
                BeginContext(14830, 63, true);
                WriteLiteral(");\r\n        loginPanel.byId(\'Password\').focus();\r\n    });\r\n    ");
                EndContext();
#line 265 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.cshtml"
            }

#line default
#line hidden
            BeginContext(14905, 14, true);
            WriteLiteral("});\r\n</script>");
            EndContext();
        }