public void OnResourceExecuting(ResourceExecutingContext context)
 {
     if ((string.IsNullOrEmpty(Permission) &&
          !Authorization.IsLoggedIn) ||
         (!string.IsNullOrEmpty(Permission) &&
          !Authorization.HasPermission(Permission)))
     {
         if (Authorization.IsLoggedIn)
         {
             context.Result = new Result <ServiceResponse>(new ServiceResponse
             {
                 Error = new ServiceError
                 {
                     Code    = "AccessDenied",
                     Message = LocalText.Get("Authorization.AccessDenied")
                 }
             });
             context.HttpContext.Response.StatusCode = 400;
         }
         else
         {
             context.Result = new Result <ServiceResponse>(new ServiceResponse
             {
                 Error = new ServiceError
                 {
                     Code    = "NotLoggedIn",
                     Message = LocalText.Get("Authorization.NotLoggedIn")
                 }
             });
             context.HttpContext.Response.StatusCode = 400;
         }
     }
 }
Ejemplo n.º 2
0
        public void LocalText_Get_UsesCurrentUICulture()
        {
            using (new MunqContext())
            {
                var registry = A.Fake <ILocalTextRegistry>();
                Dependency.Resolve <IDependencyRegistrar>().RegisterInstance(registry);

                var oldCulture = Thread.CurrentThread.CurrentUICulture;
                try
                {
                    Thread.CurrentThread.CurrentUICulture = new CultureInfo("tr-TR");
                    LocalText.Get("Dummy");

                    Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");
                    LocalText.Get("Dummy");
                }
                finally
                {
                    Thread.CurrentThread.CurrentUICulture = oldCulture;
                }

                A.CallTo(() => registry.TryGet(A <string> ._, A <string> ._))
                .MustHaveHappened(Repeated.Exactly.Twice);

                A.CallTo(() => registry.TryGet("tr-TR", "Dummy"))
                .MustHaveHappened(Repeated.Exactly.Once);

                A.CallTo(() => registry.TryGet("en-GB", "Dummy"))
                .MustHaveHappened(Repeated.Exactly.Once);
            }
        }
        protected override void HandleUnauthorizedRequest(AuthorizationContext filterContext)
        {
            if (Authorization.IsLoggedIn)
            {
                filterContext.Result = new Result <ServiceResponse>(new ServiceResponse
                {
                    Error = new ServiceError
                    {
                        Code    = "AccessDenied",
                        Message = LocalText.Get("Authorization.AccessDenied")
                    }
                });
            }
            else
            {
                filterContext.Result = new Result <ServiceResponse>(new ServiceResponse
                {
                    Error = new ServiceError
                    {
                        Code    = "NotLoggedIn",
                        Message = LocalText.Get("Authorization.NotLoggedIn")
                    }
                });
            }

            filterContext.HttpContext.Response.Clear();
            filterContext.HttpContext.Response.StatusCode             = 400;
            filterContext.HttpContext.Response.TrySkipIisCustomErrors = true;
        }
Ejemplo n.º 4
0
 public void LocalText_Get_DoesntThrowIfNoLocalTextProvider()
 {
     using (new MunqContext())
     {
         LocalText.Get("Dummy");
     }
 }
Ejemplo n.º 5
0
        public void LocalText_Get_ReturnsTranslationFromRegistry()
        {
            using (new MunqContext())
            {
                var registry = A.Fake <ILocalTextRegistry>();
                A.CallTo(() => registry.TryGet(A <string> ._, A <string> ._))
                .ReturnsLazily((string l, string k) => l + ":" + k);

                Dependency.Resolve <IDependencyRegistrar>().RegisterInstance(registry);

                string translation1 = LocalText.Get("Translation1").ToString();
                string translation2 = LocalText.Get("Translation2").ToString();
                string uiCulture    = Thread.CurrentThread.CurrentUICulture.Name;

                Assert.Equal(uiCulture + ":Translation1", translation1);
                Assert.Equal(uiCulture + ":Translation2", translation2);

                A.CallTo(() => registry.TryGet(A <string> ._, A <string> ._))
                .MustHaveHappened(Repeated.Exactly.Twice);

                A.CallTo(() => registry.TryGet(uiCulture, "Translation1"))
                .MustHaveHappened(Repeated.Exactly.Once);

                A.CallTo(() => registry.TryGet(uiCulture, "Translation2"))
                .MustHaveHappened(Repeated.Exactly.Once);
            }
        }
Ejemplo n.º 6
0
 public static void CheckNull(object value, string paramName)
 {
     if (value == null)
     {
         throw new ArgumentNullException(String.Format(LocalText.Get("Validation.FieldIsRequired"), paramName), new Exception());
     }
 }
    private static ILookup <string, NavigationItemAttribute> GetNavigationItemAttributes(
        Func <NavigationItemAttribute, bool> filter)
    {
        var list = new List <NavigationItemAttribute>();

        foreach (var assembly in ExtensibilityHelper.SelfAssemblies)
        {
            foreach (NavigationItemAttribute attr in assembly.GetCustomAttributes <NavigationItemAttribute>())
            {
                if (filter == null || filter(attr))
                {
                    list.Add(attr);
                }
            }
        }

        foreach (var navItemType in ExtensibilityHelper.GetTypesWithInterface(typeof(INavigationItemSource)))
        {
            var navItem = (INavigationItemSource)Activator.CreateInstance(navItemType);
            foreach (var item in navItem.GetItems())
            {
                if (filter == null || filter(item))
                {
                    list.Add(item);
                }
            }
        }

        var user = (UserDefinition)Authorization.UserDefinition;

        var connection     = SqlConnections.NewFor <VisitTypesRow>();
        var visitTypesFlds = VisitTypesRow.Fields;

        var visitTypes = connection.List <VisitTypesRow>(visitTypesFlds.TenantId == user.TenantId && visitTypesFlds.IsActive == 1 && visitTypesFlds.ShowInMenu == 1);

        list.Add(new NavigationMenuAttribute(506, LocalText.Get("Db.PatientManagement.VisitTypes.EntityPlural"), "fa-stethoscope"));

        list.Add(new NavigationLinkAttribute(506,
                                             path: LocalText.Get("Db.PatientManagement.VisitTypes.EntityPlural") + "/" + LocalText.Get("LeftNavigation.AddNewVisitType"),
                                             url: "#",
                                             icon: "fa-plus-square open-new-visit-dialog",
                                             permission: "PatientManagement:VisitTypes:Modify"));
        foreach (var visitType in visitTypes)
        {
            list.Add(new NavigationLinkAttribute(506,
                                                 path: LocalText.Get("Db.PatientManagement.VisitTypes.EntityPlural") + "/" + visitType.Name.Replace("/", "//"),
                                                 url: "/PatientManagement/Visits?visittype=" + visitType.VisitTypeId,
                                                 icon: "fa-circle-o fc-event-droppable " + visitType.BackgroundColor,
                                                 permission: "PatientManagement:VisitTypes:Read"
                                                 ));
        }
        list.Add(new NavigationLinkAttribute(506,
                                             path: LocalText.Get("Db.PatientManagement.VisitTypes.EntityPlural") + "/" + LocalText.Get("LeftNavigation.VisitTypesPage"),
                                             url: "/PatientManagement/VisitTypes",
                                             icon: "fa-bars",
                                             permission: "PatientManagement:VisitTypes:Page"
                                             ));
        return(NavigationHelper.ByCategory(list));
    }
        public Result <ServiceResponse> ResetPassword(ResetPasswordRequest request)
        {
            return(this.InTransaction("Default", uow =>
            {
                request.CheckNotNull();

                if (string.IsNullOrEmpty(request.Token))
                {
                    throw new ArgumentNullException("token");
                }

                int userId;
                using (var ms = new MemoryStream(MachineKey.Unprotect(
                                                     Convert.FromBase64String(request.Token), "ResetPassword")))
                    using (var br = new BinaryReader(ms))
                    {
                        var dt = DateTime.FromBinary(br.ReadInt64());
                        if (dt < DateTime.UtcNow)
                        {
                            throw new ValidationError(Texts.Validation.InvalidResetToken);
                        }

                        userId = br.ReadInt32();
                    }

                UserRow user;
                using (var connection = SqlConnections.NewFor <UserRow>())
                {
                    user = connection.TryById <UserRow>(userId);
                    if (user == null)
                    {
                        throw new ValidationError(Texts.Validation.InvalidResetToken);
                    }
                }

                if (request.ConfirmPassword != request.NewPassword)
                {
                    throw new ValidationError("PasswordConfirmMismatch", LocalText.Get("Validation.PasswordConfirm"));
                }

                request.NewPassword = UserRepository.ValidatePassword(user.Username, request.NewPassword, false);

                var salt = Membership.GeneratePassword(5, 1);
                var hash = SiteMembershipProvider.ComputeSHA512(request.NewPassword + salt);
                UserRepository.CheckPublicDemo(user.UserId);

                uow.Connection.UpdateById(new UserRow
                {
                    UserId = user.UserId.Value,
                    PasswordSalt = salt,
                    PasswordHash = hash
                });

                BatchGenerationUpdater.OnCommit(uow, UserRow.Fields.GenerationKey);

                return new ServiceResponse();
            }));
        }
Ejemplo n.º 9
0
 public void LocalText_Get_DoesntThrowIfNoLocalTextProvider()
 {
     using (new MunqContext())
     {
         Assert.DoesNotThrow(() =>
         {
             LocalText.Get("Dummy");
         });
     }
 }
