social_stream-events 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Copyright (c) 2010 Anders Ekdahl (http://coffeescripter.com/)
3
+ * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
4
+ * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
5
+ *
6
+ * Version: 1.2.4
7
+ *
8
+ * Demo and documentation: http://coffeescripter.com/code/ad-gallery/
9
+ */
10
+ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(8($){$.3n.3o=8(b){5 c={2s:\'Z.3p\',1W:0,1X:q,11:0.7,2t:q,1b:3q,v:q,x:q,2u:B,2v:B,1Y:0,t:{1c:B,1Z:q,1d:3r,2w:\'3s\',2x:\'3t\',20:B,2y:\'(\',2z:\')\',2A:q,2B:q},2C:\'21-2D\',2E:B,1z:B,1A:{1e:q,2F:q,2G:q}};5 d=$.2H(q,c,b);4(b&&b.t){d.t=$.2H(q,c.t,b.t)};4(!d.t.1c){d.t.1Z=q};5 e=[];$(3).2I(8(){5 a=1B 22(3,d);e[e.J]=a});w e};8 2J(a,b,c){5 d=12(a.u(\'Q\'),10);4(b==\'C\'){5 e=\'-\'+3.D+\'z\';a.u(\'Q\',3.D+\'z\')}y{5 e=3.D+\'z\';a.u(\'Q\',\'-\'+3.D+\'z\')};4(c){c.u(\'1f\',\'-\'+c[0].1C+\'z\');c.13({1f:0},3.r.1b*2)};4(3.R){3.R.13({1f:\'-\'+3.R[0].1C+\'z\'},3.r.1b*2)};w{1g:{Q:e},1h:{Q:d}}};8 2K(a,b,c){5 d=12(a.u(\'C\'),10);4(b==\'C\'){5 e=\'-\'+3.K+\'z\';a.u(\'C\',3.K+\'z\')}y{5 e=3.K+\'z\';a.u(\'C\',\'-\'+3.K+\'z\')};4(c){c.u(\'1f\',\'-\'+c[0].1C+\'z\');c.13({1f:0},3.r.1b*2)};4(3.R){3.R.13({1f:\'-\'+3.R[0].1C+\'z\'},3.r.1b*2)};w{1g:{C:e},1h:{C:d}}};8 2L(a,b,c){5 d=a.v();5 e=a.x();5 f=12(a.u(\'C\'),10);5 g=12(a.u(\'Q\'),10);a.u({v:0,x:0,Q:3.D/2,C:3.K/2});w{1g:{v:0,x:0,Q:3.D/2,C:3.K/2},1h:{v:d,x:e,Q:g,C:f}}};8 2M(a,b,c){a.u(\'S\',0);w{1g:{S:0},1h:{S:1}}};8 2N(a,b,c){a.u(\'S\',0);w{1g:{S:0},1h:{S:1},1d:0}};8 22(a,b){3.1e(a,b)};22.2O={17:q,T:q,1D:q,V:q,Z:q,1r:q,N:q,1E:q,1F:q,1i:q,1j:q,t:q,K:0,D:0,O:0,18:q,R:q,1G:0,r:q,G:q,1k:q,1H:q,1e:8(b,c){5 d=3;3.17=$(b);3.r=c;3.2P();3.2Q();4(3.r.v){3.K=3.r.v;3.T.v(3.r.v);3.17.v(3.r.v)}y{3.K=3.T.v()};4(3.r.x){3.D=3.r.x;3.T.x(3.r.x)}y{3.D=3.T.x()};3.1G=3.V.v();3.O=0;3.18=q;3.R=q;3.1k=q;3.2R();4(3.r.2u){3.2S()};5 e=8(a){w d.1I(a)};3.t=1B 23(e,3.r.t);3.L.F(3.t.2T());4(3.r.t.1c){3.t.1c()}y{3.t.24()};4(3.r.2v){3.2U()};4(3.r.2E){3.2V()};5 f=12(3.r.1W,10);4(25.26.27&&25.26.27.3u(\'#s-W\')===0){f=25.26.27.2W(/[^0-9]+/g,\'\');4((f*1)!=f){f=3.r.1W}};3.1J(B);3.1s(f,8(){4(d.r.t.1Z){d.14(f+1);d.t.1t()}});3.P(3.r.1A.1e)},2Q:8(){3.1H={\'21-3v\':2J,\'21-2D\':2K,\'3w\':2L,\'3x\':2M,\'3y\':2N}},2P:8(){3.L=3.17.E(\'.s-L\');3.1D=$(\'<p H="s-3z"></p>\');3.L.F(3.1D);3.T=3.17.E(\'.s-W-17\');3.T.3A();3.V=3.17.E(\'.s-V\');3.N=3.V.E(\'.s-3B\');3.1r=$(\'<A H="s-1r"></A>\');3.Z=$(\'<19 H="s-Z" 1K="\'+3.r.2s+\'">\');3.T.F(3.Z);3.Z.15();$(1L.3C).F(3.1r)},1J:8(a){4(a){3.Z.1l()}y{3.Z.15()}},3D:8(a,b){4($.28(b)){3.1H[a]=b}},2R:8(){5 f=3;3.G=[];5 g=0;5 h=0;5 j=3.N.E(\'a\');5 k=j.J;4(3.r.11<1){j.E(\'19\').u(\'S\',3.r.11)};j.2I(8(i){5 a=$(3);5 b=a.I(\'2X\');5 c=a.E(\'19\');4(!f.29(c[0])){c.2Y(8(){g+=3.1u.1u.2a;h++})}y{g+=c[0].1u.1u.2a;h++};a.1M(\'s-1N\'+i);a.1v(8(){f.1s(i);f.t.M();w q}).2Z(8(){4(!$(3).1w(\'.s-1m\')&&f.r.11<1){$(3).E(\'19\').1O(1P,1)};f.14(i)},8(){4(!$(3).1w(\'.s-1m\')&&f.r.11<1){$(3).E(\'19\').1O(1P,f.r.11)}});5 a=q;4(c.1n(\'s-1x\')){a=c.1n(\'s-1x\')}y 4(c.I(\'2b\')&&c.I(\'2b\').J){a=c.I(\'2b\')};5 d=q;4(c.1n(\'s-1o\')){d=c.1n(\'s-1o\')}y 4(c.I(\'2c\')&&c.I(\'2c\').J){d=c.I(\'2c\')};5 e=q;4(c.1n(\'s-U\')){e=c.1n(\'s-U\')}y 4(c.I(\'U\')&&c.I(\'U\').J){e=c.I(\'U\')};f.G[i]={1N:c.I(\'1K\'),W:b,2d:q,1p:q,1o:d,U:e,1q:q,1x:a}});5 l=2e(8(){4(k==h){f.V.E(\'.s-1N-3E\').u(\'v\',g+\'z\');1Q(l)}},3F)},2V:8(){5 a=3;$(1L).31(8(e){4(e.2f==39){a.1I();a.t.M()}y 4(e.2f==37){a.2g();a.t.M()}})},2S:8(){3.1i=$(\'<A H="s-2h"><A H="s-2h-W"></A></A>\');3.1j=$(\'<A H="s-32"><A H="s-32-W"></A></A>\');3.T.F(3.1i);3.T.F(3.1j);5 a=3;3.1j.33(3.1i).3G(8(e){$(3).u(\'x\',a.D);$(3).E(\'A\').1l()}).3H(8(e){$(3).E(\'A\').15()}).1v(8(){4($(3).1w(\'.s-2h\')){a.1I();a.t.M()}y{a.2g();a.t.M()}}).E(\'A\').u(\'S\',0.7)},2U:8(){5 c=3;3.1F=$(\'<A H="s-2i"></A>\');3.1E=$(\'<A H="s-3I"></A>\');3.V.F(3.1F);3.V.34(3.1E);5 d=0;5 e=q;$(3.1E).33(3.1F).1v(8(){5 a=c.1G-3J;4(c.r.1Y>0){5 a=c.r.1Y};4($(3).1w(\'.s-2i\')){5 b=c.N.1a()+a}y{5 b=c.N.1a()-a};4(c.r.t.20){c.t.M()};c.N.13({1a:b+\'z\'});w q}).u(\'S\',0.6).2Z(8(){5 b=\'C\';4($(3).1w(\'.s-2i\')){b=\'2j\'};e=2e(8(){d++;4(d>30&&c.r.t.20){c.t.M()};5 a=c.N.1a()+1;4(b==\'C\'){a=c.N.1a()-1};c.N.1a(a)},10);$(3).u(\'S\',1)},8(){d=0;1Q(e);$(3).u(\'S\',0.6)})},2k:8(){3.1D.2l((3.O+1)+\' / \'+3.G.J);4(!3.r.1z){3.1j.1l().u(\'x\',3.D);3.1i.1l().u(\'x\',3.D);4(3.O==(3.G.J-1)){3.1i.15()};4(3.O==0){3.1j.15()}};3.P(3.r.1A.2F)},35:8(a,b){4(b>3.D){5 c=a/b;b=3.D;a=3.D*c};4(a>3.K){5 c=b/a;a=3.K;b=3.K*c};w{v:a,x:b}},36:8(a,b,c){a.u(\'Q\',\'38\');4(c<3.D){5 d=3.D-c;a.u(\'Q\',(d/2)+\'z\')};a.u(\'C\',\'38\');4(b<3.K){5 d=3.K-b;a.u(\'C\',(d/2)+\'z\')}},3a:8(a){5 b=q;4(a.1o.J||a.U.J){5 c=\'\';4(a.U.J){c=\'<3b H="s-3c-U">\'+a.U+\'</3b>\'};5 b=\'\';4(a.1o.J){b=\'<16>\'+a.1o+\'</16>\'};b=$(\'<p H="s-W-3c">\'+c+b+\'</p>\')};w b},1s:8(a,b){4(3.G[a]&&!3.1k){5 c=3;5 d=3.G[a];3.1k=B;4(!d.1p){3.1J(B);3.14(a,8(){c.1J(q);c.2m(a,b)})}y{3.2m(a,b)}}},2m:8(a,b){4(3.G[a]){5 c=3;5 d=3.G[a];5 e=$(1L.3K(\'A\')).1M(\'s-W\');5 f=$(1B 3d()).I(\'1K\',d.W);4(d.1x){5 g=$(\'<a 2X="\'+d.1x+\'" 3L="3M"></a>\');g.F(f);e.F(g)}y{e.F(f)}3.T.34(e);5 h=3.35(d.1q.v,d.1q.x);f.I(\'v\',h.v);f.I(\'x\',h.x);e.u({v:h.v+\'z\',x:h.x+\'z\'});3.36(e,h.v,h.x);5 i=3.3a(d,e);4(i){4(!3.r.1X){e.F(i);5 j=h.v-12(i.u(\'3e-C\'),10)-12(i.u(\'3e-2j\'),10);i.u(\'v\',j+\'z\')}y{3.r.1X.F(i)}};3.3f(3.V.E(\'.s-1N\'+a));5 k=\'2j\';4(3.O<a){k=\'C\'};3.P(3.r.1A.2G);4(3.18||3.r.2t){5 l=3.r.1b;5 m=\'3N\';5 n=3.1H[3.r.2C].2n(3,e,k,i);4(1R n.1d!=\'1S\'){l=n.1d};4(1R n.3g!=\'1S\'){m=n.3g};4(3.18){5 o=3.18;5 p=3.R;o.13(n.1g,l,m,8(){o.3h();4(p)p.3h()})};e.13(n.1h,l,m,8(){c.O=a;c.18=e;c.R=i;c.1k=q;c.2k();c.P(b)})}y{3.O=a;3.18=e;c.R=i;3.1k=q;c.2k();3.P(b)}}},3i:8(){4(3.O==(3.G.J-1)){4(!3.r.1z){w q};5 a=0}y{5 a=3.O+1};w a},1I:8(a){5 b=3.3i();4(b===q)w q;3.14(b+1);3.1s(b,a);w B},3j:8(){4(3.O==0){4(!3.r.1z){w q};5 a=3.G.J-1}y{5 a=3.O-1};w a},2g:8(a){5 b=3.3j();4(b===q)w q;3.14(b-1);3.1s(b,a);w B},3O:8(){5 a=3;5 i=0;8 2o(){4(i<a.G.J){i++;a.14(i,2o)}};a.14(i,2o)},14:8(a,b){4(3.G[a]){5 c=3.G[a];4(!3.G[a].1p){5 d=$(1B 3d());d.I(\'1K\',c.W);4(!3.29(d[0])){3.1r.F(d);5 e=3;d.2Y(8(){c.1p=B;c.1q={v:3.v,x:3.x};e.P(b)}).2d(8(){c.2d=B;c.1p=q;c.1q=q})}y{c.1p=B;c.1q={v:d[0].v,x:d[0].x};3.P(b)}}y{3.P(b)}}},29:8(a){4(1R a.3k!=\'1S\'&&!a.3k){w q};4(1R a.3l!=\'1S\'&&a.3l==0){w q};w B},3f:8(a){3.N.E(\'.s-1m\').3m(\'s-1m\');a.1M(\'s-1m\');4(3.r.11<1){3.N.E(\'a:3P(.s-1m) 19\').1O(1P,3.r.11);a.E(\'19\').1O(1P,1)};5 b=a[0].1u.3Q;b-=(3.1G/2)-(a[0].2a/2);3.N.13({1a:b+\'z\'})},P:8(a){4($.28(a)){a.2n(3)}}};8 23(a,b){3.1e(a,b)};23.2O={1T:q,1U:q,X:q,L:q,r:q,2p:q,1y:q,Y:q,1V:q,1e:8(a,b){5 c=3;3.2p=a;3.r=b},2T:8(){3.1T=$(\'<16 H="s-t-1t">\'+3.r.2w+\'</16>\');3.1U=$(\'<16 H="s-t-M">\'+3.r.2x+\'</16>\');3.X=$(\'<16 H="s-t-X"></16>\');3.L=$(\'<A H="s-t-L"></A>\');3.L.F(3.1T).F(3.1U).F(3.X);3.X.15();5 a=3;3.1T.1v(8(){a.1t()});3.1U.1v(8(){a.M()});$(1L).31(8(e){4(e.2f==3R){4(a.Y){a.M()}y{a.1t()}}});w 3.L},24:8(){3.1y=q;3.M();3.L.15()},1c:8(){3.1y=B;3.L.1l()},3S:8(){4(3.1y){3.24()}y{3.1c()}},1t:8(){4(3.Y||!3.1y)w q;5 a=3;3.Y=B;3.L.1M(\'s-t-Y\');3.2q();3.P(3.r.2A);w B},M:8(){4(!3.Y)w q;3.Y=q;3.X.15();3.L.3m(\'s-t-Y\');1Q(3.1V);3.P(3.r.2B);w B},2q:8(){5 c=3;5 d=3.r.2y;5 e=3.r.2z;1Q(c.1V);3.X.1l().2l(d+(3.r.1d/2r)+e);5 f=0;3.1V=2e(8(){f+=2r;4(f>=c.r.1d){5 a=8(){4(c.Y){c.2q()};f=0};4(!c.2p(a)){c.M()};f=0};5 b=12(c.X.3T().2W(/[^0-9]/g,\'\'),10);b--;4(b>0){c.X.2l(d+b+e)}},2r)},P:8(a){4($.28(a)){a.2n(3)}}}})(3U);',62,243,'|||this|if|var|||function||||||||||||||||||false|settings|ad|slideshow|css|width|return|height|else|px|div|true|left|image_wrapper_height|find|append|images|class|attr|length|image_wrapper_width|controls|stop|thumbs_wrapper|current_index|fireCallback|top|current_description|opacity|image_wrapper|title|nav|image|countdown|running|loader||thumb_opacity|parseInt|animate|preloadImage|hide|span|wrapper|current_image|img|scrollLeft|animation_speed|enable|speed|init|bottom|old_image|new_image|next_link|prev_link|in_transition|show|active|data|desc|preloaded|size|preloads|showImage|start|parentNode|click|is|link|enabled|cycle|callbacks|new|offsetHeight|gallery_info|scroll_back|scroll_forward|nav_display_width|animations|nextImage|loading|src|document|addClass|thumb|fadeTo|300|clearInterval|typeof|undefined|start_link|stop_link|countdown_interval|start_at_index|description_wrapper|scroll_jump|autostart|stop_on_scroll|slide|AdGallery|AdGallerySlideshow|disable|window|location|hash|isFunction|isImageLoaded|offsetWidth|longdesc|alt|error|setInterval|keyCode|prevImage|next|forward|right|_afterShow|html|_showWhenLoaded|call|preloadNext|nextimage_callback|_next|1000|loader_image|animate_first_image|display_next_and_prev|display_back_and_forward|start_label|stop_label|countdown_prefix|countdown_sufix|onStart|onStop|effect|hori|enable_keyboard_move|afterImageVisible|beforeImageVisible|extend|each|VerticalSlideAnimation|HorizontalSlideAnimation|ResizeAnimation|FadeAnimation|NoneAnimation|prototype|setupElements|setupAnimations|findImages|initNextAndPrev|create|initBackAndForward|initKeyEvents|replace|href|load|hover||keydown|prev|add|prepend|_getContainedImageSize|_centerImage||0px||_getDescription|strong|description|Image|padding|highLightThumb|easing|remove|nextIndex|prevIndex|complete|naturalWidth|removeClass|fn|adGallery|gif|400|5000|Start|Stop|indexOf|vert|resize|fade|none|info|empty|thumbs|body|addAnimation|list|100|mouseover|mouseout|back|50|createElement|target|_blank|swing|preloadAll|not|offsetLeft|83|toggle|text|jQuery'.split('|'),0,{}))
Binary file
Binary file
@@ -0,0 +1,171 @@
1
+ .ad-gallery {
2
+ width: 320px;
3
+ }
4
+
5
+ .ad-gallery, .ad-gallery * {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ .ad-gallery .ad-image-wrapper {
11
+ width: 100%;
12
+ height: 210px;
13
+ /*margin-bottom: 10px;*/
14
+ position: relative;
15
+ overflow: hidden;
16
+ }
17
+ .ad-gallery .ad-image-wrapper .ad-loader {
18
+ position: absolute;
19
+ z-index: 3;
20
+ top: 2px;
21
+ left: 48%;
22
+ border: 1px solid #CCC;
23
+ }
24
+ .ad-gallery .ad-image-wrapper .ad-next {
25
+ position: absolute;
26
+ right: 0;
27
+ top: 0px;
28
+ width: 25%;
29
+ height: 95%;
30
+ cursor: pointer;
31
+ display: block;
32
+ z-index: 100;
33
+ }
34
+ .ad-gallery .ad-image-wrapper .ad-prev {
35
+ position: absolute;
36
+ left: 0;
37
+ top: 0px;
38
+ width: 25%;
39
+ height: 95%;
40
+ cursor: pointer;
41
+ display: block;
42
+ z-index: 150;
43
+ }
44
+ .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
45
+ /* Or else IE will hide it */
46
+ background: url(non-existing.jpg)\9
47
+ }
48
+ .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
49
+ background: url(ad_prev.png);
50
+ width: 30px;
51
+ height: 30px;
52
+ display: none;
53
+ position: absolute;
54
+ /*top: 47%;*/
55
+ top:80px;
56
+ left: 0;
57
+ z-index: 101;
58
+ }
59
+ .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
60
+ background: url(ad_next.png);
61
+ width: 30px;
62
+ height: 30px;
63
+ right: 0;
64
+ left: auto;
65
+ }
66
+ .ad-gallery .ad-image-wrapper .ad-image {
67
+ position: absolute;
68
+ overflow: hidden;
69
+ top: 0;
70
+ left: 0;
71
+ z-index: 9;
72
+ }
73
+ .ad-gallery .ad-image-wrapper .ad-image a img {
74
+ border: 0;
75
+ }
76
+ .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
77
+ position: absolute;
78
+ bottom: 0px;
79
+ left: 0px;
80
+ padding: 7px;
81
+ text-align: left;
82
+ width: 100%;
83
+ z-index: 2;
84
+ background: url(opa75.png);
85
+ color: #000;
86
+ }
87
+ * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
88
+ background: none;
89
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
90
+ }
91
+ .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
92
+ display: block;
93
+ }
94
+ .ad-gallery .ad-controls {
95
+ height: 15px;
96
+ }
97
+ .ad-gallery .ad-info {
98
+ float: left;
99
+ }
100
+ .ad-gallery .ad-slideshow-controls {
101
+ float: right;
102
+ }
103
+ .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
104
+ padding-left: 5px;
105
+ cursor: pointer;
106
+ }
107
+ .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
108
+ padding-left: 5px;
109
+ font-size: 0.9em;
110
+ }
111
+ .ad-gallery .ad-slideshow-running .ad-slideshow-start {
112
+ cursor: default;
113
+ font-style: italic;
114
+ }
115
+ .ad-gallery .ad-nav {
116
+ width: 100%;
117
+ position: relative;
118
+ }
119
+ .ad-gallery .ad-forward, .ad-gallery .ad-back {
120
+ position: absolute;
121
+ top: 0;
122
+ height: 100%;
123
+ z-index: 10;
124
+ }
125
+ /* IE 6 doesn't like height: 100% */
126
+ * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
127
+ height: 100px;
128
+ }
129
+ .ad-gallery .ad-back {
130
+ cursor: pointer;
131
+ left: -20px;
132
+ width: 13px;
133
+ display: block;
134
+ background: url(ad_scroll_back.png) 0px 22px no-repeat;
135
+ }
136
+ .ad-gallery .ad-forward {
137
+ cursor: pointer;
138
+ display: block;
139
+ right: -20px;
140
+ width: 13px;
141
+ background: url(ad_scroll_forward.png) 0px 22px no-repeat;
142
+ }
143
+ .ad-gallery .ad-nav .ad-thumbs {
144
+ overflow: hidden;
145
+ width: 100%;
146
+ }
147
+ .ad-gallery .ad-thumbs .ad-thumb-list {
148
+ float: left;
149
+ width: 9000px;
150
+ list-style: none;
151
+ }
152
+ .ad-gallery .ad-thumbs li {
153
+ float: left;
154
+ /* padding-right: 5px;*/
155
+ }
156
+ .ad-gallery .ad-thumbs li a {
157
+ display: block;
158
+ }
159
+ .ad-gallery .ad-thumbs li a img {
160
+ border: 3px solid #CCC;
161
+ display: block;
162
+ }
163
+ .ad-gallery .ad-thumbs li a.ad-active img {
164
+ border: 3px solid #616161;
165
+ }
166
+ /* Can't do display none, since Opera won't load the images then */
167
+ .ad-preloads {
168
+ position: absolute;
169
+ left: -9000px;
170
+ top: -9000px;
171
+ }
Binary file
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'subjects/subject_with_details',
2
+ :locals => {:subject => event} %>
@@ -0,0 +1,2 @@
1
+ <%= render :partial => 'subjects/subject_with_details',
2
+ :locals => {:subject => event} %>
@@ -0,0 +1,73 @@
1
+ <%content_for(:javascript) do %>
2
+ $(function() {
3
+ var galleries = $('.ad-gallery').adGallery();
4
+ });
5
+ <%end%>
6
+
7
+ <div id="caracteristics">
8
+ <span id ="video">
9
+ <div id="gallery" class="ad-gallery">
10
+ <div class="ad-image-wrapper">
11
+ </div>
12
+ <div class="ad-controls">
13
+ </div>
14
+ <div class="ad-nav">
15
+ <div class="ad-thumbs">
16
+ <ul class="ad-thumb-list">
17
+ <li class="gallery">
18
+ <%= link_to(image_tag('frontpage/thumbs/tvideo_1_happy.jpg', :alt => "Kostas Glinos",
19
+ :longdesc=> "http://www.globalplaza.org/spaces/global/videos/785"),
20
+ image_path('frontpage/video_1_happy.jpg')); %>
21
+ </li>
22
+ <li class="gallery">
23
+ <%= link_to(image_tag('frontpage/thumbs/tvideo_2_kostas.jpg', :alt => "Kostas Glinos",
24
+ :longdesc=> "http://www.globalplaza.org/spaces/global/global-infoday-for-america?show_video=819"),
25
+ image_path('frontpage/video_2_kostas.jpg')); %>
26
+ </li>
27
+ <li class="gallery">
28
+ <%= link_to(image_tag('frontpage/thumbs/tvideo_3_colin.jpg', :alt => "Kostas Glinos",
29
+ :longdesc => "http://www.globalplaza.org/spaces/global/videos/785", :class =>"image2" ),
30
+ image_path('frontpage/video_3_colin.jpg')); %>
31
+ </li>
32
+ <li class="gallery">
33
+ <%= link_to(image_tag('frontpage/thumbs/tvideo_4_romilla.jpg', :alt => "Ricardo Santos, Doris Zuñiga",
34
+ :longdesc => "http://www.globalplaza.org/spaces/global/events/global-infoday-for-america?show_video=819", :class =>"image2" ),
35
+ image_path('frontpage/video_4_romilla.jpg')); %>
36
+ </li>
37
+
38
+ </ul>
39
+ </div>
40
+ </div>
41
+ </div>
42
+
43
+ <div id="descriptions">
44
+
45
+ </div>
46
+ </span>
47
+
48
+ <ul class="list">
49
+ <li class="list conferences">
50
+ <%= t('frontpage.elements.conferences') %>
51
+ </li>
52
+
53
+ <li class="list participants">
54
+ <%= t('frontpage.elements.participants') %>
55
+ </li>
56
+ <li class="list organizers">
57
+ <%= t('frontpage.elements.organizers') %>
58
+ </li>
59
+ <li class="list groups">
60
+ <%= t('frontpage.elements.groups') %>
61
+ </li>
62
+ <li class="list comments">
63
+ <%= t('frontpage.elements.comments') %>
64
+ </li>
65
+ <li class="list tags">
66
+ <%= t('frontpage.elements.tags') %>
67
+ </li>
68
+ <li class="list networks">
69
+ <%= t('frontpage.elements.networks') %>
70
+ </li>
71
+ </ul>
72
+ </div>
73
+
@@ -0,0 +1,72 @@
1
+ <% content_for :title do%>
2
+ <%= t('welcome', :site => t('site.name')) %>
3
+ <%end%>
4
+
5
+ <div class="banner_busqueda">
6
+ <div id="espacio_busqueda">
7
+ </div>
8
+ <%= render :partial => 'layouts/search' %>
9
+ </div>
10
+
11
+ <div id="wrapper_left">
12
+ <div id="frontpage_title">
13
+ <%= t('frontpage.main_title') %>
14
+ <span id="text_bottom_title">
15
+ <br/>
16
+ <%= t('frontpage.stats', :users => User.count, :groups => Group.count) %>
17
+ </span>
18
+ </div>
19
+ <div class="espacio"></div>
20
+ <div class="espacio"></div>
21
+ <div id="share">
22
+ <div class="icon">
23
+ <div id="icon_share"></div>
24
+ <div class="icon_text"><%= t('frontpage.share.default')%> </div>
25
+ </div>
26
+ <div class="sentences">
27
+ <ul>
28
+ <li class="purple"><%= t('frontpage.share.sentence1') %></li>
29
+ <li class="purple"><%= t('frontpage.share.sentence2') %></li>
30
+ <li class="purple"><%= t('frontpage.share.sentence3') %></li>
31
+ </ul>
32
+ </div>
33
+ </div>
34
+ <div class="espacio"></div>
35
+ <div id="meet">
36
+ <div class="icon">
37
+ <div id="icon_meet"></div>
38
+ <div class="icon_text"><%= t('frontpage.meet.default')%> </div>
39
+ </div>
40
+ <div class="sentences">
41
+ <ul>
42
+ <li class="green"><%= t('frontpage.meet.sentence1') %></li>
43
+ <li class="green"><%= t('frontpage.meet.sentence2') %></li>
44
+ <li class="green"><%= t('frontpage.meet.sentence3') %></li>
45
+ </ul>
46
+ </div>
47
+ </div>
48
+ <div class="espacio"></div>
49
+ <div id="collaborate">
50
+ <div class="icon">
51
+ <div id="icon_collaborate"></div>
52
+ <div class="icon_text"><%= t('frontpage.collaborate.default')%> </div>
53
+ </div>
54
+ <div class="sentences">
55
+ <ul>
56
+ <li class="yellow"><%= t('frontpage.collaborate.sentence1') %></li>
57
+ <li class="yellow"><%= t('frontpage.collaborate.sentence2') %></li>
58
+ <li class="yellow"><%= t('frontpage.collaborate.sentence3') %></li>
59
+ </ul>
60
+ </div>
61
+ </div>
62
+ <div class="espacio"></div>
63
+ <div id="join_form">
64
+ <%= link_to image_tag("frontpage/join.gif", :alt=>"register"), new_user_registration_path, :class => "register_link" %>
65
+ </div>
66
+ </div>
67
+
68
+ <div id="wrapper_right">
69
+ <%= render :partial => 'frontpage/caracteristics' %>
70
+ </div>
71
+
72
+ <div id="espacio_body_bottom"></div>
@@ -57,6 +57,20 @@ en:
57
57
  liked: "Most liked"
