Exemple #1
0
        public static ActivityResourceClass UrlResource() // = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name         = Enums.Resources.Url.ToString(),
                CreateUrl    = "~/Views/ActivityResource/Url/UrlCreate.aspx",
                ViewUrl      = "~/Views/ActivityResource/Url/UrlView.aspx",
                IconPath     = "~/Content/Icons/ActivityResource/Url/url_with_text.png",
                TypePosition = (int)Enums.Resources.Url + 1
            };

            return(ar);
        }
Exemple #2
0
        public static ActivityResourceClass LabelResource()// = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name         = Enums.Resources.Label.ToString(),
                CreateUrl    = "~/Views/ActivityResource/Label/LabelCreate.aspx",
                ViewUrl      = "~/Views/ActivityResource/Label/LabelView.aspx",
                IconPath     = "~/Content/Icons/ActivityResource/Label/label_icon.png",
                TypePosition = (int)Enums.Resources.Label + 1
            };

            return(ar);
        }
Exemple #3
0
        public static ActivityResourceClass PageResource() // = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name         = Enums.Resources.Page.ToString(),
                CreateUrl    = "~/Views/ActivityResource/Page/PageCreate.aspx",
                ViewUrl      = "~/Views/ActivityResource/Page/PageView.aspx",
                IconPath     = "~/Content/Icons/ActivityResource/Page/page_icon.png",
                TypePosition = (int)Enums.Resources.Page + 1
            };

            return(ar);
        }
Exemple #4
0
        public static ActivityResourceClass FolderResource()// = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name         = Enums.Resources.Folder.ToString(),
                CreateUrl    = "~/Views/ActivityResource/Folder/FolderCreate.aspx",
                ViewUrl      = "~/Views/ActivityResource/Folder/FolderView.aspx",
                IconPath     = "~/Content/Icons/ActivityResource/Folder/folder_icon_plain.png",
                TypePosition = (int)Enums.Resources.Folder + 1
            };

            return(ar);
        }
Exemple #5
0
        //--------------------- Resources -------------------------//

        public static ActivityResourceClass BookResource()// = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name         = Enums.Resources.Book.ToString(),
                CreateUrl    = "~/Views/ActivityResource/Book/BookCreate.aspx",
                ViewUrl      = "~/Views/ActivityResource/Book/BookView.aspx",
                IconPath     = "~/Content/Icons/ActivityResource/Book/book.png",
                TypePosition = (int)Enums.Resources.Book + 1
            };

            return(ar);
        }
Exemple #6
0
        public static ActivityResourceClass ChoiceActivity()// = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name = Enums.Activities.Choice.ToString()
                ,
                CreateUrl = "~/Views/ActivityResource/Choice/ChoiceCreate.aspx"
                ,
                ViewUrl = "~/Views/ActivityResource/Choice/ChoiceView.aspx"
                ,
                IconPath = "~/Content/Icons/ActivityResource/Choice/choice_icon.png"
                ,
                TypePosition = (int)Enums.Activities.Choice + 1
            };

            return(ar);
        }
Exemple #7
0
        public static ActivityResourceClass ForumActivity()// = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name = Enums.Activities.Forum.ToString()
                ,
                CreateUrl = "~/Views/ActivityResource/Forum/ForumCreate.aspx"
                ,
                ViewUrl = "~/Views/ActivityResource/Forum/ForumView.aspx"
                ,
                IconPath = "~/Content/Icons/ActivityResource/Forum/forum_icon.png"
                ,
                TypePosition = (int)Enums.Activities.Forum + 1
            };

            return(ar);
        }
Exemple #8
0
        //---------------------Activities--------------------------//

        public static ActivityResourceClass AssignmentActivity()// = new ActivityResourceClass()
        {
            var ar = new ActivityResourceClass()
            {
                Name = Enums.Activities.Assignment.ToString()
                ,
                CreateUrl = "~/Views/ActivityResource/Assignments/AssignmentCreate.aspx"
                ,
                ViewUrl = "~/Views/ActivityResource/Assignments/AssignmentView.aspx"
                ,
                IconPath = "~/Content/Icons/ActivityResource/Assignment/document-icon.png"
                ,
                TypePosition = (int)Enums.Activities.Assignment + 1
            };

            return(ar);
        }