comfy_gallery 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -0
- data/VERSION +1 -1
- data/app/assets/images/comfy_gallery/border.png +0 -0
- data/app/assets/images/comfy_gallery/controls.png +0 -0
- data/app/assets/images/comfy_gallery/loading.gif +0 -0
- data/app/assets/images/comfy_gallery/loading_background.png +0 -0
- data/app/assets/images/comfy_gallery/overlay.png +0 -0
- data/app/assets/javascripts/comfy_gallery/jquery.colorbox.js +4 -0
- data/app/assets/stylesheets/comfy_gallery/colorbox.css +61 -0
- data/app/helpers/gallery/application_helper.rb +0 -18
- data/app/views/admin/gallery/galleries/index.html.erb +0 -8
- data/app/views/admin/gallery/photos/_form.html.erb +1 -1
- data/comfy_gallery.gemspec +9 -66
- data/config/routes.rb +0 -4
- data/lib/comfy_gallery/engine.rb +0 -1
- metadata +20 -77
- data/app/assets/images/comfy_gallery/orbit/bullets.jpg +0 -0
- data/app/assets/images/comfy_gallery/orbit/left-arrow.png +0 -0
- data/app/assets/images/comfy_gallery/orbit/loading.gif +0 -0
- data/app/assets/images/comfy_gallery/orbit/mask-black.png +0 -0
- data/app/assets/images/comfy_gallery/orbit/pause-black.png +0 -0
- data/app/assets/images/comfy_gallery/orbit/right-arrow.png +0 -0
- data/app/assets/images/comfy_gallery/orbit/rotator-black.png +0 -0
- data/app/assets/images/comfy_gallery/orbit/timer-black.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/btnNext.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/btnPrevious.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/contentPattern.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/default_thumbnail.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/loader.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/sprite.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_square/btnNext.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_square/btnPrevious.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_square/contentPattern.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_square/default_thumbnail.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_square/loader.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/dark_square/sprite.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/default_thumb.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/loader.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/sprite.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/sprite_next.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/sprite_prev.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/sprite_x.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/default/sprite_y.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/btnNext.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/btnPrevious.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternBottom.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternLeft.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternRight.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternTop.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/default_thumbnail.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/loader.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/facebook/sprite.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_rounded/btnNext.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_rounded/btnPrevious.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_rounded/default_thumbnail.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_rounded/loader.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_rounded/sprite.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_square/btnNext.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_square/btnPrevious.png +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_square/default_thumbnail.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_square/loader.gif +0 -0
- data/app/assets/images/comfy_gallery/prettyPhoto/light_square/sprite.png +0 -0
- data/app/assets/javascripts/comfy_gallery/admin.js +0 -72
- data/app/assets/javascripts/comfy_gallery/application.js +0 -15
- data/app/assets/javascripts/comfy_gallery/jquery.orbit-1.2.3.min.js +0 -17
- data/app/assets/javascripts/comfy_gallery/thumbnails.js +0 -85
- data/app/assets/stylesheets/comfy_gallery/admin.css +0 -57
- data/app/assets/stylesheets/comfy_gallery/application.css +0 -67
- data/app/assets/stylesheets/comfy_gallery/carousel.css.erb +0 -208
- data/app/assets/stylesheets/comfy_gallery/gallery_list.css +0 -18
- data/app/assets/stylesheets/comfy_gallery/reset.css +0 -1
- data/app/assets/stylesheets/comfy_gallery/thumbnails.css.erb +0 -181
- data/app/controllers/gallery/galleries_controller.rb +0 -15
- data/app/views/admin/gallery/_html_head.html.erb +0 -1
- data/app/views/gallery/_carousel.html.erb +0 -31
- data/app/views/gallery/_list_galleries.html.erb +0 -26
- data/app/views/gallery/_thumbnails.html.erb +0 -26
- data/app/views/gallery/galleries/index.html.erb +0 -1
- data/app/views/gallery/galleries/show.html.erb +0 -7
- data/test/functional/gallery/galleries_controller_test.rb +0 -24
data/README.md
CHANGED
@@ -23,6 +23,17 @@ You probably want to set the admin controller to be something that handles user
|
|
23
23
|
|
24
24
|
If you are using ComfyGallery in conjunction with ComfortableMexicanSofa everything will be configured automatically.
|
25
25
|
|
26
|
+
There's no front-end to this engine. Feel free to access galleries like such: `Gallery::Gallery.find_by_identifier('my_gallery)` and cycle through the `photos`.
|
27
|
+
|
28
|
+
Also you may use provided [ColorBox](http://jacklmoore.com/colorbox/) javascript to display galleries. Just declare these for asset pipeline
|
29
|
+
|
30
|
+
// in app/assets/javascripts/application.js
|
31
|
+
//= require comfy_gallery/jquery.colorbox
|
32
|
+
|
33
|
+
// in app/assets/stylesheets/application.css
|
34
|
+
//= require comfy_gallery/colorbox
|
35
|
+
|
36
|
+
---
|
26
37
|
|
27
38
|
CMS Gallery is released under the [MIT license](https://github.com/twg/sofa-gallery/raw/master/LICENSE)
|
28
39
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,4 @@
|
|
1
|
+
// ColorBox v1.3.19 - jQuery lightbox plugin
|
2
|
+
// (c) 2011 Jack Moore - jacklmoore.com
|
3
|
+
// License: http://www.opensource.org/licenses/mit-license.php
|
4
|
+
(function(a,b,c){function Z(c,d,e){var g=b.createElement(c);return d&&(g.id=f+d),e&&(g.style.cssText=e),a(g)}function $(a){var b=y.length,c=(Q+a)%b;return c<0?b+c:c}function _(a,b){return Math.round((/%/.test(a)?(b==="x"?z.width():z.height())/100:1)*parseInt(a,10))}function ba(a){return K.photo||/\.(gif|png|jpe?g|bmp|ico)((#|\?).*)?$/i.test(a)}function bb(){var b;K=a.extend({},a.data(P,e));for(b in K)a.isFunction(K[b])&&b.slice(0,2)!=="on"&&(K[b]=K[b].call(P));K.rel=K.rel||P.rel||"nofollow",K.href=K.href||a(P).attr("href"),K.title=K.title||P.title,typeof K.href=="string"&&(K.href=a.trim(K.href))}function bc(b,c){a.event.trigger(b),c&&c.call(P)}function bd(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;K.slideshow&&y[1]?(d=function(){F.text(K.slideshowStop).unbind(c).bind(j,function(){if(K.loop||y[Q+1])a=setTimeout(W.next,K.slideshowSpeed)}).bind(i,function(){clearTimeout(a)}).one(c+" "+k,e),r.removeClass(b+"off").addClass(b+"on"),a=setTimeout(W.next,K.slideshowSpeed)},e=function(){clearTimeout(a),F.text(K.slideshowStart).unbind([j,i,k,c].join(" ")).one(c,function(){W.next(),d()}),r.removeClass(b+"on").addClass(b+"off")},K.slideshowAuto?d():e()):r.removeClass(b+"off "+b+"on")}function be(b){U||(P=b,bb(),y=a(P),Q=0,K.rel!=="nofollow"&&(y=a("."+g).filter(function(){var b=a.data(this,e).rel||this.rel;return b===K.rel}),Q=y.index(P),Q===-1&&(y=y.add(P),Q=y.length-1)),S||(S=T=!0,r.show(),K.returnFocus&&a(P).blur().one(l,function(){a(this).focus()}),q.css({opacity:+K.opacity,cursor:K.overlayClose?"pointer":"auto"}).show(),K.w=_(K.initialWidth,"x"),K.h=_(K.initialHeight,"y"),W.position(),o&&z.bind("resize."+p+" scroll."+p,function(){q.css({width:z.width(),height:z.height(),top:z.scrollTop(),left:z.scrollLeft()})}).trigger("resize."+p),bc(h,K.onOpen),J.add(D).hide(),I.html(K.close).show()),W.load(!0))}function bf(){!r&&b.body&&(Y=!1,z=a(c),r=Z(X).attr({id:e,"class":n?f+(o?"IE6":"IE"):""}).hide(),q=Z(X,"Overlay",o?"position:absolute":"").hide(),s=Z(X,"Wrapper"),t=Z(X,"Content").append(A=Z(X,"LoadedContent","width:0; height:0; overflow:hidden"),C=Z(X,"LoadingOverlay").add(Z(X,"LoadingGraphic")),D=Z(X,"Title"),E=Z(X,"Current"),G=Z(X,"Next"),H=Z(X,"Previous"),F=Z(X,"Slideshow").bind(h,bd),I=Z(X,"Close")),s.append(Z(X).append(Z(X,"TopLeft"),u=Z(X,"TopCenter"),Z(X,"TopRight")),Z(X,!1,"clear:left").append(v=Z(X,"MiddleLeft"),t,w=Z(X,"MiddleRight")),Z(X,!1,"clear:left").append(Z(X,"BottomLeft"),x=Z(X,"BottomCenter"),Z(X,"BottomRight"))).find("div div").css({"float":"left"}),B=Z(X,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),J=G.add(H).add(E).add(F),a(b.body).append(q,r.append(s,B)))}function bg(){return r?(Y||(Y=!0,L=u.height()+x.height()+t.outerHeight(!0)-t.height(),M=v.width()+w.width()+t.outerWidth(!0)-t.width(),N=A.outerHeight(!0),O=A.outerWidth(!0),r.css({"padding-bottom":L,"padding-right":M}),G.click(function(){W.next()}),H.click(function(){W.prev()}),I.click(function(){W.close()}),q.click(function(){K.overlayClose&&W.close()}),a(b).bind("keydown."+f,function(a){var b=a.keyCode;S&&K.escKey&&b===27&&(a.preventDefault(),W.close()),S&&K.arrowKey&&y[1]&&(b===37?(a.preventDefault(),H.click()):b===39&&(a.preventDefault(),G.click()))}),a("."+g,b).live("click",function(a){a.which>1||a.shiftKey||a.altKey||a.metaKey||(a.preventDefault(),be(this))})),!0):!1}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined},e="colorbox",f="cbox",g=f+"Element",h=f+"_open",i=f+"_load",j=f+"_complete",k=f+"_cleanup",l=f+"_closed",m=f+"_purge",n=!a.support.opacity&&!a.support.style,o=n&&!c.XMLHttpRequest,p=f+"_IE6",q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X="div",Y;if(a.colorbox)return;a(bf),W=a.fn[e]=a[e]=function(b,c){var f=this;b=b||{},bf();if(bg()){if(!f[0]){if(f.selector)return f;f=a("<a/>"),b.open=!0}c&&(b.onComplete=c),f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b))}).addClass(g),(a.isFunction(b.open)&&b.open.call(f)||b.open)&&be(f[0])}return f},W.position=function(a,b){function i(a){u[0].style.width=x[0].style.width=t[0].style.width=a.style.width,t[0].style.height=v[0].style.height=w[0].style.height=a.style.height}var c=0,d=0,e=r.offset(),g=z.scrollTop(),h=z.scrollLeft();z.unbind("resize."+f),r.css({top:-9e4,left:-9e4}),K.fixed&&!o?(e.top-=g,e.left-=h,r.css({position:"fixed"})):(c=g,d=h,r.css({position:"absolute"})),K.right!==!1?d+=Math.max(z.width()-K.w-O-M-_(K.right,"x"),0):K.left!==!1?d+=_(K.left,"x"):d+=Math.round(Math.max(z.width()-K.w-O-M,0)/2),K.bottom!==!1?c+=Math.max(z.height()-K.h-N-L-_(K.bottom,"y"),0):K.top!==!1?c+=_(K.top,"y"):c+=Math.round(Math.max(z.height()-K.h-N-L,0)/2),r.css({top:e.top,left:e.left}),a=r.width()===K.w+O&&r.height()===K.h+N?0:a||0,s[0].style.width=s[0].style.height="9999px",r.dequeue().animate({width:K.w+O,height:K.h+N,top:c,left:d},{duration:a,complete:function(){i(this),T=!1,s[0].style.width=K.w+O+M+"px",s[0].style.height=K.h+N+L+"px",K.reposition&&setTimeout(function(){z.bind("resize."+f,W.position)},1),b&&b()},step:function(){i(this)}})},W.resize=function(a){S&&(a=a||{},a.width&&(K.w=_(a.width,"x")-O-M),a.innerWidth&&(K.w=_(a.innerWidth,"x")),A.css({width:K.w}),a.height&&(K.h=_(a.height,"y")-N-L),a.innerHeight&&(K.h=_(a.innerHeight,"y")),!a.innerHeight&&!a.height&&(A.css({height:"auto"}),K.h=A.height()),A.css({height:K.h}),W.position(K.transition==="none"?0:K.speed))},W.prep=function(b){function g(){return K.w=K.w||A.width(),K.w=K.mw&&K.mw<K.w?K.mw:K.w,K.w}function h(){return K.h=K.h||A.height(),K.h=K.mh&&K.mh<K.h?K.mh:K.h,K.h}if(!S)return;var c,d=K.transition==="none"?0:K.speed;A.remove(),A=Z(X,"LoadedContent").append(b),A.hide().appendTo(B.show()).css({width:g(),overflow:K.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(t),B.hide(),a(R).css({"float":"none"}),o&&a("select").not(r.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(k,function(){this.style.visibility="inherit"}),c=function(){function q(){n&&r[0].style.removeAttribute("filter")}var b,c,g=y.length,h,i="frameBorder",k="allowTransparency",l,o,p;if(!S)return;l=function(){clearTimeout(V),C.hide(),bc(j,K.onComplete)},n&&R&&A.fadeIn(100),D.html(K.title).add(A).show();if(g>1){typeof K.current=="string"&&E.html(K.current.replace("{current}",Q+1).replace("{total}",g)).show(),G[K.loop||Q<g-1?"show":"hide"]().html(K.next),H[K.loop||Q?"show":"hide"]().html(K.previous),K.slideshow&&F.show();if(K.preloading){b=[$(-1),$(1)];while(c=y[b.pop()])o=a.data(c,e).href||c.href,a.isFunction(o)&&(o=o.call(c)),ba(o)&&(p=new Image,p.src=o)}}else J.hide();K.iframe?(h=Z("iframe")[0],i in h&&(h[i]=0),k in h&&(h[k]="true"),h.name=f+ +(new Date),K.fastIframe?l():a(h).one("load",l),h.src=K.href,K.scrolling||(h.scrolling="no"),a(h).addClass(f+"Iframe").appendTo(A).one(m,function(){h.src="//about:blank"})):l(),K.transition==="fade"?r.fadeTo(d,1,q):q()},K.transition==="fade"?r.fadeTo(d,0,function(){W.position(0,c)}):W.position(d,c)},W.load=function(b){var c,d,e=W.prep;T=!0,R=!1,P=y[Q],b||bb(),bc(m),bc(i,K.onLoad),K.h=K.height?_(K.height,"y")-N-L:K.innerHeight&&_(K.innerHeight,"y"),K.w=K.width?_(K.width,"x")-O-M:K.innerWidth&&_(K.innerWidth,"x"),K.mw=K.w,K.mh=K.h,K.maxWidth&&(K.mw=_(K.maxWidth,"x")-O-M,K.mw=K.w&&K.w<K.mw?K.w:K.mw),K.maxHeight&&(K.mh=_(K.maxHeight,"y")-N-L,K.mh=K.h&&K.h<K.mh?K.h:K.mh),c=K.href,V=setTimeout(function(){C.show()},100),K.inline?(Z(X).hide().insertBefore(a(c)[0]).one(m,function(){a(this).replaceWith(A.children())}),e(a(c))):K.iframe?e(" "):K.html?e(K.html):ba(c)?(a(R=new Image).addClass(f+"Photo").error(function(){K.title=!1,e(Z(X,"Error").text("This image could not be loaded"))}).load(function(){var a;R.onload=null,K.scalePhotos&&(d=function(){R.height-=R.height*a,R.width-=R.width*a},K.mw&&R.width>K.mw&&(a=(R.width-K.mw)/R.width,d()),K.mh&&R.height>K.mh&&(a=(R.height-K.mh)/R.height,d())),K.h&&(R.style.marginTop=Math.max(K.h-R.height,0)/2+"px"),y[1]&&(K.loop||y[Q+1])&&(R.style.cursor="pointer",R.onclick=function(){W.next()}),n&&(R.style.msInterpolationMode="bicubic"),setTimeout(function(){e(R)},1)}),setTimeout(function(){R.src=c},1)):c&&B.load(c,K.data,function(b,c,d){e(c==="error"?Z(X,"Error").text("Request unsuccessful: "+d.statusText):a(this).contents())})},W.next=function(){!T&&y[1]&&(K.loop||y[Q+1])&&(Q=$(1),W.load())},W.prev=function(){!T&&y[1]&&(K.loop||Q)&&(Q=$(-1),W.load())},W.close=function(){S&&!U&&(U=!0,S=!1,bc(k,K.onCleanup),z.unbind("."+f+" ."+p),q.fadeTo(200,0),r.stop().fadeTo(300,0,function(){r.add(q).css({opacity:1,cursor:"auto"}).hide(),bc(m),A.remove(),setTimeout(function(){U=!1,bc(l,K.onClosed)},1)}))},W.remove=function(){a([]).add(r).add(q).remove(),r=null,a("."+g).removeData(e).removeClass(g).die()},W.element=function(){return a(P)},W.settings=d})(jQuery,document,this);
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/*
|
2
|
+
ColorBox Core Style:
|
3
|
+
The following CSS is consistent between example themes and should not be altered.
|
4
|
+
*/
|
5
|
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6
|
+
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7
|
+
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8
|
+
#cboxContent{position:relative;}
|
9
|
+
#cboxLoadedContent{overflow:auto;}
|
10
|
+
#cboxTitle{margin:0;}
|
11
|
+
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12
|
+
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13
|
+
.cboxPhoto{float:left; margin:auto; border:0; display:block;}
|
14
|
+
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
15
|
+
|
16
|
+
/*
|
17
|
+
User Style:
|
18
|
+
Change the following styles to modify the appearance of ColorBox. They are
|
19
|
+
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20
|
+
*/
|
21
|
+
#cboxOverlay{background:url(/assets/comfy_gallery/overlay.png) repeat 0 0;}
|
22
|
+
#colorbox{}
|
23
|
+
#cboxTopLeft{width:21px; height:21px; background:url(/assets/comfy_gallery/controls.png) no-repeat -101px 0;}
|
24
|
+
#cboxTopRight{width:21px; height:21px; background:url(/assets/comfy_gallery/controls.png) no-repeat -130px 0;}
|
25
|
+
#cboxBottomLeft{width:21px; height:21px; background:url(/assets/comfy_gallery/controls.png) no-repeat -101px -29px;}
|
26
|
+
#cboxBottomRight{width:21px; height:21px; background:url(/assets/comfy_gallery/controls.png) no-repeat -130px -29px;}
|
27
|
+
#cboxMiddleLeft{width:21px; background:url(/assets/comfy_gallery/controls.png) left top repeat-y;}
|
28
|
+
#cboxMiddleRight{width:21px; background:url(/assets/comfy_gallery/controls.png) right top repeat-y;}
|
29
|
+
#cboxTopCenter{height:21px; background:url(/assets/comfy_gallery/border.png) 0 0 repeat-x;}
|
30
|
+
#cboxBottomCenter{height:21px; background:url(/assets/comfy_gallery/border.png) 0 -29px repeat-x;}
|
31
|
+
#cboxContent{background:#fff; overflow:hidden;}
|
32
|
+
.cboxIframe{background:#fff;}
|
33
|
+
#cboxError{padding:50px; border:1px solid #ccc;}
|
34
|
+
#cboxLoadedContent{margin-bottom:28px;}
|
35
|
+
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36
|
+
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
37
|
+
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38
|
+
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(/assets/comfy_gallery/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39
|
+
#cboxPrevious:hover{background-position:-75px -25px;}
|
40
|
+
#cboxNext{position:absolute; bottom:0; left:27px; background:url(/assets/comfy_gallery/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41
|
+
#cboxNext:hover{background-position:-50px -25px;}
|
42
|
+
#cboxLoadingOverlay{background:url(/assets/comfy_gallery/loading_background.png) no-repeat center center;}
|
43
|
+
#cboxLoadingGraphic{background:url(/assets/comfy_gallery/loading.gif) no-repeat center center;}
|
44
|
+
#cboxClose{position:absolute; bottom:0; right:0; background:url(/assets/comfy_gallery/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45
|
+
#cboxClose:hover{background-position:-25px -25px;}
|
46
|
+
|
47
|
+
/*
|
48
|
+
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
|
49
|
+
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
|
50
|
+
See: http://jacklmoore.com/notes/ie-transparency-problems/
|
51
|
+
*/
|
52
|
+
.cboxIE #cboxTopLeft,
|
53
|
+
.cboxIE #cboxTopCenter,
|
54
|
+
.cboxIE #cboxTopRight,
|
55
|
+
.cboxIE #cboxBottomLeft,
|
56
|
+
.cboxIE #cboxBottomCenter,
|
57
|
+
.cboxIE #cboxBottomRight,
|
58
|
+
.cboxIE #cboxMiddleLeft,
|
59
|
+
.cboxIE #cboxMiddleRight {
|
60
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
61
|
+
}
|
@@ -9,22 +9,4 @@ module Gallery::ApplicationHelper
|
|
9
9
|
)
|
10
10
|
end
|
11
11
|
|
12
|
-
def render_gallery(slug, type = 'thumbnails')
|
13
|
-
@gallery = Gallery::Gallery.find_by_slug(slug)
|
14
|
-
if (@gallery)
|
15
|
-
render :partial => "gallery/#{type}"
|
16
|
-
else
|
17
|
-
render :text => 'Gallery not found', :status => 404
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
def render_galleries(type = 'list_galleries')
|
22
|
-
@galleries = Gallery::Gallery.all
|
23
|
-
if (@galleries)
|
24
|
-
render :partial => "gallery/#{type}"
|
25
|
-
else
|
26
|
-
render :text => 'Gallery not found', :status => 404
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
12
|
end
|
@@ -10,8 +10,6 @@
|
|
10
10
|
<tr>
|
11
11
|
<th> Preview </th>
|
12
12
|
<th> Name </th>
|
13
|
-
<th> URL </th>
|
14
|
-
<th> Embed Code </th>
|
15
13
|
<th> Actions </th>
|
16
14
|
</tr>
|
17
15
|
<% @galleries.each do |gallery| %>
|
@@ -24,12 +22,6 @@
|
|
24
22
|
<td class='main'>
|
25
23
|
<%= link_to gallery.title, admin_gallery_gallery_photos_path(gallery) %>
|
26
24
|
</td>
|
27
|
-
<td>
|
28
|
-
<%= link_to gallery_path(gallery), gallery_path(gallery), :target => '_blank' %>
|
29
|
-
</td>
|
30
|
-
<td class='embed'>
|
31
|
-
{{ cms:helper:render_gallery:<%= gallery.identifier %> }}
|
32
|
-
</td>
|
33
25
|
<td class='action_links'>
|
34
26
|
<%= link_to 'Show Photos', admin_gallery_gallery_photos_path(gallery) %>
|
35
27
|
<%= link_to 'Edit', edit_admin_gallery_gallery_path(gallery) %>
|
data/comfy_gallery.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "comfy_gallery"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Oleg Khabarov", "Stephen McLeod", "The Working Group Inc."]
|
12
|
-
s.date = "2012-02-
|
12
|
+
s.date = "2012-02-22"
|
13
13
|
s.description = ""
|
14
14
|
s.email = "oleg@twg.ca"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -24,74 +24,23 @@ Gem::Specification.new do |s|
|
|
24
24
|
"README.md",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
|
+
"app/assets/images/comfy_gallery/border.png",
|
28
|
+
"app/assets/images/comfy_gallery/controls.png",
|
27
29
|
"app/assets/images/comfy_gallery/jcrop.gif",
|
28
|
-
"app/assets/images/comfy_gallery/
|
29
|
-
"app/assets/images/comfy_gallery/
|
30
|
-
"app/assets/images/comfy_gallery/
|
31
|
-
"app/assets/
|
32
|
-
"app/assets/images/comfy_gallery/orbit/pause-black.png",
|
33
|
-
"app/assets/images/comfy_gallery/orbit/right-arrow.png",
|
34
|
-
"app/assets/images/comfy_gallery/orbit/rotator-black.png",
|
35
|
-
"app/assets/images/comfy_gallery/orbit/timer-black.png",
|
36
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/btnNext.png",
|
37
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/btnPrevious.png",
|
38
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/contentPattern.png",
|
39
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/default_thumbnail.gif",
|
40
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/loader.gif",
|
41
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/sprite.png",
|
42
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_square/btnNext.png",
|
43
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_square/btnPrevious.png",
|
44
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_square/contentPattern.png",
|
45
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_square/default_thumbnail.gif",
|
46
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_square/loader.gif",
|
47
|
-
"app/assets/images/comfy_gallery/prettyPhoto/dark_square/sprite.png",
|
48
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/default_thumb.png",
|
49
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/loader.gif",
|
50
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/sprite.png",
|
51
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/sprite_next.png",
|
52
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/sprite_prev.png",
|
53
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/sprite_x.png",
|
54
|
-
"app/assets/images/comfy_gallery/prettyPhoto/default/sprite_y.png",
|
55
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/btnNext.png",
|
56
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/btnPrevious.png",
|
57
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternBottom.png",
|
58
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternLeft.png",
|
59
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternRight.png",
|
60
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternTop.png",
|
61
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/default_thumbnail.gif",
|
62
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/loader.gif",
|
63
|
-
"app/assets/images/comfy_gallery/prettyPhoto/facebook/sprite.png",
|
64
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_rounded/btnNext.png",
|
65
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_rounded/btnPrevious.png",
|
66
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_rounded/default_thumbnail.gif",
|
67
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_rounded/loader.gif",
|
68
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_rounded/sprite.png",
|
69
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_square/btnNext.png",
|
70
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_square/btnPrevious.png",
|
71
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_square/default_thumbnail.gif",
|
72
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_square/loader.gif",
|
73
|
-
"app/assets/images/comfy_gallery/prettyPhoto/light_square/sprite.png",
|
74
|
-
"app/assets/javascripts/comfy_gallery/admin.js",
|
75
|
-
"app/assets/javascripts/comfy_gallery/application.js",
|
30
|
+
"app/assets/images/comfy_gallery/loading.gif",
|
31
|
+
"app/assets/images/comfy_gallery/loading_background.png",
|
32
|
+
"app/assets/images/comfy_gallery/overlay.png",
|
33
|
+
"app/assets/javascripts/comfy_gallery/jquery.colorbox.js",
|
76
34
|
"app/assets/javascripts/comfy_gallery/jquery.jcrop.js",
|
77
|
-
"app/assets/
|
78
|
-
"app/assets/javascripts/comfy_gallery/thumbnails.js",
|
79
|
-
"app/assets/stylesheets/comfy_gallery/admin.css",
|
80
|
-
"app/assets/stylesheets/comfy_gallery/application.css",
|
81
|
-
"app/assets/stylesheets/comfy_gallery/carousel.css.erb",
|
82
|
-
"app/assets/stylesheets/comfy_gallery/gallery_list.css",
|
35
|
+
"app/assets/stylesheets/comfy_gallery/colorbox.css",
|
83
36
|
"app/assets/stylesheets/comfy_gallery/jquery.jcrop.css",
|
84
|
-
"app/assets/stylesheets/comfy_gallery/reset.css",
|
85
|
-
"app/assets/stylesheets/comfy_gallery/thumbnails.css.erb",
|
86
37
|
"app/controllers/admin/gallery/base_controller.rb",
|
87
38
|
"app/controllers/admin/gallery/galleries_controller.rb",
|
88
39
|
"app/controllers/admin/gallery/photos_controller.rb",
|
89
40
|
"app/controllers/application_controller.rb",
|
90
|
-
"app/controllers/gallery/galleries_controller.rb",
|
91
41
|
"app/helpers/gallery/application_helper.rb",
|
92
42
|
"app/models/gallery/gallery.rb",
|
93
43
|
"app/models/gallery/photo.rb",
|
94
|
-
"app/views/admin/gallery/_html_head.html.erb",
|
95
44
|
"app/views/admin/gallery/_navigation.html.erb",
|
96
45
|
"app/views/admin/gallery/galleries/_form.html.erb",
|
97
46
|
"app/views/admin/gallery/galleries/edit.html.erb",
|
@@ -102,11 +51,6 @@ Gem::Specification.new do |s|
|
|
102
51
|
"app/views/admin/gallery/photos/edit.html.erb",
|
103
52
|
"app/views/admin/gallery/photos/index.html.erb",
|
104
53
|
"app/views/admin/gallery/photos/new.html.erb",
|
105
|
-
"app/views/gallery/_carousel.html.erb",
|
106
|
-
"app/views/gallery/_list_galleries.html.erb",
|
107
|
-
"app/views/gallery/_thumbnails.html.erb",
|
108
|
-
"app/views/gallery/galleries/index.html.erb",
|
109
|
-
"app/views/gallery/galleries/show.html.erb",
|
110
54
|
"app/views/layouts/gallery/application.html.erb",
|
111
55
|
"comfy_gallery.gemspec",
|
112
56
|
"config.ru",
|
@@ -138,7 +82,6 @@ Gem::Specification.new do |s|
|
|
138
82
|
"test/fixtures/gallery/photos.yml",
|
139
83
|
"test/functional/admin/gallery/galleries_controller_test.rb",
|
140
84
|
"test/functional/admin/gallery/photos_controller_test.rb",
|
141
|
-
"test/functional/gallery/galleries_controller_test.rb",
|
142
85
|
"test/test_helper.rb",
|
143
86
|
"test/unit/configuration_test.rb",
|
144
87
|
"test/unit/gallery_test.rb",
|
data/config/routes.rb
CHANGED
data/lib/comfy_gallery/engine.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfy_gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-02-
|
14
|
+
date: 2012-02-22 00:00:00.000000000Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement: &
|
18
|
+
requirement: &70340615127900 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 3.1.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70340615127900
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: paperclip
|
29
|
-
requirement: &
|
29
|
+
requirement: &70340615127020 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: 2.3.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70340615127020
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: jquery-rails
|
40
|
-
requirement: &
|
40
|
+
requirement: &70340615126300 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: 1.0.14
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70340615126300
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: sqlite3
|
51
|
-
requirement: &
|
51
|
+
requirement: &70340615125700 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: '0'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *70340615125700
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: jeweler
|
62
|
-
requirement: &
|
62
|
+
requirement: &70340615125080 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
version: '0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *70340615125080
|
71
71
|
description: ''
|
72
72
|
email: oleg@twg.ca
|
73
73
|
executables: []
|
@@ -83,74 +83,23 @@ files:
|
|
83
83
|
- README.md
|
84
84
|
- Rakefile
|
85
85
|
- VERSION
|
86
|
+
- app/assets/images/comfy_gallery/border.png
|
87
|
+
- app/assets/images/comfy_gallery/controls.png
|
86
88
|
- app/assets/images/comfy_gallery/jcrop.gif
|
87
|
-
- app/assets/images/comfy_gallery/
|
88
|
-
- app/assets/images/comfy_gallery/
|
89
|
-
- app/assets/images/comfy_gallery/
|
90
|
-
- app/assets/
|
91
|
-
- app/assets/images/comfy_gallery/orbit/pause-black.png
|
92
|
-
- app/assets/images/comfy_gallery/orbit/right-arrow.png
|
93
|
-
- app/assets/images/comfy_gallery/orbit/rotator-black.png
|
94
|
-
- app/assets/images/comfy_gallery/orbit/timer-black.png
|
95
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/btnNext.png
|
96
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/btnPrevious.png
|
97
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/contentPattern.png
|
98
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/default_thumbnail.gif
|
99
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/loader.gif
|
100
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_rounded/sprite.png
|
101
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_square/btnNext.png
|
102
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_square/btnPrevious.png
|
103
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_square/contentPattern.png
|
104
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_square/default_thumbnail.gif
|
105
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_square/loader.gif
|
106
|
-
- app/assets/images/comfy_gallery/prettyPhoto/dark_square/sprite.png
|
107
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/default_thumb.png
|
108
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/loader.gif
|
109
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/sprite.png
|
110
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/sprite_next.png
|
111
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/sprite_prev.png
|
112
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/sprite_x.png
|
113
|
-
- app/assets/images/comfy_gallery/prettyPhoto/default/sprite_y.png
|
114
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/btnNext.png
|
115
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/btnPrevious.png
|
116
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternBottom.png
|
117
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternLeft.png
|
118
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternRight.png
|
119
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/contentPatternTop.png
|
120
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/default_thumbnail.gif
|
121
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/loader.gif
|
122
|
-
- app/assets/images/comfy_gallery/prettyPhoto/facebook/sprite.png
|
123
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_rounded/btnNext.png
|
124
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_rounded/btnPrevious.png
|
125
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_rounded/default_thumbnail.gif
|
126
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_rounded/loader.gif
|
127
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_rounded/sprite.png
|
128
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_square/btnNext.png
|
129
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_square/btnPrevious.png
|
130
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_square/default_thumbnail.gif
|
131
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_square/loader.gif
|
132
|
-
- app/assets/images/comfy_gallery/prettyPhoto/light_square/sprite.png
|
133
|
-
- app/assets/javascripts/comfy_gallery/admin.js
|
134
|
-
- app/assets/javascripts/comfy_gallery/application.js
|
89
|
+
- app/assets/images/comfy_gallery/loading.gif
|
90
|
+
- app/assets/images/comfy_gallery/loading_background.png
|
91
|
+
- app/assets/images/comfy_gallery/overlay.png
|
92
|
+
- app/assets/javascripts/comfy_gallery/jquery.colorbox.js
|
135
93
|
- app/assets/javascripts/comfy_gallery/jquery.jcrop.js
|
136
|
-
- app/assets/
|
137
|
-
- app/assets/javascripts/comfy_gallery/thumbnails.js
|
138
|
-
- app/assets/stylesheets/comfy_gallery/admin.css
|
139
|
-
- app/assets/stylesheets/comfy_gallery/application.css
|
140
|
-
- app/assets/stylesheets/comfy_gallery/carousel.css.erb
|
141
|
-
- app/assets/stylesheets/comfy_gallery/gallery_list.css
|
94
|
+
- app/assets/stylesheets/comfy_gallery/colorbox.css
|
142
95
|
- app/assets/stylesheets/comfy_gallery/jquery.jcrop.css
|
143
|
-
- app/assets/stylesheets/comfy_gallery/reset.css
|
144
|
-
- app/assets/stylesheets/comfy_gallery/thumbnails.css.erb
|
145
96
|
- app/controllers/admin/gallery/base_controller.rb
|
146
97
|
- app/controllers/admin/gallery/galleries_controller.rb
|
147
98
|
- app/controllers/admin/gallery/photos_controller.rb
|
148
99
|
- app/controllers/application_controller.rb
|
149
|
-
- app/controllers/gallery/galleries_controller.rb
|
150
100
|
- app/helpers/gallery/application_helper.rb
|
151
101
|
- app/models/gallery/gallery.rb
|
152
102
|
- app/models/gallery/photo.rb
|
153
|
-
- app/views/admin/gallery/_html_head.html.erb
|
154
103
|
- app/views/admin/gallery/_navigation.html.erb
|
155
104
|
- app/views/admin/gallery/galleries/_form.html.erb
|
156
105
|
- app/views/admin/gallery/galleries/edit.html.erb
|
@@ -161,11 +110,6 @@ files:
|
|
161
110
|
- app/views/admin/gallery/photos/edit.html.erb
|
162
111
|
- app/views/admin/gallery/photos/index.html.erb
|
163
112
|
- app/views/admin/gallery/photos/new.html.erb
|
164
|
-
- app/views/gallery/_carousel.html.erb
|
165
|
-
- app/views/gallery/_list_galleries.html.erb
|
166
|
-
- app/views/gallery/_thumbnails.html.erb
|
167
|
-
- app/views/gallery/galleries/index.html.erb
|
168
|
-
- app/views/gallery/galleries/show.html.erb
|
169
113
|
- app/views/layouts/gallery/application.html.erb
|
170
114
|
- comfy_gallery.gemspec
|
171
115
|
- config.ru
|
@@ -197,7 +141,6 @@ files:
|
|
197
141
|
- test/fixtures/gallery/photos.yml
|
198
142
|
- test/functional/admin/gallery/galleries_controller_test.rb
|
199
143
|
- test/functional/admin/gallery/photos_controller_test.rb
|
200
|
-
- test/functional/gallery/galleries_controller_test.rb
|
201
144
|
- test/test_helper.rb
|
202
145
|
- test/unit/configuration_test.rb
|
203
146
|
- test/unit/gallery_test.rb
|
@@ -217,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
217
160
|
version: '0'
|
218
161
|
segments:
|
219
162
|
- 0
|
220
|
-
hash: -
|
163
|
+
hash: -2844457145724189053
|
221
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
165
|
none: false
|
223
166
|
requirements:
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|