58
58
  other: "Events"
59
59
  suscribed: "Last Suscribed"
60
+ frontpage:
61
+ elements:
62
+ collaborate:
63
+ sentence1: "Organize your projects and activities"
64
+ sentence2: "Participate in conferences and events"
65
+ sentence3: "Create your own group and conferences"
66
+ meet:
67
+ sentence1: "Discover best online videoconferences"
68
+ sentence2: "Meet interesting people and groups"
69
+ sentence3: "Video chat with your colleagues"
70
+ share:
71
+ sentence1: "Videoconference recording and streaming"
72
+ sentence2: "Posts, comments, documents, photos, audios and videos"
73
+ sentence3: "Your contacts and relations"
60
74
  menu:
61
75
  outline: "Outline"
62
76
  profile:
@@ -0,0 +1,103 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ activity:
6
+ verb:
7
+ follow:
8
+ Event:
9
+ title: "%{subject} añadió %{contact} como contacto."
10
+ message: "%{name} te añadió como contacto."
11
+ like:
12
+ Event:
13
+ title: "%{subject} es fan de %{contact}."
14
+ message: "%{name} es ahora tu fan."
15
+ make-friend:
16
+ Event:
17
+ title: "%{subject} y %{contact} estan conectados."
18
+ message: "%{name} te ha añadido como contacto."
19
+ post:
20
+ User:
21
+ title: "%{subject} añadio %{contact} como nueva sessión."
22
+ Event:
23
+ title: "%{subject} ha creado una nueva sessión."
24
+ view:
25
+ documents: "Documentos"
26
+ audio: "Audio"
27
+ event: "Eventos"
28
+ photos: "Fotos"
29
+ post: "Publicaciones"
30
+ video: "Videos"
31
+ actor:
32
+ created: "Creado por"
33
+ delete: "Borrar"
34
+ confirm_delete: "Confirmar borrar?"
35
+ agenda:
36
+ confirm_delete: "borrar"
37
+ conference:
38
+ title: "Conferencias"
39
+ list: "Conferencias de contactos"
40
+ date:
41
+ at: "a"
42
+ undefined: "no definido"
43
+ event:
44
+ all: "todos los eventos"
45
+ all_n: "Todos los events"
46
+ by: "Por eventos"
47
+ cloud: "Nube de etiquetas de eventos"
48
+ confirm_delete: "Borrar"
49
+ form:
50
+ title: "Evento"
51
+ title: "Eventos"
52
+ input: "Cual es el nombre del evento?"
53
+ list: "Contactos del evento"
54
+ live: "Eventos en vivo"
55
+ most:
56
+ followed: "Más seguidos"
57
+ liked: "Me Gusta"
58
+ other: "Eventos"
59
+ suscribed: "últimos suscritos"
60
+ frontpage:
61
+ collaborate:
62
+ sentence1: "Organice sus proyectos y actividades"
63
+ sentence2: "Participe en conferencias y eventos"
64
+ sentence3: "Cree su propio espacio y conferencias"
65
+ elements:
66
+ conferences: "Conferencias"
67
+ meet:
68
+ sentence1: "Descubra las mejores videoconferencias online"
69
+ sentence2: "Conozca gente y grupos interesantes"
70
+ sentence3: "Videoconferencia con sus colegas"
71
+ share:
72
+ sentence1: "Grabación y streaming de videoconferencias"
73
+ sentence2: "Publicaciones, comentarios, documentos, fotos, audios y vídeos"
74
+ sentence3: "Sus contactos y relaciones"
75
+ menu:
76
+ outline: "Agenda"
77
+ profile:
78
+ event:
79
+ about: "Acerca de"
80
+ birthday: "Aniversario"
81
+ experience: "Area of experiencia"
82
+ info: "Information del evento"
83
+ tags: "Etiquetas del event"
84
+ outline: "agenda"
85
+ session:
86
+ confirm_delete: "borrar"
87
+ new: "Nueva session"
88
+ one: "session"
89
+ other: "sessions"
90
+ title: "titulo"
91
+ description: "descripción"
92
+ schedule: "horario"
93
+ time:
94
+ am: am
95
+ end: "fecha final"
96
+ from: "desde"
97
+ pm: pm
98
+ start: "fecha inicio"
99
+ to: "a"
100
+ timezone:
101
+ one: "Zona horaria"
102
+ set_up: You have not set up your time zone. <a href="{{path}}">Set it up now</a>
103
+
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Events
3
- VERSION = "0.0.8".freeze
3
+ VERSION = "0.0.9".freeze
4
4
  end
5
5
  end
@@ -11,6 +11,9 @@ module SocialStream
11
11
  # by default
12
12
  # It can be configured by users at application's config/initializers/social_stream.rb
13
13
  SocialStream.subjects.push(:event) unless SocialStream.subjects.include?(:event)
14
+
15
+ SocialStream.quick_search_models.push(:event) unless SocialStream.quick_search_models.include?(:event)
16
+ SocialStream.extended_search_models.push(:event) unless SocialStream.extended_search_models.include?(:event)
14
17
 
15
18
  [ :agenda, :session ].each do |o|
16
19
  SocialStream.objects.push(o) unless SocialStream.objects.include?(o)
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
 
14
14
  # Gem dependencies
15
- s.add_runtime_dependency('social_stream-base', '~> 0.9.15')
15
+ s.add_runtime_dependency('social_stream-base', '~> 0.9.16')
16
16
  s.add_runtime_dependency('conference_manager-ruby', '~> 0.0.3')
17
17
 
18
18
  # Development Gem dependencies
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_stream-events
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Diego Carrera
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-10-06 00:00:00 +02:00
20
+ date: 2011-10-07 00:00:00 +02:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -28,12 +28,12 @@ dependencies:
28
28
  requirements:
29
29
  - - ~>
30
30
  - !ruby/object:Gem::Version
31
- hash: 37
31
+ hash: 27
32
32
  segments:
33
33
  - 0
34
34
  - 9
35
- - 15
36
- version: 0.9.15
35
+ - 16
36
+ version: 0.9.16
37
37
  name: social_stream-base
38
38
  version_requirements: *id001
39
39
  - !ruby/object:Gem::Dependency
@@ -175,6 +175,14 @@ files:
175
175
  - app/assets/images/btn/live.png
176
176
  - app/assets/images/btn/time.png
177
177
  - app/assets/images/btn/trash.png
178
+ - app/assets/images/frontpage/thumbs/tvideo_1_happy.jpg
179
+ - app/assets/images/frontpage/thumbs/tvideo_2_kostas.jpg
180
+ - app/assets/images/frontpage/thumbs/tvideo_3_colin.jpg
181
+ - app/assets/images/frontpage/thumbs/tvideo_4_romilla.jpg
182
+ - app/assets/images/frontpage/video_1_happy.jpg
183
+ - app/assets/images/frontpage/video_2_kostas.jpg
184
+ - app/assets/images/frontpage/video_3_colin.jpg
185
+ - app/assets/images/frontpage/video_4_romilla.jpg
178
186
  - app/assets/images/icons/IconsByGlyphish.txt
179
187
  - app/assets/images/icons/down.png
180
188
  - app/assets/images/icons/search.png
@@ -185,10 +193,18 @@ files:
185
193
  - app/assets/images/logos/profile/event.png
186
194
  - app/assets/images/logos/representation/event.png
187
195
  - app/assets/images/tab_bottom.png
196
+ - app/assets/javascripts/jquery.ad-gallery.js
197
+ - app/assets/javascripts/jquery.ad-gallery.pack.js
188
198
  - app/assets/javascripts/schedule.js
189
199
  - app/assets/javascripts/social_stream-events.js
200
+ - app/assets/stylesheets/ad_next.png
201
+ - app/assets/stylesheets/ad_prev.png
202
+ - app/assets/stylesheets/ad_scroll_back.png
203
+ - app/assets/stylesheets/ad_scroll_forward.png
190
204
  - app/assets/stylesheets/fullcalendar.css
191
205
  - app/assets/stylesheets/fullcalendar.print.css
206
+ - app/assets/stylesheets/jquery.ad-gallery.css
207
+ - app/assets/stylesheets/loader.gif
192
208
  - app/assets/stylesheets/social_stream-events.css
193
209
  - app/controllers/agendas_controller.rb
194
210
  - app/controllers/events_controller.rb
@@ -208,6 +224,8 @@ files:
208
224
  - app/views/agendas/show.html.erb
209
225
  - app/views/documents/_mediawall.html.erb
210
226
  - app/views/events/_event.html.erb
227
+ - app/views/events/_event_focus_search.html.erb
228
+ - app/views/events/_event_global_search.html.erb
211
229
  - app/views/events/_event_with_details.html.erb
212
230
  - app/views/events/_form.html.erb
213
231
  - app/views/events/_manage.html.erb
@@ -223,6 +241,8 @@ files:
223
241
  - app/views/events/manage.html.erb
224
242
  - app/views/events/manage.js.erb
225
243
  - app/views/events/show.html.erb
244
+ - app/views/frontpage/_caracteristics.html.erb
245
+ - app/views/frontpage/index.html.erb
226
246
  - app/views/profiles/_outline.html.erb
227
247
  - app/views/sessions/_form.html.erb
228
248
  - app/views/sessions/_new.html.erb
@@ -239,6 +259,7 @@ files:
239
259
  - app/views/toolbar/_sponsor.html.erb
240
260
  - app/views/toolbar/_suscribed.html.erb
241
261
  - config/locales/en.yml
262
+ - config/locales/es.yml
242
263
  - config/routes.rb
243
264
  - db/migrate/20110910161707_create_social_stream_events.rb
244
265
  - lib/generators/social_stream/events/install_generator.rb