From 09852e9b9b8e64f003bed5aa57630d8b42c8ac95 Mon Sep 17 00:00:00 2001 From: François Frisch Date: Sat, 17 Mar 2012 19:28:30 -0700 Subject: Integrating picasa carousel and youtube channel --- .../ComponentsPanelBase.js | 16 +- node_modules/components-data/map.json | 4 +- node_modules/components-data/picasa-carousel.json | 15 ++ node_modules/components-data/youtube-channel.json | 16 ++ .../examples/youtube-channel-example/index.html | 2 +- .../youtube-channel.reel/youtube-channel.html | 34 ---- .../youtube-channel.reel/youtube-channel.js | 101 ------------ .../picasa-carousel.reel/image.reel/image.html | 37 ----- .../picasa-carousel.reel/image.reel/image.js | 20 --- .../picasa-carousel.reel/picasa-carousel.css | 44 ----- .../picasa-carousel.reel/picasa-carousel.html | 181 --------------------- .../google/picasa-carousel.reel/picasa-carousel.js | 124 -------------- .../ui/picasa-carousel.reel/image.reel/image.html | 37 +++++ .../ui/picasa-carousel.reel/image.reel/image.js | 20 +++ .../ui/picasa-carousel.reel/picasa-carousel.css | 44 +++++ .../ui/picasa-carousel.reel/picasa-carousel.html | 181 +++++++++++++++++++++ .../ui/picasa-carousel.reel/picasa-carousel.js | 124 ++++++++++++++ .../ui/youtube-channel.reel/youtube-channel.html | 34 ++++ .../ui/youtube-channel.reel/youtube-channel.js | 101 ++++++++++++ 19 files changed, 588 insertions(+), 547 deletions(-) create mode 100644 node_modules/components-data/picasa-carousel.json create mode 100644 node_modules/components-data/youtube-channel.json delete mode 100644 node_modules/montage/examples/youtube-channel-example/youtube-channel.reel/youtube-channel.html delete mode 100644 node_modules/montage/examples/youtube-channel-example/youtube-channel.reel/youtube-channel.js delete mode 100644 node_modules/montage/ui/google/picasa-carousel.reel/image.reel/image.html delete mode 100644 node_modules/montage/ui/google/picasa-carousel.reel/image.reel/image.js delete mode 100755 node_modules/montage/ui/google/picasa-carousel.reel/picasa-carousel.css delete mode 100755 node_modules/montage/ui/google/picasa-carousel.reel/picasa-carousel.html delete mode 100644 node_modules/montage/ui/google/picasa-carousel.reel/picasa-carousel.js create mode 100644 node_modules/montage/ui/picasa-carousel.reel/image.reel/image.html create mode 100644 node_modules/montage/ui/picasa-carousel.reel/image.reel/image.js create mode 100755 node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.css create mode 100755 node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.html create mode 100644 node_modules/montage/ui/picasa-carousel.reel/picasa-carousel.js create mode 100644 node_modules/montage/ui/youtube-channel.reel/youtube-channel.html create mode 100644 node_modules/montage/ui/youtube-channel.reel/youtube-channel.js diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js index 92d21bc3..49d1179a 100755 --- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js +++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js @@ -25,20 +25,30 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component { "text": "Widgets", "children": [ + { + "text": "Feed Reader", + "dataFile" : "node_modules/components-data/feed-reader.json", + "component": "feedreader" + }, { "text": "Map", "dataFile" : "node_modules/components-data/map.json", "component": "map" }, { - "text": "Feed Reader", - "dataFile" : "node_modules/components-data/feed-reader.json", - "component": "feedreader" + "text": "Picasa Carousel", + "dataFile" : "node_modules/components-data/picasa-carousel.json", + "component": "picasa-carousel" }, { "text": "Search Bar", "dataFile" : "node_modules/components-data/searchfield.json", "component": "searchfield" + }, + { + "text": "Youtube Channel", + "dataFile" : "node_modules/components-data/youtube-channel.json", + "component": "youtube-channel" } ] }, diff --git a/node_modules/components-data/map.json b/node_modules/components-data/map.json index 071fa73a..796b2fad 100644 --- a/node_modules/components-data/map.json +++ b/node_modules/components-data/map.json @@ -9,13 +9,13 @@ { "name": "category", "type": "string", - "default": null, + "default": "", "possibleValues": ["restaurant", "hospital", "cafe", "museum"] }, { "name": "center", "type": "string", - "default": null + "default": "" } ] diff --git a/node_modules/components-data/picasa-carousel.json b/node_modules/components-data/picasa-carousel.json new file mode 100644 index 00000000..34fe0e8f --- /dev/null +++ b/node_modules/components-data/picasa-carousel.json @@ -0,0 +1,15 @@ +{ + "component": "picasa-carousel", + + "module": "montage/ui/picasa-carousel.reel", + + "name": "PicasaCarousel", + + "properties": [ + { + "name": "queryParameter", + "type": "string", + "default": "" + } + ] +} \ No newline at end of file diff --git a/node_modules/components-data/youtube-channel.json b/node_modules/components-data/youtube-channel.json new file mode 100644 index 00000000..8affffba --- /dev/null +++ b/node_modules/components-data/youtube-channel.json @@ -0,0 +1,16 @@ +{ + "component": "youtube-channel", + + "module": "montage/ui/youtube-channel.reel", + + "name": "YoutubeChannel", + + "properties": [ + { + "name": "channelUrl", + "type": "string", + "default": "" + } + + ] +} \ No newline at end of file diff --git a/node_modules/montage/examples/youtube-channel-example/index.html b/node_modules/montage/examples/youtube-channel-example/index.html index 71baba29..b313d5d8 100755 --- a/node_modules/montage/examples/youtube-channel-example/index.html +++ b/node_modules/montage/examples/youtube-channel-example/index.html @@ -12,7 +12,7 @@ - -
-