Ejemplo n.º 10
0
        public void LocalText_Get_ReturnsKeyAsIsIfNoLocalTextProvider()
        {
            using (new MunqContext())
            {
                Assert.Equal("Dummy", LocalText.Get("Dummy"));

                Assert.Null(LocalText.Get(null));

                Assert.Equal(String.Empty, LocalText.Get(String.Empty));
            }
        }
Ejemplo n.º 11
0
        /// <summary>
        /// Validates a recaptcha token
        /// </summary>
        /// <param name="token"></param>
        /// <remarks>Inspired from https://github.com/tanveery/recaptcha-net/blob/master/src/Recaptcha.Web/RecaptchaVerificationHelper.cs</remarks>
        public static void Validate(string token)
        {
            if (string.IsNullOrEmpty(token))
            {
                throw new ValidationError("Recaptcha", LocalText.Get("Validation.Recaptcha"));
            }

            var config = Config.Get <RecaptchaSettings>();

            var postData = String.Format("secret={0}&response={1}",
                                         Uri.EscapeDataString(config.SecretKey),
                                         Uri.EscapeDataString(token));

            byte[] postDataBuffer = System.Text.Encoding.ASCII.GetBytes(postData);
            var    verifyUri      = new Uri("https://www.google.com/recaptcha/api/siteverify", UriKind.Absolute);

            var webRequest = (HttpWebRequest)WebRequest.Create(verifyUri);

            webRequest.ContentType = "application/x-www-form-urlencoded";
#if !NET45
            webRequest.Headers["Content-Length"] = postDataBuffer.Length.ToString();
#else
            var proxy = WebRequest.GetSystemWebProxy();
            proxy.Credentials = CredentialCache.DefaultCredentials;
            webRequest.Proxy  = proxy;
#endif

            webRequest.Method = "POST";
#if !NET45
            using (var requestStream = Task.Run(() => webRequest.GetRequestStreamAsync()).Result)
                requestStream.Write(postDataBuffer, 0, postDataBuffer.Length);

            using (var webResponse = Task.Run(() => webRequest.GetResponseAsync()).Result)
            {
#else
            using (var requestStream = webRequest.GetRequestStream())
                requestStream.Write(postDataBuffer, 0, postDataBuffer.Length);

            using (var webResponse = (HttpWebResponse)webRequest.GetResponse())
            {
#endif
                string responseJson;
                using (var sr = new StreamReader(webResponse.GetResponseStream()))
                    responseJson = sr.ReadToEnd();

                var response = JSON.ParseTolerant <RecaptchaResponse>(responseJson);
                if (response == null ||
                    !response.Success)
                {
                    throw new ValidationError("Recaptcha", LocalText.Get("Validation.Recaptcha"));
                }
            }
        }
        public Result <ServiceResponse> ChangePassword(ChangePasswordRequest request)
        {
            if (Authorization.Username.Equals("demo", StringComparison.OrdinalIgnoreCase))
            {
                throw new Exception("This feature is disabled for demo user");
            }

            return(this.InTransaction("SimpleFeedlyConn", uow =>
            {
                request.CheckNotNull();

                if (string.IsNullOrEmpty(request.OldPassword))
                {
                    throw new ArgumentNullException("oldPassword");
                }

                var username = Authorization.Username;

                if (!Dependency.Resolve <IAuthenticationService>().Validate(ref username, request.OldPassword))
                {
                    throw new ValidationError("CurrentPasswordMismatch", Texts.Validation.CurrentPasswordMismatch);
                }

                if (request.ConfirmPassword != request.NewPassword)
                {
                    throw new ValidationError("PasswordConfirmMismatch", LocalText.Get("Validation.PasswordConfirm"));
                }

                request.NewPassword = UserRepository.ValidatePassword(username, request.NewPassword, false);

                var salt = Membership.GeneratePassword(5, 1);
                var hash = SiteMembershipProvider.ComputeSHA512(request.NewPassword + salt);
                var userId = int.Parse(Authorization.UserId);

                UserRepository.CheckPublicDemo(userId);

                uow.Connection.UpdateById(new UserRow
                {
                    UserId = userId,
                    PasswordSalt = salt,
                    PasswordHash = hash
                });

                BatchGenerationUpdater.OnCommit(uow, UserRow.Fields.GenerationKey);

                return new ServiceResponse();
            }));
        }
Ejemplo n.º 13
0
        public void LocalText_Get_UsesRegisteredLocalTextRegistry()
        {
            using (new MunqContext())
            {
                var registry = A.Fake <ILocalTextRegistry>();
                Dependency.Resolve <IDependencyRegistrar>().RegisterInstance(registry);

                LocalText.Get("Dummy");

                A.CallTo(() => registry.TryGet(A <string> ._, A <string> ._))
                .MustHaveHappened(Repeated.Exactly.Once);

                A.CallTo(() => registry.TryGet(A <string> ._, "Dummy"))
                .MustHaveHappened(Repeated.Exactly.Once);
            }
        }
        internal static void ValidateUniqueConstraint(ISaveRequestHandler handler, IEnumerable <Field> fields,
                                                      string errorMessage = null, BaseCriteria groupCriteria = null)
        {
            if (handler.IsUpdate && !fields.Any(x => x.IndexCompare(handler.Old, handler.Row) != 0))
            {
                return;
            }

            var criteria = groupCriteria ?? Criteria.Empty;

            foreach (var field in fields)
            {
                if (field.IsNull(handler.Row))
                {
                    criteria &= field.IsNull();
                }
                else
                {
                    criteria &= field == new ValueCriteria(field.AsObject(handler.Row));
                }
            }

            var idField = (Field)((IIdRow)handler.Row).IdField;

            if (handler.IsUpdate)
            {
                criteria &= (Field)idField != new ValueCriteria(idField.AsObject(handler.Old));
            }

            var row = handler.Row.CreateNew();

            if (new SqlQuery()
                .Dialect(handler.Connection.GetDialect())
                .From(row)
                .Select("1")
                .Where(criteria)
                .Exists(handler.UnitOfWork.Connection))
            {
                throw new ValidationError("UniqueViolation",
                                          String.Join(", ", fields.Select(x => x.PropertyName ?? x.Name)),
                                          String.Format(!string.IsNullOrEmpty(errorMessage) ?
                                                        (LocalText.TryGet(errorMessage) ?? errorMessage) :
                                                        LocalText.Get("Validation.UniqueConstraint"),
                                                        String.Join(", ", fields.Select(x => x.Title))));
            }
        }
Ejemplo n.º 15
0
        public Result <ServiceResponse> ChangePassword(ChangePasswordRequest request)
        {
            return(this.InTransaction("Default", uow =>
            {
                request.CheckNotNull();

                if (string.IsNullOrEmpty(request.OldPassword))
                {
                    throw new ArgumentNullException("oldPassword");
                }

                var username = Authorization.Username;

                if (!Dependency.Resolve <IAuthenticationService> ().Validate(ref username, request.OldPassword))
                {
                    throw new ValidationError("CurrentPasswordMismatch", Texts.Validation.CurrentPasswordMismatch);
                }

                if (request.ConfirmPassword != request.NewPassword)
                {
                    throw new ValidationError("PasswordConfirmMismatch", LocalText.Get("Validation.PasswordConfirm"));
                }

                request.NewPassword = UserRepository.ValidatePassword(username, request.NewPassword, false);

                string salt = null;
                var hash = UserRepository.GenerateHash(request.NewPassword, ref salt);
                var userId = int.Parse(Authorization.UserId);

                UserRepository.CheckPublicDemo(userId);

                uow.Connection.UpdateById(new UserRow
                {
                    UserId = userId,
                    PasswordSalt = salt,
                    PasswordHash = hash
                });

                BatchGenerationUpdater.OnCommit(uow, UserRow.Fields.GenerationKey);

                return new ServiceResponse();
            }));
        }
Ejemplo n.º 16
0
        public string FormatErrorMessage(ImageCheckResult result)
        {
            var format = LocalText.Get("Enums.ImageCheckResult." + Enum.GetName(typeof(ImageCheckResult), result));

            switch (result)
            {
            case ImageCheckResult.GIFImage:
            case ImageCheckResult.PNGImage:
            case ImageCheckResult.JPEGImage:
            case ImageCheckResult.FlashMovie:
            case ImageCheckResult.InvalidImage:
            case ImageCheckResult.ImageIsEmpty:
                return(format);

            case ImageCheckResult.DataSizeTooHigh:
                return(String.Format(format, MaxDataSize, DataSize));

            case ImageCheckResult.SizeMismatch:
                return(String.Format(format, MinWidth, MinHeight, Width, Height));

            case ImageCheckResult.WidthMismatch:
            case ImageCheckResult.WidthTooHigh:
                return(String.Format(format, MaxWidth, Width));

            case ImageCheckResult.WidthTooLow:
                return(String.Format(format, MinWidth, Width));

            case ImageCheckResult.HeightMismatch:
            case ImageCheckResult.HeightTooHigh:
                return(String.Format(format, MaxHeight, MaxHeight));

            case ImageCheckResult.HeightTooLow:
                return(String.Format(format, MinHeight, MaxHeight));

            default:
                throw new ArgumentOutOfRangeException("ImageCheckResult");
            }
        }
Ejemplo n.º 17
0
        public void LocalText_Get_ReturnsKeyIfNoTranslationIsFound()
        {
            using (new MunqContext())
            {
                const string key = "Db.MissingTable.MissingField";

                var registry = A.Fake <ILocalTextRegistry>();
                A.CallTo(() => registry.TryGet(A <string> ._, A <string> ._))
                .Returns(null);

                Dependency.Resolve <IDependencyRegistrar>().RegisterInstance(registry);

                var translation = LocalText.Get(key);

                Assert.Equal(key, translation);

                A.CallTo(() => registry.TryGet(A <string> ._, A <string> ._))
                .MustHaveHappened(Repeated.Exactly.Once);

                A.CallTo(() => registry.TryGet(A <string> ._, key))
                .MustHaveHappened(Repeated.Exactly.Once);
            }
        }
Ejemplo n.º 18
0
        protected virtual void ValidateUniqueConstraint(IEnumerable <Field> fields,
                                                        string errorMessage = null, BaseCriteria groupCriteria = null)
        {
            if (IsUpdate && !fields.Any(x => x.IndexCompare(Old, Row) != 0))
            {
                return;
            }

            var criteria = groupCriteria ?? Criteria.Empty;

            foreach (var field in fields)
            {
                if (field.IsNull(Row))
                {
                    criteria &= field.IsNull();
                }
                else
                {
                    criteria &= field == new ValueCriteria(field.AsObject(Row));
                }
            }

            if (IsUpdate)
            {
                criteria &= (Field)Row.IdField != Row.IdField[Old].Value;
            }

            if (Connection.Exists <TRow>(criteria))
            {
                throw new ValidationError("UniqueViolation",
                                          String.Join(", ", fields.Select(x => x.PropertyName ?? x.Name)),
                                          String.Format(!string.IsNullOrEmpty(errorMessage) ?
                                                        (LocalText.TryGet(errorMessage) ?? errorMessage) :
                                                        LocalText.Get("Validation.UniqueViolation"),
                                                        String.Join(", ", fields.Select(x => x.Title))));
            }
        }
Ejemplo n.º 19
0
 public void LocalText_Get_ReturnsNullIfKeyIsNull()
 {
     Assert.Null(LocalText.Get(null));
 }
Ejemplo n.º 20
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+4lIMhFXrlTqMoYLelkuHH3MSQ8P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m1xXDBEJwQmIA1B0g7l8m7llGWRq4euTdYWiAoEHCjeNz7C1EoNlu626wqWmGfHZWEIILCAgICAgIZBwfPvwPYzJ1DskIsl4AAAAASUVORK5CYII=) 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();
        }
