noodall-ui 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,14 @@
1
1
  <%= render 'menu' %>
2
- <h2>Choose Image Size</h2>
3
2
 
3
+ <h2>Choose Image Size</h2>
4
4
  <div id="image-choices">
5
-
6
5
  <div class="choice small" title="Small">
7
- <%= link_to image_tag( @asset.url('110x110', @asset.web_image_extension), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url('800x600', @asset.web_image_extension), :class => 'lightbox', :title => @asset.title %>
6
+ <%= image_tag @asset.url('110x110', @asset.web_image_extension), :title => @asset.description, :alt => @asset.description, 'data-url' => @asset.url('800x600', @asset.web_image_extension), :id => "asset-#{@asset.id}", :class => "fancy" %>
8
7
  </div>
9
-
10
8
  <div class="choice medium" title="Medium">
11
- <%= link_to image_tag( @asset.url('220x220', @asset.web_image_extension), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url('800x600', @asset.web_image_extension), :class => 'lightbox', :title => @asset.title %>
9
+ <%= image_tag @asset.url('200x200', @asset.web_image_extension), :title => @asset.description, :alt => @asset.description, 'data-url' => @asset.url('800x600', @asset.web_image_extension), :id => "asset-#{@asset.id}", :class => "fancy" %>
12
10
  </div>
13
-
14
11
  <div class="choice large" title="Large">
15
- <%= link_to image_tag( @asset.url('460x', @asset.web_image_extension), :alt => @asset.description, :id => "asset-#{@asset.id}" ), @asset.url('800x600', @asset.web_image_extension), :class => 'lightbox', :title => @asset.title %>
12
+ <%= image_tag @asset.url('460x', @asset.web_image_extension), :title => @asset.description, :alt => @asset.description, 'data-url' => @asset.url('800x600', @asset.web_image_extension), :id => "asset-#{@asset.id}", :class => "fancy" %>
16
13
  </div>
17
- </div>
14
+ </div>
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -296,7 +296,7 @@ form#uploader {
296
296
  #asset-browser div.large {
297
297
  background-position: -472px;
298
298
  }
299
- #asset-browser div.choice a {
299
+ #asset-browser div.choice * {
300
300
  display: none;
301
301
  }
302
302
  /* PAGINATION */
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-ui
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve England
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-23 00:00:00 +00:00
18
+ date: 2011-02-24 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency