コード例 #1
0
ファイル: ResourceManifest.cs プロジェクト: kanujhun/desrist
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            builder.Add().DefineStyle("ImageGalleryAdmin").SetUrl("image-gallery-admin.css");
            builder.Add().DefineStyle("ImageGallery").SetUrl("image-gallery.css");

            builder.Add().DefineScript("jQueryMultiFile").SetDependencies("jquery").SetUrl("jquery.MultiFile.pack.js");
        }
コード例 #2
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            builder.Add().DefineStyle("ImageGalleryAdmin").SetUrl("image-gallery-admin.css");
            builder.Add().DefineStyle("ImageGallery").SetUrl("image-gallery.css");

            builder.Add().DefineScript("jQueryMultiFile").SetDependencies("jquery").SetUrl("jquery.MultiFile.pack.js");
            builder.Add().DefineScript("jQueryUISortable").SetDependencies("jquery").SetUrl("sortable-interaction-jquery-ui-1.8.10.custom.min.js");
        }
コード例 #3
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            manifest.DefineStyle("FlipCard").SetUrl("flipcard.css");
            manifest.DefineScript("FlipCard").SetVersion("1.1.1").SetUrl("flipcard.js").SetDependencies("jQuery");
        }
コード例 #4
0
ファイル: ResourceManifest.cs プロジェクト: dminik/voda_code
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();
            manifest.DefineStyle("ThemesAdmin").SetUrl("orchard-themes-admin.css");

			manifest.DefineScript("jQuery_metadata").SetUrl("jquery.metadata.js").SetDependencies("jQuery");
			manifest.DefineScript("mbTabset").SetUrl("mbTabset.min.js", "mbTabset.js").SetDependencies("jQuery", "jQueryUI_Core", "jQueryUI_Sortable", "jQuery_metadata");
        }
コード例 #5
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            var mainScript = "rx";
            var jqueryRx = "rx.jQuery";

            var version = "1.0.10621.0";

            manifest.DefineScript(mainScript).SetUrl("rx.min.js").SetVersion(version);
                //.SetDependencies("jQuery")

            manifest.DefineScript("rx.aggregates").SetUrl("rx.aggregates.min.js")
                .SetDependencies(mainScript)
                .SetVersion(version);
            manifest.DefineScript("rx.coincidence").SetUrl("rx.coincidence.min.js")
                .SetDependencies(mainScript)
                .SetVersion(version);
            manifest.DefineScript("rx.joinpatterns").SetUrl("rx.joinpatterns.min.js")
                .SetDependencies(mainScript)
                .SetVersion(version);
            manifest.DefineScript("rx.time").SetUrl("rx.time.min.js")
                .SetDependencies(mainScript)
                .SetVersion(version);

            manifest.DefineScript("rx.default").SetDependencies(mainScript, "rx.time");

            manifest.DefineScript(jqueryRx).SetUrl("rx.jquery.min.js", "rx.jQuery.js")
                .SetDependencies(mainScript)
                .SetVersion(version); 

        }
コード例 #6
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            manifest.DefineStyle("LatoFont").SetUrl("//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic|Shadows+Into+Light");
            manifest.DefineStyle("VirtoCommerceStore").SetUrl("virtocommerce-store.css");
        }
コード例 #7
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            Orchard.UI.Resources.ResourceManifest manifest = builder.Add();
            manifest.DefineScript("myscript").SetUrl("myjqueryscript.js").SetDependencies("jQuery");

            manifest.DefineStyle("mystyle").SetUrl("mystyle.css");
        }
コード例 #8
0
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();

            manifest.DefineScript("BlurbWidget").SetUrl("blurb-widget.js").SetDependencies("jQuery");

            manifest.DefineStyle("BlurbWidget").SetUrl("blurb-widget.css");
        }
コード例 #9
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            // Create and add a new manifest
            var manifest = builder.Add();

            // Define a "common" style sheet
            manifest.DefineStyle("Cascade.WebShop.Common").SetUrl("common.css");
            // Define the "shoppingcart" style sheet
            //manifest.DefineStyle("Cascade.WebShop.ShoppingCart").SetUrl("shoppingcart.css").SetDependencies("Cascade.WebShop.Common");
            // Define the Checkout Summary style sheet
            //manifest.DefineStyle("Cascade.WebShop.Checkout.Summary").SetUrl("checkout-summary.css").SetDependencies("Cascade.WebShop.Common");
            // Order
            manifest.DefineStyle("Cascade.WebShop.Order").SetUrl("order.css").SetDependencies("Cascade.WebShop.Common");
            // Simulated PSP
            manifest.DefineStyle("Cascade.WebShop.SimulatedPSP").SetUrl("simulated-psp.css").SetDependencies("Cascade.WebShop.Common");
            // define the shoppingcartwidget style sheet
            manifest.DefineStyle("Cascade.WebShop.ShoppingCartWidget").SetUrl("shoppingcartwidget.css").SetDependencies("Cascade.WebShop.Common");

            // Define Globalization resources
            manifest.DefineScript("Globalize").SetUrl("globalize.js").SetDependencies("jQuery");
            manifest.DefineScript("Globalize.Cultures").SetBasePath(manifest.BasePath + "scripts/cultures/").SetUrl("globalize.culture.js").SetCultures("en-US", "en-AU", "en-UK", "nl-NL").SetDependencies("Globalize", "jQuery");
            manifest.DefineScript("Globalize.SetCulture").SetUrl("~/Cascade.WebShop/Resource/SetCultureScript").SetDependencies("Globalize.Cultures");

            // Define the "shoppingcart" script and set a dependency on the "jQuery" resource
            manifest.DefineScript("Cascade.WebShop.ShoppingCart").SetUrl("shoppingcart.js").SetDependencies("jQuery", "jQuery_LinqJs", "Knockout");

            manifest.DefineScript("AddToShoppingCart").SetUrl("addtocartbutton.js").SetDependencies("jQuery");
            manifest.DefineScript("WebShop.Summary").SetUrl("summary.js").SetDependencies("jQuery", "Knockout");

            manifest.DefineScript("Knockout").SetUrl("knockout-3.3.0.js", "knockout-3.3.0.debug.js");
        }
コード例 #10
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            // scripts
            manifest.DefineScript("PhotoSwipe")
                .SetVersion("4.0")
                .SetUrl("PhotoSwipe.min.js", "photoswipe.js");

            manifest.DefineScript("PhotoSwipe.UI")
               .SetVersion("4.0")
               .SetDependencies("PhotoSwipe")
               .SetUrl("PhotoSwipe-ui-cascade.min.js", "PhotoSwipe-ui-cascade.js");

            manifest.DefineScript("InitializePhotoSwipe")
               .SetDependencies("PhotoSwipe")
               .SetUrl("InitializePhotoSwipe.min.js", "InitializePhotoSwipe.js");

            // styles
            manifest.DefineStyle("PhotoSwipe")
                .SetVersion("4.0")
                .SetUrl("photoswipe.css");

            manifest.DefineStyle("PhotoSwipe.DefaultSkin")
               .SetDependencies("PhotoSwipe", "FontAwesome")
               .SetVersion("4.0")
               .SetUrl("cascade-skin.css");

            manifest.DefineStyle("FontAwesome")
               .SetVersion("4.2.0")
               .SetCdn("//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css");


        }
コード例 #11
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            //Styles
            manifest.DefineStyle("Monarch.Bootstrap")
                .SetUrl(ModuleStyle("bootstrap/less/bootstrap.css"));
            manifest.DefineStyle("Monarch.Bootstrap-responsive")
                .SetUrl(ModuleStyle("bootstrap/less/responsive.css"))
                .SetDependencies("Monarch.Bootstrap");
            manifest.DefineStyle("Monarch.Custom")
                .SetUrl(ModuleStyle("bootstrap/less/custom.css"))
                .SetDependencies("Monarch.Bootstrap");

            // Scripts
            manifest.DefineScript("Monarch.Bootstrap").SetUrl(ModuleScript("bootstrap.js")).SetVersion("2.0.2").SetDependencies("jQuery");
            manifest.DefineScript("Monarch.Bootstrap-alert").SetUrl(ModuleScript("plugins/bootstrap-alert.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-button").SetUrl(ModuleScript("plugins/bootstrap-button.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-carousel").SetUrl(ModuleScript("plugins/bootstrap-carousel.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-collapse").SetUrl(ModuleScript("plugins/bootstrap-collapse.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-dropdown").SetUrl(ModuleScript("plugins/bootstrap-dropdown.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-modal").SetUrl(ModuleScript("plugins/bootstrap-modal.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-popover").SetUrl(ModuleScript("plugins/bootstrap-popover.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-scrollspy").SetUrl(ModuleScript("plugins/bootstrap-scrollspy.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-tab").SetUrl(ModuleScript("plugins/bootstrap-tab.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-tooltip").SetUrl(ModuleScript("plugins/bootstrap-tooltip.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-transition").SetUrl(ModuleScript("plugins/bootstrap-transition.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
            manifest.DefineScript("Monarch.Bootstrap-typeahead").SetUrl(ModuleScript("plugins/bootstrap-typeahead.js")).SetVersion("2.0.2").SetDependencies("Monarch.Bootstrap");
        }
コード例 #12
0
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();
            manifest.DefineStyle("BlogsAdmin").SetUrl("orchard-blogs-admin.css");
            manifest.DefineStyle("BlogsArchives").SetUrl("orchard-blogs-archives.css");

            manifest.DefineScript("BlogsArchives").SetUrl("orchard-blogs-archives.js").SetDependencies("jQuery");
        }
コード例 #13
0
 public void BuildManifests(ResourceManifestBuilder builder) {
     var manifest = builder.Add();
     manifest.DefineStyle("CategoriesAdmin").SetUrl("obalroku-categories-admin.css");
     manifest.DefineStyle("BannerWidget").SetUrl("obalroku-banner-widget.css?3");
     
     manifest.DefineScript("BannerWidget").SetUrl("header-banner.js");
 }
コード例 #14
0
 public void BuildManifests(ResourceManifestBuilder builder) {
     var manifest = builder.Add();
     manifest
         .DefineScript("Angular_SignalR")
         .SetUrl("angular-signalr-hub.min.js", "angular-signalr-hub.js")
         .SetDependencies("AngularJS");
 }
コード例 #15
0
ファイル: ResourceManifest.cs プロジェクト: SeyDutch/Gilde
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();

            manifest.DefineScript("TagsAutocomplete").SetUrl("orchard-tags-autocomplete.js").SetDependencies("jQueryUI_Widgets");

            manifest.DefineStyle("TagsAdmin").SetUrl("orchard-tags-admin.css");
        }
コード例 #16
0
        public void BuildManifests(ResourceManifestBuilder builder) {

            var manifest = builder.Add();
            manifest.DefineScript("jQuery").SetUrl("jQuery-1.8.2.js");
            manifest.DefineStyle("GalleriaImageGallery").SetUrl("GalleriaImageGallery.css");
            manifest.DefineScript("GalleriaImageGallery").SetUrl("GalleriaImageGallery.js");
        }
コード例 #17
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            manifest.DefineScript("AceEditor.NoConflict").SetUrl("ace/src-min-noconflict/ace.js", "ace/src-noconflict/ace.js").SetCdn("//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js");
            manifest.DefineScript("AceEditor").SetUrl("ace/src-min/ace.js", "ace/src/ace.js");
        }
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            //// core scripts
            manifest.DefineScript(RESPOND_SCRIPT).SetUrl("respond.min.js");

            // core styles
            manifest.DefineStyle(CORE_STYLE).SetUrl("Base.css", "Base.debug.css");
            manifest.DefineStyle(MEDIA_QUERIES_STYLE).SetUrl("MediaQueries.css", "MediaQueries.debug.css");
            manifest.DefineStyle(IE6_HACK_STYLE).SetUrl("IE-6.css", "IE-6.debug.css");
            manifest.DefineStyle(IE7_HACK_STYLE).SetUrl("IE-7.css", "IE-7.debug.css");
            manifest.DefineStyle(CUSTOM_STYLE).SetUrl("Custom.css", "Custom.css");

            // core theme
            manifest.DefineStyle("Dark.css").SetUrl("Dark.css", "Dark.debug.css");
            manifest.DefineStyle("Light.css").SetUrl("Light.css", "Light.debug.css");

            // accent theme
            manifest.DefineStyle("Amber.css").SetUrl("Accent/Amber.css", "Accent/Amber.debug.css");
            manifest.DefineStyle("Blue.css").SetUrl("Accent/Blue.css", "Accent/Blue.debug.css");
            manifest.DefineStyle("Cyan.css").SetUrl("Accent/Cyan.css", "Accent/Cyan.debug.css");
            manifest.DefineStyle("Green.css").SetUrl("Accent/Green.css", "Accent/Green.debug.css");
            manifest.DefineStyle("Violet.css").SetUrl("Accent/Violet.css", "Accent/Violet.debug.css");
        }
コード例 #19
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            manifest.DefineScript("OnestopSeo_Admin").SetUrl("SeoAdmin.js").SetDependencies(new string[] { "jQuery" });
            manifest.DefineStyle("OnestopSeo_Admin").SetUrl("onestop-seo-admin.css");
        }
コード例 #20
0
ファイル: ResourceManifest.cs プロジェクト: frob/js.Emmet
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();

            manifest.DefineScript("Emmet")
                .SetUrl("emmet.min.js", "emmet.js")
                .SetDependencies("Underscore");

        }
コード例 #21
0
        public void BuildManifests(ResourceManifestBuilder builder) 
        {
            var manifest = builder.Add();

            //manifest.DefineScript("jQueryLabelify").SetUrl("jquery.labelify.js").SetVersion("1.3").SetDependencies("jQuery");
            //manifest.DefineScript("SmartresponderSubscriptionForm").SetUrl("sr.subscription.form.js").SetVersion("1.0").SetDependencies("jQueryLabelify");
            //manifest.DefineStyle("SmartresponderSubscriptionForm").SetUrl("sr.subscription.form.css");
        }
コード例 #22
0
ファイル: ResourceManifest.cs プロジェクト: sjbisch/Orchard
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();
            manifest.DefineStyle("AudioPlaylist").SetUrl("AudioPlaylist.css");

            manifest.DefineScript("AudioPlaylist").SetUrl("AudioPlaylist.js").SetDependencies("jQuery");
            manifest.DefineScript("JPlayer").SetUrl("jquery.jplayer.js").SetDependencies("jQuery");
        }
コード例 #23
0
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();

            manifest.DefineStyle("Head").SetUrl("Head.min.css", "Head.css");

            manifest.DefineScript("Head").SetVersion("1.0.1").SetUrl("Head.js").SetDependencies("jQuery");
            manifest.DefineScript("Bootstrap").SetUrl("bootstrap.min.js", "bootstrap.js").SetDependencies("jQuery");
        }
コード例 #24
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            manifest.DefineScript("kendo.Editor")
                .SetDependencies("kendo.web");
            
        }
コード例 #25
0
ファイル: jQuery.cs プロジェクト: SeyDutch/Gilde
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();
            manifest.DefineScript("jQuery").SetUrl("jquery.min.js", "jquery.js").SetVersion("2.1.4").SetCdn("//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js", "//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.js", true);

            // Full jQuery UI package.
            manifest.DefineScript("jQueryUI").SetUrl("jquery-ui.min.js", "jquery-ui.js").SetVersion("1.11.4").SetDependencies("jQuery").SetCdn("//ajax.aspnetcdn.com/ajax/jquery.ui/1.11.4/jquery-ui.min.js", "//ajax.aspnetcdn.com/ajax/jquery.ui/1.11.4/jquery-ui.js", true);
            manifest.DefineStyle("jQueryUI_Orchard").SetUrl("jqueryui-orchard.min.css", "jqueryui-orchard.css").SetVersion("1.11.4");
            manifest.DefineScript("jQueryUI_Interaction").SetUrl("jquery-ui-interaction.min.js", "jquery-ui-interaction.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_Widgets").SetUrl("jquery-ui-widgets.min.js", "jquery-ui-widgets.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Interaction");
            manifest.DefineScript("jQueryUI_Effects").SetUrl("jquery-ui-effects.min.js", "jquery-ui-effects.js").SetVersion("1.11.4").SetDependencies("jQuery");

            // Individual jQuery UI components.
            manifest.DefineScript("jQueryUI_Mouse").SetUrl("ui/mouse.min.js", "ui/mouse.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_Position").SetUrl("ui/position.min.js", "ui/position.js").SetVersion("1.11.4").SetDependencies("jQuery");
            manifest.DefineScript("jQueryUI_Draggable").SetUrl("ui/draggable.min.js", "ui/draggable.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Mouse");
            manifest.DefineScript("jQueryUI_Droppable").SetUrl("ui/droppable.min.js", "ui/droppable.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Draggable");
            manifest.DefineScript("jQueryUI_Resizable").SetUrl("ui/resizable.min.js", "ui/resizable.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Mouse");
            manifest.DefineScript("jQueryUI_Selectable").SetUrl("ui/selectable.min.js", "ui/selectable.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Mouse");
            manifest.DefineScript("jQueryUI_Sortable").SetUrl("ui/sortable.min.js", "ui/sortable.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Mouse");
            manifest.DefineScript("jQueryUI_Accordion").SetUrl("ui/accordion.min.js", "ui/accordion.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_Autocomplete").SetUrl("ui/autocomplete.min.js", "ui/autocomplete.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Position", "jQueryUI_Menu");
            manifest.DefineScript("jQueryUI_Button").SetUrl("ui/button.min.js", "ui/button.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_Dialog").SetUrl("ui/dialog.min.js", "ui/dialog.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Mouse", "jQueryUI_Draggable", "jQueryUI_Resizable", "jQueryUI_Button");
            manifest.DefineScript("jQueryUI_Slider").SetUrl("ui/slider.min.js", "ui/slider.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Mouse");
            manifest.DefineScript("jQueryUI_Tabs").SetUrl("ui/tabs.min.js", "ui/tabs.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_DatePicker").SetUrl("ui/datepicker.min.js", "ui/datepicker.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_Progressbar").SetUrl("ui/progressbar.min.js", "ui/progressbar.js").SetVersion("1.11.4").SetDependencies("jQueryUI");
            manifest.DefineScript("jQueryUI_SelectMenu").SetUrl("ui/selectmenu.min.js", "ui/selectmenu.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Position", "jQueryUI_Menu");
            manifest.DefineScript("jQueryUI_Spinner").SetUrl("ui/spinner.min.js", "ui/spinner.js").SetVersion("1.11.4").SetDependencies("jQueryUI_Button");
            manifest.DefineScript("jQueryUI_Tooltip").SetUrl("ui/tooltip.min.js", "ui/tooltip.js").SetVersion("1.11.4").SetDependencies("jQueryUI", "jQueryUI_Position");
            manifest.DefineScript("jQueryUI_Menu").SetUrl("ui/menu.min.js", "ui/menu.js").SetVersion("1.11.4").SetDependencies("jQueryUI", "jQueryUI_Position");

            // Additional utilities and plugins.
            manifest.DefineScript("jQueryUtils").SetUrl("jquery.utils.min.js", "jquery.utils.js").SetDependencies("jQuery");
            manifest.DefineScript("jQueryPlugin").SetUrl("jquery.plugin.min.js", "jquery.plugin.js").SetDependencies("jQuery");

            // jQuery Calendars.
            manifest.DefineScript("jQueryCalendars").SetUrl("jquery.calendars.all.min.js", "jquery.calendars.all.js").SetDependencies("jQueryPlugin").SetVersion("2.0.1");
            manifest.DefineScript("jQueryCalendars_Picker").SetUrl("jquery.calendars.picker.full.min.js", "jquery.calendars.picker.full.js").SetDependencies("jQueryCalendars").SetVersion("2.0.1");
            manifest.DefineStyle("jQueryCalendars_Picker").SetUrl("jquery.calendars.picker.full.min.css", "jquery.calendars.picker.full.css").SetDependencies("jQueryUI_Orchard").SetVersion("2.0.1");

            // jQuery Time Entry.
            manifest.DefineScript("jQueryTimeEntry").SetUrl("jquery.timeentry.min.js", "jquery.timeentry.js").SetDependencies("jQueryPlugin").SetVersion("2.0.1");
            manifest.DefineStyle("jQueryTimeEntry").SetUrl("jquery.timeentry.css").SetVersion("2.0.1");

            // jQuery Date/Time Editor Enhancements.
            manifest.DefineStyle("jQueryDateTimeEditor").SetUrl("jquery-datetime-editor.css").SetDependencies("DateTimeEditor");

            // jQuery File Upload.
            manifest.DefineScript("jQueryFileUpload").SetUrl("jquery.fileupload-full.min.js", "jquery.fileupload-full.js").SetVersion("9.11.2").SetDependencies("jQueryUI_Widget");

            // jQuery Color Box.
            manifest.DefineScript("jQueryColorBox").SetUrl("jquery.colorbox.min.js", "jquery.colorbox.js").SetVersion("1.6.3").SetDependencies("jQuery");
            manifest.DefineStyle("jQueryColorBox").SetUrl("jquery.colorbox.min.css", "jquery.colorbox.min.css").SetVersion("1.6.3");

            // jQuery Cookie.
            manifest.DefineScript("jQueryCookie").SetUrl("jquery.cookie.min.js", "jquery.cookie.js").SetVersion("1.4.1").SetDependencies("jQuery");
        }
コード例 #26
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            //Global
            manifest.DefineStyle("Admin").SetUrl("GeneralAdminStyles.css");
            manifest.DefineStyle("CalendarStyles").SetUrl("CalendarStyles.css");
            
            //Moment.js - http://momentjs.com/docs/
            manifest.DefineScript("MomentJs").SetUrl("moment.min.js");

            manifest.DefineStyle("CategoryTags").SetUrl("CategoryTagStyles.css");
            
            manifest.DefineStyle("EditEvent").SetUrl("editEvent.css");
            manifest.DefineScript("EditEvent").SetUrl("editEvent.js").SetDependencies("jQuery");

            //Chosen - http://harvesthq.github.io/chosen/
            manifest.DefineStyle("Chosen").SetUrl("chosen.min.css");
            manifest.DefineScript("Chosen").SetUrl("chosen.jquery.min.js").SetDependencies("jQuery");
            manifest.DefineScript("CalendarChosen").SetUrl("CalendarChosen.js").SetDependencies("jQuery");

            //AngularBootstrap
            manifest.DefineScript("AngularBootstrapUI").SetUrl("ui-bootstrap-tpls-0.11.0.min.js")
                .SetDependencies("jQuery", "AngularJs");
            
            //KendoUI - http://docs.telerik.com/kendo-ui/api/introduction
            //Kendo Core https://github.com/telerik/kendo-ui-core
            //inlcudes datepicker and datetimepicker
            manifest.DefineScript("Kendo").SetUrl("kendo.ui.core.min.js").SetDependencies("jQuery", "AngularJS", "AngularBootstrapUI");
            manifest.DefineStyle("Kendo-Core-Default").SetUrl("kendo.common.core.min.css");
            manifest.DefineStyle("Kendo").SetUrl("kendo.default.min.css").SetDependencies("Kendo-Core-Default");

            //Full Calendar  http://arshaw.com/fullcalendar/
            manifest.DefineStyle("fullcalendar")
                .SetUrl("fullcalendar/fullcalendar.css");
            manifest.DefineScript("angular-ui-calendar").SetUrl("angular-ui/calendar.js").SetDependencies("AngularJs", "jQuery", "jQueryUI");
            manifest.DefineScript("fullcalendar").SetUrl("fullcalendar/fullcalendar.min.js")
                .SetDependencies("Bootstrap", "angular-ui-calendar");

            //XLSX - https://github.com/SheetJS/js-xlsx
            manifest.DefineScript("Blob").SetUrl("Blob.js").SetDependencies("jQuery");
            manifest.DefineScript("Filesaver").SetUrl("FileSaver.js").SetDependencies("Blob");
            manifest.DefineScript("XLSX").SetUrl("xlsx.full.min.js").SetDependencies("Filesaver");
            manifest.DefineStyle("DropZone").SetUrl("dropZone.css");

           //iCalendar Parsing
            manifest.DefineScript("iCalendar").SetUrl("jquery.icalendar.min.js").SetDependencies("jQuery");

            //EventSearch
            manifest.DefineScript("EventSearch").SetUrl("Angular_EventSearch.js")
                .SetDependencies("MomentJs", "jQuery", "AngularJS");
            

            // Google Maps API
            manifest.DefineScript("GoogleMapsPlacesApi")
                .SetUrl("https://maps.googleapis.com/maps/api/js?v=3&libraries=places");

        }
コード例 #27
0
 public void BuildManifests(ResourceManifestBuilder builder) {
     var manifest = builder.Add();
     manifest.DefineScript("jquery-ui").SetUrl("jquery-ui-1.8.20.js").SetDependencies("jQuery");
     manifest.DefineScript("jsdiff").SetUrl("jsdiff.js");
     manifest.DefineScript("PrettyDiff-Api").SetUrl("pd.js");
     manifest.DefineScript("PrettyDiff").SetUrl("prettydiff.js").SetDependencies("PrettyDiff-Api");
     manifest.DefineScript("SyncDashboard").SetUrl("sync.js").SetDependencies("jQuery");
     manifest.DefineStyle("jquery-ui").SetUrl("jquery-ui.1.8.20.custom.css");
 }
コード例 #28
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();

            manifest.DefineScript("AssociativyFrontends_JitEngine").SetUrl("Engines/Jit/Jit.custom.min.js");
            manifest.DefineScript("AssociativyFrontends_Jit").SetUrl("Engines/Jit/associativy-jit-drawer.js").SetDependencies(new string[] { "jQueryUI_Slider", "AssociativyFrontends_JitEngine" });

            manifest.DefineStyle("AssociativyFrontends_Jit").SetUrl("Engines/Jit/associativy-jit.css").SetDependencies(new string[] { "jQueryUI_Orchard" });
        }
コード例 #29
0
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            var manifest = builder.Add();
            manifest.DefineStyle("ThemesAdmin").SetUrl("orchard-themes-admin.css");

            // todo: include and define the min.js version too
            // todo: move EasySlider to common location, although it does not appear to be used anywhere right now
            manifest.DefineScript("EasySlider").SetUrl("~/themes/contoso/scripts/easySlider.js").SetDependencies("jQuery");
        }
コード例 #30
0
        public void BuildManifests(ResourceManifestBuilder builder) {
            var manifest = builder.Add();

            manifest.DefineScript("Angular_UI").SetUrl("angular-ui/ui-bootstrap-tpls.min.js", "angular-ui/ui-bootstrap-tpls.js").SetDependencies("AngularJS");
            manifest.DefineScript("jQCloud").SetUrl("jqcloud/jqcloud.min.js", "jqcloud/jqcloud.js").SetDependencies("jQuery");
            manifest.DefineScript("Angular_jQCloud").SetUrl("jqcloud/angular-jqcloud.js").SetDependencies("AngularJS", "jQCloud");

            manifest.DefineStyle("jQCloud").SetUrl("jqcloud/jqcloud.min.css", "jqcloud/jqcloud.css");
        }