Ejemplo n.º 21
0
        public JsonResult GetVisitsTasks(string start, string end)
        {
            var user = (UserDefinition)Authorization.UserDefinition;

            var startDate = DateTime.ParseExact(start, "yyyy-MM-dd", new CultureInfo("en-US"),
                                                DateTimeStyles.None);

            var endDate = DateTime.ParseExact(end, "yyyy-MM-dd", new CultureInfo("en-US"),
                                              DateTimeStyles.None);
            var cabinetIdActive = Request.Cookies["CabinetPreference"];

            var model = new DashboardPageModel();

            using (var connection = SqlConnections.NewFor <VisitsRow>())
            {
                var visitFlds = VisitsRow.Fields.As("vis");
                var patient   = PatientsRow.Fields.As("ptn");
                var visitType = VisitTypesRow.Fields.As("vstt");
                var users     = UserRow.Fields.As("assUsr");

                var query = new SqlQuery()
                            .From(visitFlds)
                            .Select("*")
                            .Where(~(
                                       new Criteria(visitFlds.StartDate) >= startDate
                                       & new Criteria(visitFlds.EndDate) <= endDate
                                       & new Criteria(visitFlds.CabinetId) == int.Parse(cabinetIdActive)
                                       ))
                            .LeftJoin(users, visitFlds.AssignedUserId == users.UserId)
                            .Select(users.DisplayName = visitFlds.AssignedUserName)
                            .LeftJoin(patient, visitFlds.PatientId == patient.PatientId)
                            .Select(patient.Name = visitFlds.PatientName, patient.NotifyOnChange = visitFlds.PatientNotifyOnChange)
                            .LeftJoin(visitType, visitFlds.VisitTypeId == visitType.VisitTypeId)
                            .Select(visitType.BackgroundColor = visitFlds.VisitTypeBackgroundColor, visitType.BorderColor = visitFlds.VisitTypeBorderColor)
                ;



                if (!Authorization.HasPermission(PermissionKeys.Tenants))
                {
                    query.Where(visitFlds.TenantId == user.TenantId);
                }

                var result = connection.Query <VisitsRow>(query);

                foreach (VisitsRow visit in result)
                {
                    model.EventsList.Add(new Event
                    {
                        id                     = visit.VisitId ?? 0,
                        patientId              = visit.PatientId ?? 0,
                        assignedToUser         = visit.AssignedUserName,
                        patientAutoEmailActive = visit.PatientNotifyOnChange ?? false,
                        title                  = string.Join("\n",
                                                             string.IsNullOrEmpty(visit.PatientName)?"* " + LocalText.Get("Db.PatientManagement.Visits.FreeForReservation") + " *": visit.PatientName
                                                             , visit.Description),
                        start           = (visit.StartDate ?? DateTime.Now).ToString("yyyy-MM-ddTHH\\:mm\\:ss.fffffffzzz"),
                        end             = (visit.EndDate ?? DateTime.Now).ToString("yyyy-MM-ddTHH\\:mm\\:ss.fffffffzzz"),
                        allDay          = false,
                        backgroundColor = visit.VisitTypeBackgroundColor,
                        borderColor     = visit.VisitTypeBorderColor
                    });
                }
            }

            return(Json(model.EventsList));
        }
Ejemplo n.º 22
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 2 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"

            ViewData["Title"]  = "Dashboard";
            ViewData["PageId"] = "Dashboard";

