示例#1
0
        public BlogWindowContents()
        {
            Urls = new BlogRoutes();

            Tabs = new TabGroup("BlogTabs");
            Tabs.Add(new Tab
                         {
                             Name = "Blog",
                             CreateFunction = "ep.blog.createBlogTab",
                             IconCssClass = "blog",
                             BodyCssClass = "blog-tab"
                         });

            Tabs.Add(new Tab
                         {
                             Name = "Drafts",
                             CreateFunction = "ep.blog.createDraftsTab",
                             IconCssClass = "drafts",
                             BodyCssClass = "drafts-tab"
                         });
            Tabs.Add(new Tab
                         {
                             Name = "Published",
                             CreateFunction = "ep.blog.createPublishedTab",
                             IconCssClass = "published",
                             BodyCssClass = "published-tab"
                         });
        }
示例#2
0
        public BlogWindowContents()
        {
            Urls = new BlogRoutes();

            Tabs = new TabGroup("BlogTabs");
            Tabs.Add(new Tab
            {
                Name           = "Blog",
                CreateFunction = "ep.blog.createBlogTab",
                IconCssClass   = "blog",
                BodyCssClass   = "blog-tab"
            });

            Tabs.Add(new Tab
            {
                Name           = "Drafts",
                CreateFunction = "ep.blog.createDraftsTab",
                IconCssClass   = "drafts",
                BodyCssClass   = "drafts-tab"
            });
            Tabs.Add(new Tab
            {
                Name           = "Published",
                CreateFunction = "ep.blog.createPublishedTab",
                IconCssClass   = "published",
                BodyCssClass   = "published-tab"
            });
        }