#line default
#line hidden
            BeginContext(128, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("Head", async() => {
                BeginContext(145, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(148, 35, false);
#line 8 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
                Write(Html.StyleBundle("Pages/Dashboard"));

#line default
#line hidden
                EndContext();
                BeginContext(183, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(186, 36, false);
#line 9 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
                Write(Html.ScriptBundle("Pages/Dashboard"));

#line default
#line hidden
                EndContext();
                BeginContext(222, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(227, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ContentHeader", async() => {
                BeginContext(253, 10, true);
                WriteLiteral("\r\n    <h1>");
                EndContext();
                BeginContext(264, 37, false);
#line 13 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
                Write(LocalText.Get("Navigation.Dashboard"));

#line default
#line hidden
                EndContext();
                BeginContext(301, 7, true);
                WriteLiteral("<small>");
                EndContext();
                BeginContext(309, 49, false);
#line 13 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
                Write(Html.Raw(Texts.Site.Dashboard.ContentDescription));

#line default
#line hidden
                EndContext();
                BeginContext(358, 15, true);
                WriteLiteral("</small></h1>\r\n");
                EndContext();
            }
                          );
            BeginContext(376, 213, true);
            WriteLiteral("\r\n<!-- Small boxes (Stat box) -->\r\n<div class=\"row\">\r\n    <div class=\"col-lg-3 col-xs-6\">\r\n        <!-- small box -->\r\n        <div class=\"small-box bg-aqua\">\r\n            <div class=\"inner\">\r\n                <h3>");
            EndContext();
            BeginContext(590, 16, false);
#line 22 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
            Write(Model.OpenOrders);

#line default
#line hidden
            EndContext();
            BeginContext(606, 172, true);
            WriteLiteral("</h3>\r\n                <p>Open Orders</p>\r\n            </div>\r\n            <div class=\"icon\">\r\n                <i class=\"ion ion-bag\"></i>\r\n            </div>\r\n            ");
            EndContext();
            BeginContext(778, 123, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb11922", async() => {
                BeginContext(847, 50, true);
                WriteLiteral("More info <i class=\"fa fa-arrow-circle-right\"></i>");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(901, 204, true);
            WriteLiteral("\r\n        </div>\r\n    </div><!-- ./col -->\r\n    <div class=\"col-lg-3 col-xs-6\">\r\n        <!-- small box -->\r\n        <div class=\"small-box bg-green\">\r\n            <div class=\"inner\">\r\n                <h3>");
            EndContext();
            BeginContext(1106, 24, false);
#line 35 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
            Write(Model.ClosedOrderPercent);

#line default
#line hidden
            EndContext();
            BeginContext(1130, 217, true);
            WriteLiteral("<sup style=\"font-size: 20px\">%</sup></h3>\r\n                <p>Closed Orders</p>\r\n            </div>\r\n            <div class=\"icon\">\r\n                <i class=\"ion ion-stats-bars\"></i>\r\n            </div>\r\n            ");
            EndContext();
            BeginContext(1347, 123, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb14165", async() => {
                BeginContext(1416, 50, true);
                WriteLiteral("More info <i class=\"fa fa-arrow-circle-right\"></i>");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1470, 205, true);
            WriteLiteral("\r\n        </div>\r\n    </div><!-- ./col -->\r\n    <div class=\"col-lg-3 col-xs-6\">\r\n        <!-- small box -->\r\n        <div class=\"small-box bg-yellow\">\r\n            <div class=\"inner\">\r\n                <h3>");
            EndContext();
            BeginContext(1676, 19, false);
#line 48 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
            Write(Model.CustomerCount);

#line default
#line hidden
            EndContext();
            BeginContext(1695, 183, true);
            WriteLiteral("</h3>\r\n                <p>Total Customers</p>\r\n            </div>\r\n            <div class=\"icon\">\r\n                <i class=\"ion ion-person-add\"></i>\r\n            </div>\r\n            ");
            EndContext();
            BeginContext(1878, 110, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb16370", async() => {
                BeginContext(1934, 50, true);
                WriteLiteral("More info <i class=\"fa fa-arrow-circle-right\"></i>");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1988, 202, true);
            WriteLiteral("\r\n        </div>\r\n    </div><!-- ./col -->\r\n    <div class=\"col-lg-3 col-xs-6\">\r\n        <!-- small box -->\r\n        <div class=\"small-box bg-red\">\r\n            <div class=\"inner\">\r\n                <h3>");
            EndContext();
            BeginContext(2191, 18, false);
#line 61 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Common\Dashboard\DashboardIndex.cshtml"
            Write(Model.ProductCount);

#line default
#line hidden
            EndContext();
            BeginContext(2209, 185, true);
            WriteLiteral("</h3>\r\n                <p>Different Products</p>\r\n            </div>\r\n            <div class=\"icon\">\r\n                <i class=\"ion ion-pie-graph\"></i>\r\n            </div>\r\n            ");
            EndContext();
            BeginContext(2394, 109, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb18573", async() => {
                BeginContext(2449, 50, true);
                WriteLiteral("More info <i class=\"fa fa-arrow-circle-right\"></i>");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2503, 1860, true);
            WriteLiteral(@"
        </div>
    </div><!-- ./col -->
</div><!-- /.row -->
<!-- Main row -->
<div class=""row"">
    <!-- Left col -->
    <section class=""col-lg-7 connectedSortable"">
        <!-- Custom tabs (Charts with tabs)-->
        <div class=""nav-tabs-custom"">
            <!-- Tabs within a box -->
            <ul class=""nav nav-tabs pull-right"">
                <li class=""active""><a href=""#revenue-chart"" data-toggle=""tab"">Area</a></li>
                <li><a href=""#sales-chart"" data-toggle=""tab"">Donut</a></li>
                <li class=""pull-left header""><i class=""fa fa-inbox""></i> Sales</li>
            </ul>
            <div class=""tab-content no-padding"">
                <!-- Morris chart - Sales -->
                <div class=""chart tab-pane active"" id=""revenue-chart"" style=""position: relative; height: 300px;""></div>
                <div class=""chart tab-pane"" id=""sales-chart"" style=""position: relative; height: 300px;""></div>
            </div>
        </div><!-- /.nav-tabs-custom -->
    ");
            WriteLiteral(@"    <!-- Chat box -->
        <div class=""box box-success"">
            <div class=""box-header"">
                <i class=""fa fa-comments-o""></i>
                <h3 class=""box-title"">Chat</h3>
                <div class=""box-tools pull-right"" data-toggle=""tooltip"" title=""Status"">
                    <div class=""btn-group"" data-toggle=""btn-toggle"">
                        <button type=""button"" class=""btn btn-default btn-sm active""><i class=""fa fa-square text-green""></i></button>
                        <button type=""button"" class=""btn btn-default btn-sm""><i class=""fa fa-square text-red""></i></button>
                    </div>
                </div>
            </div>
            <div class=""box-body chat"" id=""chat-box"">
                <!-- chat item -->
                <div class=""item"">
                    ");
            EndContext();
            BeginContext(4363, 77, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb21960", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(4440, 1098, true);
            WriteLiteral(@"
                    <p class=""message"">
                        <a href=""#"" class=""name"">
                            <small class=""text-muted pull-right""><i class=""fa fa-clock-o""></i> 2:15</small>
                            Mike Doe
                        </a>
                        I would like to meet you to discuss the latest news about
                        the arrival of the new theme. They say it is going to be one the
                        best themes on the market
                    </p>
                    <div class=""attachment"">
                        <h4>Attachments:</h4>
                        <p class=""filename"">
                            Theme-thumbnail-image.jpg
                        </p>
                        <div class=""pull-right"">
                            <button class=""btn btn-primary btn-sm btn-flat"">Open</button>
                        </div>
                    </div><!-- /.attachment -->
                </div><!-- /.item -->
                <!");
            WriteLiteral("-- chat item -->\r\n                <div class=\"item\">\r\n                    ");
            EndContext();
            BeginContext(5538, 79, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb24451", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(5617, 660, true);
            WriteLiteral(@"
                    <p class=""message"">
                        <a href=""#"" class=""name"">
                            <small class=""text-muted pull-right""><i class=""fa fa-clock-o""></i> 5:15</small>
                            Alexander Pierce
                        </a>
                        I would like to meet you to discuss the latest news about
                        the arrival of the new theme. They say it is going to be one the
                        best themes on the market
                    </p>
                </div><!-- /.item -->
                <!-- chat item -->
                <div class=""item"">
                    ");
            EndContext();
            BeginContext(6277, 79, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb26460", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6356, 7069, true);
            WriteLiteral(@"
                    <p class=""message"">
                        <a href=""#"" class=""name"">
                            <small class=""text-muted pull-right""><i class=""fa fa-clock-o""></i> 5:30</small>
                            Susan Doe
                        </a>
                        I would like to meet you to discuss the latest news about
                        the arrival of the new theme. They say it is going to be one the
                        best themes on the market
                    </p>
                </div><!-- /.item -->
            </div><!-- /.chat -->
            <div class=""box-footer"">
                <div class=""input-group"">
                    <input class=""form-control"" placeholder=""Type message..."">
                    <div class=""input-group-btn"">
                        <button class=""btn btn-success""><i class=""fa fa-plus""></i></button>
                    </div>
                </div>
            </div>
        </div><!-- /.box (chat box) -->
        <!");
            WriteLiteral(@"-- TO DO List -->
        <div class=""box box-primary"">
            <div class=""box-header"">
                <i class=""ion ion-clipboard""></i>
                <h3 class=""box-title"">To Do List</h3>
                <div class=""box-tools pull-right"">
                    <ul class=""pagination pagination-sm inline"">
                        <li><a href=""#"">&laquo;</a></li>
                        <li><a href=""#"">1</a></li>
                        <li><a href=""#"">2</a></li>
                        <li><a href=""#"">3</a></li>
                        <li><a href=""#"">&raquo;</a></li>
                    </ul>
                </div>
            </div><!-- /.box-header -->
            <div class=""box-body"">
                <ul class=""todo-list"">
                    <li>
                        <!-- drag handle -->
                        <span class=""handle"">
                            <i class=""fa fa-ellipsis-v""></i>
                            <i class=""fa fa-ellipsis-v""></i>
                     ");
            WriteLiteral(@"   </span>
                        <!-- checkbox -->
                        <input type=""checkbox"" value="""" name="""">
                        <!-- todo text -->
                        <span class=""text"">Design a nice theme</span>
                        <!-- Emphasis label -->
                        <small class=""label label-danger""><i class=""fa fa-clock-o""></i> 2 mins</small>
                        <!-- General tools such as edit or delete-->
                        <div class=""tools"">
                            <i class=""fa fa-edit""></i>
                            <i class=""fa fa-trash-o""></i>
                        </div>
                    </li>
                    <li>
                        <span class=""handle"">
                            <i class=""fa fa-ellipsis-v""></i>
                            <i class=""fa fa-ellipsis-v""></i>
                        </span>
                        <input type=""checkbox"" value="""" name="""">
                        <span class=""text"">Make th");
            WriteLiteral(@"e theme responsive</span>
                        <small class=""label label-info""><i class=""fa fa-clock-o""></i> 4 hours</small>
                        <div class=""tools"">
                            <i class=""fa fa-edit""></i>
                            <i class=""fa fa-trash-o""></i>
                        </div>
                    </li>
                    <li>
                        <span class=""handle"">
                            <i class=""fa fa-ellipsis-v""></i>
                            <i class=""fa fa-ellipsis-v""></i>
                        </span>
                        <input type=""checkbox"" value="""" name="""">
                        <span class=""text"">Let theme shine like a star</span>
                        <small class=""label label-warning""><i class=""fa fa-clock-o""></i> 1 day</small>
                        <div class=""tools"">
                            <i class=""fa fa-edit""></i>
                            <i class=""fa fa-trash-o""></i>
                        </div>
    ");
            WriteLiteral(@"                </li>
                    <li>
                        <span class=""handle"">
                            <i class=""fa fa-ellipsis-v""></i>
                            <i class=""fa fa-ellipsis-v""></i>
                        </span>
                        <input type=""checkbox"" value="""" name="""">
                        <span class=""text"">Let theme shine like a star</span>
                        <small class=""label label-success""><i class=""fa fa-clock-o""></i> 3 days</small>
                        <div class=""tools"">
                            <i class=""fa fa-edit""></i>
                            <i class=""fa fa-trash-o""></i>
                        </div>
                    </li>
                    <li>
                        <span class=""handle"">
                            <i class=""fa fa-ellipsis-v""></i>
                            <i class=""fa fa-ellipsis-v""></i>
                        </span>
                        <input type=""checkbox"" value="""" name="""">
      ");
            WriteLiteral(@"                  <span class=""text"">Check your messages and notifications</span>
                        <small class=""label label-primary""><i class=""fa fa-clock-o""></i> 1 week</small>
                        <div class=""tools"">
                            <i class=""fa fa-edit""></i>
                            <i class=""fa fa-trash-o""></i>
                        </div>
                    </li>
                    <li>
                        <span class=""handle"">
                            <i class=""fa fa-ellipsis-v""></i>
                            <i class=""fa fa-ellipsis-v""></i>
                        </span>
                        <input type=""checkbox"" value="""" name="""">
                        <span class=""text"">Let theme shine like a star</span>
                        <small class=""label label-default""><i class=""fa fa-clock-o""></i> 1 month</small>
                        <div class=""tools"">
                            <i class=""fa fa-edit""></i>
                            <i clas");
            WriteLiteral(@"s=""fa fa-trash-o""></i>
                        </div>
                    </li>
                </ul>
            </div><!-- /.box-body -->
            <div class=""box-footer clearfix no-border"">
                <button class=""btn btn-default pull-right""><i class=""fa fa-plus""></i> Add item</button>
            </div>
        </div><!-- /.box -->
        <!-- quick email widget -->
        <div class=""box box-info"">
            <div class=""box-header"">
                <i class=""fa fa-envelope""></i>
                <h3 class=""box-title"">Quick Email</h3>
                <!-- tools box -->
                <div class=""pull-right box-tools"">
                    <button class=""btn btn-info btn-sm"" data-widget=""remove"" data-toggle=""tooltip"" title=""Remove""><i class=""fa fa-times""></i></button>
                </div><!-- /. tools -->
            </div>
            <div class=""box-body"">
                ");
            EndContext();
            BeginContext(13425, 668, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ba6895ee10e2ba2d550c334560bc9e0ed37ccbb35284", async() => {
                BeginContext(13456, 630, true);
                WriteLiteral(@"
                    <div class=""form-group"">
                        <input type=""email"" class=""form-control"" name=""emailto"" placeholder=""Email to:"">
                    </div>
                    <div class=""form-group"">
                        <input type=""text"" class=""form-control"" name=""subject"" placeholder=""Subject"">
                    </div>
                    <div>
                        <textarea class=""textarea"" placeholder=""Message"" style=""width: 100%; height: 125px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;""></textarea>
                    </div>
                ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_12.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(14093, 7659, true);
            WriteLiteral(@"
            </div>
            <div class=""box-footer clearfix"">
                <button class=""pull-right btn btn-default"" id=""sendEmail"">Send <i class=""fa fa-arrow-circle-right""></i></button>
            </div>
        </div>
    </section><!-- /.Left col -->
    <!-- right col (We are only adding the ID to make the widgets sortable)-->
    <section class=""col-lg-5 connectedSortable"">
        <!-- Map box -->
        <div class=""box box-solid bg-light-blue-gradient"">
            <div class=""box-header"">
                <!-- tools box -->
                <div class=""pull-right box-tools"">
                    <button class=""btn btn-primary btn-sm daterange pull-right"" data-toggle=""tooltip"" title=""Date range""><i class=""fa fa-calendar""></i></button>
                    <button class=""btn btn-primary btn-sm pull-right"" data-widget=""collapse"" data-toggle=""tooltip"" title=""Collapse"" style=""margin-right: 5px;""><i class=""fa fa-minus""></i></button>
                </div><!-- /. tools -->
            ");
            WriteLiteral(@"    <i class=""fa fa-map-marker""></i>
                <h3 class=""box-title"">
                    Visitors
                </h3>
            </div>
            <div class=""box-body"">
                <div id=""world-map"" style=""height: 250px; width: 100%;""></div>
            </div><!-- /.box-body-->
            <div class=""box-footer no-border"">
                <div class=""row"">
                    <div class=""col-xs-4 text-center"" style=""border-right: 1px solid #f4f4f4"">
                        <div id=""sparkline-1""></div>
                        <div class=""knob-label"">Visitors</div>
                    </div><!-- ./col -->
                    <div class=""col-xs-4 text-center"" style=""border-right: 1px solid #f4f4f4"">
                        <div id=""sparkline-2""></div>
                        <div class=""knob-label"">Online</div>
                    </div><!-- ./col -->
                    <div class=""col-xs-4 text-center"">
                        <div id=""sparkline-3""></div>
                ");
            WriteLiteral(@"        <div class=""knob-label"">Exists</div>
                    </div><!-- ./col -->
                </div><!-- /.row -->
            </div>
        </div>
        <!-- /.box -->
        <!-- solid sales graph -->
        <div class=""box box-solid bg-teal-gradient"">
            <div class=""box-header"">
                <i class=""fa fa-th""></i>
                <h3 class=""box-title"">Sales Graph</h3>
                <div class=""box-tools pull-right"">
                    <button class=""btn bg-teal btn-sm"" data-widget=""collapse""><i class=""fa fa-minus""></i></button>
                    <button class=""btn bg-teal btn-sm"" data-widget=""remove""><i class=""fa fa-times""></i></button>
                </div>
            </div>
            <div class=""box-body border-radius-none"">
                <div class=""chart"" id=""line-chart"" style=""height: 250px;""></div>
            </div><!-- /.box-body -->
            <div class=""box-footer no-border"">
                <div class=""row"">
                    <div cl");
            WriteLiteral(@"ass=""col-xs-4 text-center"" style=""border-right: 1px solid #f4f4f4"">
                        <input type=""text"" class=""knob"" data-readonly=""true"" value=""20"" data-width=""60"" data-height=""60"" data-fgColor=""#39CCCC"">
                        <div class=""knob-label"">Mail-Orders</div>
                    </div><!-- ./col -->
                    <div class=""col-xs-4 text-center"" style=""border-right: 1px solid #f4f4f4"">
                        <input type=""text"" class=""knob"" data-readonly=""true"" value=""50"" data-width=""60"" data-height=""60"" data-fgColor=""#39CCCC"">
                        <div class=""knob-label"">Online</div>
                    </div><!-- ./col -->
                    <div class=""col-xs-4 text-center"">
                        <input type=""text"" class=""knob"" data-readonly=""true"" value=""30"" data-width=""60"" data-height=""60"" data-fgColor=""#39CCCC"">
                        <div class=""knob-label"">In-Store</div>
                    </div><!-- ./col -->
                </div><!-- /.row -->
        ");
            WriteLiteral(@"    </div><!-- /.box-footer -->
        </div><!-- /.box -->
        <!-- Calendar -->
        <div class=""box box-solid bg-green-gradient"">
            <div class=""box-header"">
                <i class=""fa fa-calendar""></i>
                <h3 class=""box-title"">Calendar</h3>
                <!-- tools box -->
                <div class=""pull-right box-tools"">
                    <!-- button with a dropdown -->
                    <div class=""btn-group"">
                        <button class=""btn btn-success btn-sm dropdown-toggle"" data-toggle=""dropdown""><i class=""fa fa-bars""></i></button>
                        <ul class=""dropdown-menu pull-right"" role=""menu"">
                            <li><a href=""#"">Add new event</a></li>
                            <li><a href=""#"">Clear events</a></li>
                            <li class=""divider""></li>
                            <li><a href=""#"">View calendar</a></li>
                        </ul>
                    </div>
                    <bu");
            WriteLiteral(@"tton class=""btn btn-success btn-sm"" data-widget=""collapse""><i class=""fa fa-minus""></i></button>
                    <button class=""btn btn-success btn-sm"" data-widget=""remove""><i class=""fa fa-times""></i></button>
                </div><!-- /. tools -->
            </div><!-- /.box-header -->
            <div class=""box-body no-padding"">
                <!--The calendar -->
                <div id=""calendar"" style=""width: 100%""></div>
            </div><!-- /.box-body -->
            <div class=""box-footer text-black"">
                <div class=""row"">
                    <div class=""col-sm-6"">
                        <!-- Progress bars -->
                        <div class=""clearfix"">
                            <span class=""pull-left"">Task #1</span>
                            <small class=""pull-right"">90%</small>
                        </div>
                        <div class=""progress xs"">
                            <div class=""progress-bar progress-bar-green"" style=""width: 90%;""></div");
            WriteLiteral(@">
                        </div>
                        <div class=""clearfix"">
                            <span class=""pull-left"">Task #2</span>
                            <small class=""pull-right"">70%</small>
                        </div>
                        <div class=""progress xs"">
                            <div class=""progress-bar progress-bar-green"" style=""width: 70%;""></div>
                        </div>
                    </div><!-- /.col -->
                    <div class=""col-sm-6"">
                        <div class=""clearfix"">
                            <span class=""pull-left"">Task #3</span>
                            <small class=""pull-right"">60%</small>
                        </div>
                        <div class=""progress xs"">
                            <div class=""progress-bar progress-bar-green"" style=""width: 60%;""></div>
                        </div>
                        <div class=""clearfix"">
                            <span class=""pull-left"">Task ");
            WriteLiteral(@"#4</span>
                            <small class=""pull-right"">40%</small>
                        </div>
                        <div class=""progress xs"">
                            <div class=""progress-bar progress-bar-green"" style=""width: 40%;""></div>
                        </div>
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div>
        </div><!-- /.box -->
    </section><!-- right col -->
</div><!-- /.row (main row) -->
");
            EndContext();
        }
Ejemplo n.º 23
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 17, true);
            WriteLiteral("<!DOCTYPE html>\r\n");
            EndContext();
#line 2 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"

            Func <string, HtmlString> json = x => new HtmlString(Serenity.JSON.Stringify(x));
            var hideNav     = (string)Context.Request.Query["hideNav"] == "1";
            var logged      = Serenity.Authorization.Username;
            var themeCookie = Context.Request.Cookies["ThemePreference"];
            var theme       = !themeCookie.IsEmptyOrNull() ? themeCookie : "blue";
            var darkSidebar = theme != null && theme.IndexOf("light") < 0;
            var rtl         = System.Globalization.CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft;
            var user        = (UserDefinition)Serenity.Authorization.UserDefinition;
            var userImage   = System.Web.VirtualPathUtility.ToAbsolute(
                (user == null || string.IsNullOrEmpty(user.UserImage)) ? "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAMAAAAPdrEwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMAUExURT0oHC0tLTIwLzQzMzo2NDs4Njo6OkQrHUMtIEkuIEYwIkgyI0o0KkI7NkM+O0g/O1M3K1c7KUFAPkpBPFdAK1pCLVFEPlhANWJHOWJJMWpONGlQNnJZO0FBQU5EQEpJRkxLS1JHQVNKRVBOTF1OR1JRTl5QSlFRUVhWVFlYVltbWmJUTGtRRWpWTGBeWmtbUXVcQXZbT3hURGNhXnhhRnVkW3hhVntlWmRkZG1qZWxranBsZ3FuaXRxbHt0bXNzc3l2cHx4coVQOIBcSopbRoVxWpRwX55yXYNtYYtvYYxxZIN/eZV1ZZV7bZt6aqZhQ65hQb1oQ6J9a+w4Puw9QsdlPMhnPsVrRcVuSclrQ8RxTMxyTMV1UsR4VsF7XMt2Uc55U859WtB6VdF9WcB/YexGS+5cYfBkafFtcfF3evJ4fIWBe4mFfpSEcJWHeZ6Pf6mDb6mKer6Far2IbrCJdbyMdLiPerCQfruRfM+CX9OAXMCAYsCSfNWFYdaJZteKaNiMatmQbtuTc9qXe92Yd96ZeuCdfYSEhIuHgI2JgoqKipKNhpmNhJWRiZmUjJ6ZkJ2dnaKWjKGck62dlLWTgbqXhLmZh7ibirifkKWgl6ahmKiimaqkm6umnKymna6onrailLWpnbiplbusmq+poKmpqbCqoLKsorOtpLWroLSsorSupLWwprexqLm5ucOXgMaZgcuchdKdg8iijcaol82mkdCgh9Ojit+gg9mmjdypjtKqld2qkNiumN6znMS9tOqKiuGfgPOChvSMj/SNkOKjhOOmieWqjOWtkeKumOiukeawlOG1numyluq1muy4ne28o+u+qsPBv8vBtsvFv+/Apu3CrezEsu/It/DAp/DBqPHHsfHJtPLNusPDw8rGwc7JwtbW1tjU0d/b19vb2+/RxeDb1+nd1/nCw/nKzPPTwvTXyPTZy/Xd0fvW2Pva2/fg0/jl2+Tj4+jk4evr6/fo4fnr5fzt7Pvx7PTz8/318/349v7+/gAAAAAAAAAAAIt9dAgAAAEAdFJOU////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wBT9wclAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAGXRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4wLjEzNANbegAAClFJREFUaEO1mX90FFcVx0k3efVHGzWxVbRT1tJ0YKNHNHrYxNJW688ey6mEFjYbSdxFqqb+KBSNsRuW0Y1GJFREsYCEtJJ4slo5WKxiK+LpZNZt3+zj6Iaz20DLkfoTrKQcCun84b1v3mzm1+6SP/ye/Jh9797P3Ln3vjczyby0v/YQqYwIqIZIOB+QtwlzP5VDp2+uxA7AJM43BFpHhb1XvujgzVt3P9xggvzE0ZwtkYbtwskjXzQJcKGrvwifE+yh7WPCzyl/NMYFl42u/uJUwa4JBHcLR4d80U3gg9UyARXEDWoCAbLFJ3Bf9AerMi2hIZAJ2SpcbfJFP1whFS7h9QVIbdMub6e40WNbbmlZ1MQ7wFSVC4BpjDpQs/AnglCSJ+ptmONAjfAEVWELA3Kb8J+VNyHDaGh2nulkrjy3PGOeLvHJ9RB6lRacybZ3izjCMXsPtQr3ktzobVtH07ehAw9csAOCwz+KQ0vcAkXchfSgF5GewVIVxW9B8VUpM2RQICx5EjLWUkeg6Ja9+bOyuI0ktQiCJTd6SAIypAC2TZRY7ILhVS0uF24iSUGBsORGjw6iFdjD9oROwhMxDvH9q+bGQzfhB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8R50Py5K0aNlW19/4UB702JYWwIZJuE2gDWNKpxD6QDwai0VjCrxzUTo5I+amQ22yHA4FpdBg5df/0aHWoBxuC4cBHd4vvKGYTMe0UE3De4+uszNiwjD2y2E5GEYX+LXVQbejRwflYAtg0RLQbfB2JHTxBLNp6qIYhg4JyxA1xoIKLrzPBreht+HpeQAgKRwOPST8UedEEUFm/Uzth2wE5RB6taJbMDhUqmkJvXcZZFiAQyGZYA5PCQDXGXgsA515VXxGTYcALQVlGencOSS17RFECz0scgyTYCjLUigMXrMpQZ07MWWPGHQrWJpoEKeHW2Xr3ygWuk2CFADcBAMayiPL3xUIUy99bt0/xaGph9AyTPAnF0+MJLWYORHoIQlSBlUuKRjkH2a7xJh5emV7+8o/wquupZPcMjSLluXFLYuDrdIWzjTRo01QBUlMcwWJeR5zSYJeWtfOta6UpNPcAC/QLrx4ifeJie6BiKG6YpaLmKmx1uT5P5jk9nvPw66FOh2SuUPQi5b5P8Q4egy7TlhagssMSiQUCnPS+Vdf+Swnr4Rsv4wj03hVhEhBq4olQcaDwxZ6ENAw5LDh/zEILYb1AOxpYP2Doz/PsXAu6E0QWbDAGXQQ2zEsf0egxxZaLecQMSsp3zr9baDP3MvRK/+D7MdOYduhpAXiQIiHFw43/cxEb4f88HGnpMWl8z1mGE9zcnv7FxBthgwKEVc6+MdQWNqeTv8P8+F3kItdpBIAAAAASUVORK5CYII=" :
                "~/upload/" + user.UserImage);

#line default
#line hidden
            BeginContext(5902, 27, true);
            WriteLiteral("<!--[if IE 8]> <html lang=\"");
            EndContext();
            BeginContext(5930, 54, false);
#line 15 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            Write(System.Globalization.CultureInfo.CurrentUICulture.Name);

#line default
#line hidden
            EndContext();
            BeginContext(5984, 62, true);
            WriteLiteral("\" class=\"ie8 no-js\"> <![endif]-->\r\n<!--[if IE 9]> <html lang=\"");
            EndContext();
            BeginContext(6047, 54, false);
#line 16 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            Write(System.Globalization.CultureInfo.CurrentUICulture.Name);

#line default
#line hidden
            EndContext();
            BeginContext(6101, 60, true);
            WriteLiteral("\" class=\"ie9 no-js\"> <![endif]-->\r\n<!--[if !IE]><!-->\r\n<html");
            EndContext();
            BeginWriteAttribute("lang", " lang=\"", 6161, "\"", 6223, 1);
#line 18 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            WriteAttributeValue("", 6168, System.Globalization.CultureInfo.CurrentUICulture.Name, 6168, 55, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginWriteAttribute("class", " class=\"", 6224, "\"", 6271, 2);
            WriteAttributeValue("", 6232, "no-js", 6232, 5, true);
#line 18 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            WriteAttributeValue("", 6237, hideNav ? " no-navigation" : "", 6237, 34, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(6272, 21, true);
            WriteLiteral(">\r\n<!--<![endif]-->\r\n");
            EndContext();
            BeginContext(6293, 157, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3815141", async() => {
                BeginContext(6299, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(6305, 48, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ba908daa19e486839f6ad4d1e477e7e54a564c3815529", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper);
                BeginWriteTagHelperAttribute();
#line 21 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                WriteLiteral(MVC.Views.Shared._LayoutHead);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("name", __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(6353, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(6360, 28, false);
#line 22 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                Write(RenderSection("Head", false));

#line default
#line hidden
                EndContext();
                BeginContext(6388, 13, true);
                WriteLiteral("\r\n    <title>");
                EndContext();
                BeginContext(6403, 17, false);
#line 23 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                Write(ViewData["Title"]);

#line default
#line hidden
                EndContext();
                BeginContext(6421, 22, true);
                WriteLiteral(" - SereneApp</title>\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(6450, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(6452, 6803, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3818832", async() => {
                BeginContext(6692, 57, true);
                WriteLiteral("\r\n<div id=\"PageBackground\" style=\"display: none\"></div>\r\n");
                EndContext();
#line 27 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                if (hideNav)
                {
#line default
#line hidden
                    BeginContext(6767, 74, true);
                    WriteLiteral("    <script type=\"text/javascript\">\r\n        $(function () {\r\n            ");
                    EndContext();
                    BeginContext(6842, 38, false);
#line 31 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(RenderSection("PageInitScript", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(6880, 140, true);
                    WriteLiteral("\r\n        });\r\n    </script>\r\n    <div id=\"page-outer-nonav\">\r\n        <div id=\"page-container\" class=\"page-container-common\">\r\n            ");
                    EndContext();
                    BeginContext(7021, 12, false);
#line 36 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(RenderBody());

#line default
#line hidden
                    EndContext();
                    BeginContext(7033, 30, true);
                    WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                    EndContext();
#line 39 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(7075, 77, true);
                    WriteLiteral("    <div class=\"wrapper\">\r\n        <header class=\"main-header\">\r\n            ");
                    EndContext();
                    BeginContext(7152, 199, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3820853", async() => {
                        BeginContext(7178, 106, true);
                        WriteLiteral("\r\n                <span class=\"logo-mini\"><i></i></span>\r\n                <span class=\"logo-lg\"><i></i><b>");
                        EndContext();
                        BeginContext(7285, 37, false);
#line 46 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(LocalText.Get("Navigation.SiteTitle"));

#line default
#line hidden
                        EndContext();
                        BeginContext(7322, 25, true);
                        WriteLiteral("</b></span>\r\n            ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(7351, 541, true);
                    WriteLiteral(@"
            <nav class=""navbar navbar-static-top"" role=""navigation"">
                <a href=""#"" class=""sidebar-toggle"" data-toggle=""offcanvas"" role=""button"">
                    <span class=""sr-only"">Toggle navigation</span>
                </a>

                <div class=""navbar-custom-menu"">
                    <ul class=""nav navbar-nav"">
                        <li class=""dropdown user user-menu"">
                            <a href=""#"" class=""dropdown-toggle"" data-toggle=""dropdown"">
                                <img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 7892, "\"", 7908, 1);
#line 57 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    WriteAttributeValue("", 7898, userImage, 7898, 10, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(7909, 95, true);
                    WriteLiteral(" class=\"user-image\" alt=\"User Image\">\r\n                                <span class=\"hidden-xs\">");
                    EndContext();
                    BeginContext(8005, 31, false);
#line 58 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(Serenity.Authorization.Username);

#line default
#line hidden
                    EndContext();
                    BeginContext(8036, 250, true);
                    WriteLiteral("</span>\r\n                            </a>\r\n                            <ul class=\"dropdown-menu\">\r\n                                <!-- User image -->\r\n                                <li class=\"user-header\">\r\n                                    <img");
                    EndContext();
                    BeginWriteAttribute("src", " src=\"", 8286, "\"", 8302, 1);
#line 63 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    WriteAttributeValue("", 8292, userImage, 8292, 10, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(8303, 122, true);
                    WriteLiteral(" class=\"img-circle\" alt=\"User Image\">\r\n\r\n                                    <p>\r\n                                        ");
                    EndContext();
                    BeginContext(8427, 36, false);
#line 66 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(user != null ? user.DisplayName : "");

#line default
#line hidden
                    EndContext();
                    BeginContext(8464, 297, true);
                    WriteLiteral(@"
                                    </p>
                                </li>

                                <!-- Menu Footer-->
                                <li class=""user-footer"">
                                    <div class=""pull-left"">
                                        ");
                    EndContext();
                    BeginContext(8761, 153, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3825876", async() => {
                        BeginContext(8829, 33, true);
                        WriteLiteral("<i class=\"fa fa-lock fa-fw\"></i> ");
                        EndContext();
                        BeginContext(8863, 47, false);
#line 73 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(Texts.Forms.Membership.ChangePassword.FormTitle);

#line default
#line hidden
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(8914, 148, true);
                    WriteLiteral("\r\n                                    </div>\r\n                                    <div class=\"pull-right\">\r\n                                        ");
                    EndContext();
                    BeginContext(9062, 141, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3827928", async() => {
                        BeginContext(9123, 37, true);
                        WriteLiteral("<i class=\"fa fa-sign-out fa-fw\"></i> ");
                        EndContext();
                        BeginContext(9161, 38, false);
#line 76 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(LocalText.Get("Navigation.LogoutLink"));

#line default
#line hidden
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(9203, 504, true);
                    WriteLiteral(@"
                                    </div>
                                </li>
                            </ul>
                        </li>

                        <li>
                            <a href=""#"" data-toggle=""control-sidebar""><i class=""fa fa-sliders""></i></a>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>

        <aside class=""main-sidebar"">
            <section class=""sidebar"">
                ");
                    EndContext();
                    BeginContext(9707, 493, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3830331", async() => {
                        BeginContext(9758, 435, true);
                        WriteLiteral(@"
                    <div class=""input-group"">
                        <input type=""text"" id=""SidebarSearch"" name=""q"" class=""form-control"" autocomplete=""off"">
                        <span class=""input-group-btn"">
                            <button type=""button"" name=""search"" id=""search-btn"" class=""btn btn-flat""><i class=""fa fa-search""></i></button>
                        </span>
                    </div>
                ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(10200, 82, true);
                    WriteLiteral("\r\n                <ul class=\"sidebar-menu\" id=\"SidebarMenu\">\r\n                    ");
                    EndContext();
                    BeginContext(10282, 102, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ba908daa19e486839f6ad4d1e477e7e54a564c3832798", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper);
                    BeginWriteTagHelperAttribute();
#line 101 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    WriteLiteral(MVC.Views.Shared.LeftNavigation);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("name", __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 101 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Model = new SereneApp.Navigation.NavigationModel();

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("model", __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Model, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(10384, 108, true);
                    WriteLiteral("\r\n                </ul>\r\n            </section>\r\n        </aside>\r\n\r\n        <div class=\"content-wrapper\">\r\n");
                    EndContext();
#line 107 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    if (IsSectionDefined("ContentHeader"))
                    {
#line default
#line hidden
                        BeginContext(10560, 70, true);
                        WriteLiteral("                <section class=\"content-header\">\r\n                    ");
                        EndContext();
                        BeginContext(10631, 30, false);
#line 110 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(RenderSection("ContentHeader"));

#line default
#line hidden
                        EndContext();
                        BeginContext(10661, 30, true);
                        WriteLiteral("\r\n                </section>\r\n");
                        EndContext();
#line 112 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    }

#line default
#line hidden
                    BeginContext(10706, 55, true);
                    WriteLiteral("            <section class=\"content\">\r\n                ");
                    EndContext();
                    BeginContext(10762, 12, false);
#line 114 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(RenderBody());

#line default
#line hidden
                    EndContext();
                    BeginContext(10774, 146, true);
                    WriteLiteral("\r\n            </section>\r\n        </div>\r\n\r\n        <footer class=\"main-footer\">\r\n            <div class=\"pull-right hidden-xs\">\r\n                ");
                    EndContext();
                    BeginContext(10921, 28, false);
#line 120 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(Texts.Site.Layout.FooterInfo);

#line default
#line hidden
                    EndContext();
                    BeginContext(10949, 42, true);
                    WriteLiteral("\r\n            </div>\r\n            <strong>");
                    EndContext();
                    BeginContext(10992, 33, false);
#line 122 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(Texts.Site.Layout.FooterCopyright);

#line default
#line hidden
                    EndContext();
                    BeginContext(11025, 10, true);
                    WriteLiteral("</strong> ");
                    EndContext();
                    BeginContext(11036, 30, false);
#line 122 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(Texts.Site.Layout.FooterRights);

#line default
#line hidden
                    EndContext();
                    BeginContext(11066, 225, true);
                    WriteLiteral("\r\n        </footer>\r\n\r\n        <aside class=\"control-sidebar control-sidebar-dark\">\r\n            <div class=\"tab-content\">\r\n                <div class=\"tab-pane active\" id=\"control-sidebar-settings-tab\">\r\n                    ");
                    EndContext();
                    BeginContext(11291, 728, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba908daa19e486839f6ad4d1e477e7e54a564c3838227", async() => {
                        BeginContext(11311, 62, true);
                        WriteLiteral("\r\n                        <h3 class=\"control-sidebar-heading\">");
                        EndContext();
                        BeginContext(11374, 33, false);
#line 129 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(Texts.Site.Layout.GeneralSettings);

#line default
#line hidden
                        EndContext();
                        BeginContext(11407, 129, true);
                        WriteLiteral("</h3>\r\n\r\n                        <div class=\"form-group\">\r\n                            <label class=\"control-sidebar-subheading\">");
                        EndContext();
                        BeginContext(11537, 26, false);
#line 132 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(Texts.Site.Layout.Language);

#line default
#line hidden
                        EndContext();
                        BeginContext(11563, 278, true);
                        WriteLiteral(@"</label>
                            <select id=""LanguageSelect"" class=""form-control""></select>
                        </div>

                        <div class=""form-group"" style=""margin-top: 15px;"">
                            <label class=""control-sidebar-subheading"">");
                        EndContext();
                        BeginContext(11842, 23, false);
#line 137 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                        Write(Texts.Site.Layout.Theme);

#line default
#line hidden
                        EndContext();
                        BeginContext(11865, 147, true);
                        WriteLiteral("</label>\r\n                            <select id=\"ThemeSelect\" class=\"form-control\"></select>\r\n                        </div>\r\n                    ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(12019, 124, true);
                    WriteLiteral("\r\n                </div>\r\n            </div>\r\n        </aside>\r\n        <div class=\"control-sidebar-bg\"></div>\r\n    </div>\r\n");
                    EndContext();
                    BeginContext(12145, 240, true);
                    WriteLiteral("    <script type=\"text/javascript\">\r\n        $().ready(function () {\r\n            new SereneApp.Common.SidebarSearch($(\'#SidebarSearch\'), $(\'#SidebarMenu\')).init();\r\n            new SereneApp.Common.LanguageSelection($(\'#LanguageSelect\'), \'");
                    EndContext();
                    BeginContext(12387, 54, false);
#line 150 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(System.Globalization.CultureInfo.CurrentUICulture.Name);

#line default
#line hidden
                    EndContext();
                    BeginContext(12442, 86, true);
                    WriteLiteral("\');\r\n            new SereneApp.Common.ThemeSelection($(\'#ThemeSelect\'));\r\n            ");
                    EndContext();
                    BeginContext(12529, 38, false);
#line 152 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                    Write(RenderSection("PageInitScript", false));

#line default
#line hidden
                    EndContext();
                    BeginContext(12567, 678, true);
                    WriteLiteral(@";

            var doLayout = function () {
                height = (this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height;
                height -= $('header.main-header').outerHeight() || 0;
                height -= $('section.content-header').outerHeight() || 0;
                height -= $('footer.main-footer').outerHeight() || 0;
                if (height < 200) height = 200;
                $(""section.content"").css(""min-height"", (height) + ""px"");

                $('body').triggerHandler('layout');
            };

            $(window).bind(""load resize layout"", doLayout);
            doLayout();
        });
    </script>
");
                    EndContext();
#line 169 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
                }

#line default
#line hidden
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "id", 3, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            AddHtmlAttributeValue("", 6462, "s-", 6462, 2, true);
#line 25 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            AddHtmlAttributeValue("", 6464, ViewData["PageId"], 6464, 21, false);

#line default
#line hidden
            AddHtmlAttributeValue("", 6485, "Page", 6485, 4, true);
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "class", 9, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            AddHtmlAttributeValue("", 6498, ViewData["BodyClass"], 6498, 24, false);

#line default
#line hidden
            AddHtmlAttributeValue(" ", 6522, "fixed", 6523, 6, true);
            AddHtmlAttributeValue(" ", 6528, "sidebar-mini", 6529, 13, true);
            AddHtmlAttributeValue(" ", 6541, "hold-transition", 6542, 16, true);
            AddHtmlAttributeValue(" ", 6557, "skin-", 6558, 6, true);
#line 25 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            AddHtmlAttributeValue("", 6563, theme, 6563, 6, false);

#line default
#line hidden
#line 25 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            AddHtmlAttributeValue(" ", 6569, darkSidebar ? "dark-sidebar" : "light-sidebar", 6570, 49, false);

#line default
#line hidden
#line 25 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            AddHtmlAttributeValue("", 6619, hideNav ? " no-navigation" : " has-layout-event", 6619, 51, false);

#line default
#line hidden
#line 25 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Views\Shared\_Layout.cshtml"
            AddHtmlAttributeValue("", 6670, rtl ? " rtl" : "", 6670, 20, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(13255, 9, true);
            WriteLiteral("\r\n</html>");
            EndContext();
        }
Ejemplo n.º 24
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.AdminLTE.cshtml"

            ViewData["Title"]     = Texts.Forms.Membership.Login.FormTitle;
            ViewData["PageId"]    = "Login";
            ViewData["BodyClass"] = "login-page";
            Layout = MVC.Views.Shared._LayoutNoNavigation;

#line default
#line hidden
            BeginContext(202, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("Head", async() => {
                BeginContext(219, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(225, 65, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "35eaf2ae1c83d18ba9a47e44f29efa8f3ccf6e075460", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(290, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(296, 54, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "35eaf2ae1c83d18ba9a47e44f29efa8f3ccf6e076792", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(350, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(355, 397, true);
            WriteLiteral(@"
<script id=""Template_Membership_LoginPanel"" type=""text/template"">
    <div class=""s-Form"">
        <form id=""~_Form"" action="""">            
            <div id=""~_PropertyGrid""></div>
            <div class=""row"">
                <div class=""col-xs-7"">
                    <div class=""checkbox icheck"">
                        <label>
                            <input type=""checkbox""> ");
            EndContext();
            BeginContext(753, 39, false);
#line 21 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.RememberMe);

#line default
#line hidden
            EndContext();
            BeginContext(792, 232, true);
            WriteLiteral("\r\n                        </label>\r\n                    </div>\r\n                </div>\r\n                <div class=\"col-xs-5\">\r\n                    <button id=\"~_LoginButton\" type=\"submit\" class=\"btn btn-primary btn-block btn-flat\">");
            EndContext();
            BeginContext(1025, 41, false);
#line 26 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.SignInButton);

#line default
#line hidden
            EndContext();
            BeginContext(1066, 97, true);
            WriteLiteral("</button>\r\n                </div>\r\n            </div>\r\n        </form>\r\n    </div>\r\n</script>\r\n\r\n");
            EndContext();
#line 33 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            if (DataMigrations.SkippedMigrations)
            {
#line default
#line hidden
                BeginContext(1206, 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 42 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            }

#line default
#line hidden
            BeginContext(1631, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 44 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            if (ViewData["Activated"] != null)
            {
#line default
#line hidden
                BeginContext(1673, 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(1855, 41, false);
#line 48 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
                Write(LocalText.Get("Dialogs.InformationTitle"));

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

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

#line default
#line hidden
            BeginContext(1976, 65, true);
            WriteLiteral("\r\n<div class=\"login-box\">\r\n    <div class=\"login-logo\">\r\n        ");
            EndContext();
            BeginContext(2042, 26, false);
#line 55 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Navigation.SiteTitle);

#line default
#line hidden
            EndContext();
            BeginContext(2068, 81, true);
            WriteLiteral("\r\n    </div>\r\n    <div class=\"login-box-body\">\r\n        <p class=\"login-box-msg\">");
            EndContext();
            BeginContext(2150, 38, false);
#line 58 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.FormTitle);

#line default
#line hidden
            EndContext();
            BeginContext(2188, 123, true);
            WriteLiteral("</p>\r\n        <div id=\"LoginPanel\">\r\n        </div>\r\n        <div class=\"social-auth-links text-center\">\r\n            <p>- ");
            EndContext();
            BeginContext(2312, 31, false);
#line 62 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.OR);

#line default
#line hidden
            EndContext();
            BeginContext(2343, 136, true);
            WriteLiteral(" -</p>\r\n            <a href=\"#\" class=\"btn btn-block btn-social btn-facebook btn-flat\">\r\n                <i class=\"fa fa-facebook\"></i> ");
            EndContext();
            BeginContext(2480, 43, false);
#line 64 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.FacebookButton);

#line default
#line hidden
            EndContext();
            BeginContext(2523, 149, true);
            WriteLiteral("\r\n            </a>\r\n            <a href=\"#\" class=\"btn btn-block btn-social btn-google btn-flat\">\r\n                <i class=\"fa fa-google-plus\"></i> ");
            EndContext();
            BeginContext(2673, 41, false);
#line 67 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.GoogleButton);

#line default
#line hidden
            EndContext();
            BeginContext(2714, 46, true);
            WriteLiteral("\r\n            </a>\r\n        </div>\r\n        <a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 2760, "\"", 2807, 1);
#line 70 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            WriteAttributeValue("", 2767, Url.Content("~/Account/ForgotPassword"), 2767, 40, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(2808, 1, true);
            WriteLiteral(">");
            EndContext();
            BeginContext(2810, 43, false);
#line 70 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.ForgotPassword);

#line default
#line hidden
            EndContext();
            BeginContext(2853, 20, true);
            WriteLiteral("</a><br>\r\n        <a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 2873, "\"", 2912, 1);
#line 71 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            WriteAttributeValue("", 2880, Url.Content("~/Account/SignUp"), 2880, 32, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(2913, 21, true);
            WriteLiteral(" class=\"text-center\">");
            EndContext();
            BeginContext(2935, 41, false);
#line 71 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            Write(Texts.Forms.Membership.Login.SignUpButton);

#line default
#line hidden
            EndContext();
            BeginContext(2976, 590, true);
            WriteLiteral(@"</a>
    </div>
</div>

<script type=""text/javascript"">
jQuery(function() {
    new SereneApp.Membership.LoginPanel($('#LoginPanel')).init();
    $('.field.Username,.field.Password').addClass(""has-icon"");
    $('.field.Username input').after(""<span class='glyphicon glyphicon-user form-control-feedback'></span>"");
    $('.field.Password input').after(""<span class='glyphicon glyphicon-lock form-control-feedback'></span>"");
    $('input').iCheck({
        checkboxClass: 'icheckbox_square-blue',
        radioClass: 'iradio_square-blue',
        increaseArea: '20%'
    });
");
            EndContext();
#line 86 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            if (ViewData["Activated"] != null)
            {
#line default
#line hidden
                BeginContext(3616, 83, true);
                WriteLiteral("\r\n    $(function() { \r\n        $(\'#SereneApp_Membership_LoginPanel0_Username\').val(");
                EndContext();
                BeginContext(3700, 56, false);
#line 90 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
                Write(Html.Raw(Serenity.JSON.Stringify(ViewData["Activated"])));

#line default
#line hidden
                EndContext();
                BeginContext(3756, 83, true);
                WriteLiteral(");\r\n        $(\'#SereneApp_Membership_LoginPanel0_Password\').focus();\r\n    });\r\n    ");
                EndContext();
#line 93 "D:\Users\tamir\Source\Repos\SereneApp\SereneApp.Web\Modules\Membership\Account\AccountLogin.AdminLTE.cshtml"
            }

#line default
#line hidden
            BeginContext(3851, 14, true);
            WriteLiteral("});\r\n</script>");
            EndContext();
        }
Ejemplo n.º 25
0
 public static string ToAbbreviation(this TimeUnit unit)
 {
     return(LocalText.Get("Enums.TimeUnit." + Enum.GetName(typeof(TimeUnit), unit) + "Abbr"));
 }
Ejemplo n.º 26
0
 public void LocalText_Get_ReturnsEmptyIfKeyIsEmpty()
 {
     Assert.Equal(String.Empty, LocalText.Get(String.Empty));
 }