typus 0.9.18 → 0.9.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/README.rdoc +50 -1
  2. data/VERSION +1 -1
  3. data/app/helpers/admin/table_helper.rb +40 -40
  4. data/generators/typus/templates/config/initializers/typus.rb +1 -1
  5. data/generators/typus/templates/config/typus/README +0 -1
  6. data/generators/typus/templates/config/typus/typus.yml +1 -3
  7. data/generators/typus/templates/public/images/admin/fancyzoom/bl.gif +0 -0
  8. data/generators/typus/templates/public/images/admin/fancyzoom/bl.png +0 -0
  9. data/generators/typus/templates/public/images/admin/fancyzoom/bm.gif +0 -0
  10. data/generators/typus/templates/public/images/admin/fancyzoom/bm.png +0 -0
  11. data/generators/typus/templates/public/images/admin/fancyzoom/br.gif +0 -0
  12. data/generators/typus/templates/public/images/admin/fancyzoom/br.png +0 -0
  13. data/generators/typus/templates/public/images/admin/fancyzoom/closebox.gif +0 -0
  14. data/generators/typus/templates/public/images/admin/fancyzoom/closebox.png +0 -0
  15. data/generators/typus/templates/public/images/admin/fancyzoom/ml.gif +0 -0
  16. data/generators/typus/templates/public/images/admin/fancyzoom/ml.png +0 -0
  17. data/generators/typus/templates/public/images/admin/fancyzoom/mr.gif +0 -0
  18. data/generators/typus/templates/public/images/admin/fancyzoom/mr.png +0 -0
  19. data/generators/typus/templates/public/images/admin/fancyzoom/tl.gif +0 -0
  20. data/generators/typus/templates/public/images/admin/fancyzoom/tl.png +0 -0
  21. data/generators/typus/templates/public/images/admin/fancyzoom/tm.gif +0 -0
  22. data/generators/typus/templates/public/images/admin/fancyzoom/tm.png +0 -0
  23. data/generators/typus/templates/public/images/admin/fancyzoom/tr.gif +0 -0
  24. data/generators/typus/templates/public/images/admin/fancyzoom/tr.png +0 -0
  25. data/generators/typus/templates/public/images/admin/ui-icons.png +0 -0
  26. data/generators/typus/templates/public/javascripts/admin/builder.js +136 -0
  27. data/generators/typus/templates/public/javascripts/admin/controls.js +963 -0
  28. data/generators/typus/templates/public/javascripts/admin/dragdrop.js +973 -0
  29. data/generators/typus/templates/public/javascripts/admin/effects.js +1128 -0
  30. data/generators/typus/templates/public/javascripts/admin/fancyzoom.js +221 -0
  31. data/generators/typus/templates/public/javascripts/admin/prototype.js +4320 -0
  32. data/generators/typus/templates/public/javascripts/admin/scriptaculous.js +58 -0
  33. data/generators/typus/templates/public/javascripts/admin/slider.js +275 -0
  34. data/generators/typus/templates/public/javascripts/admin/sound.js +55 -0
  35. data/generators/typus/templates/public/stylesheets/admin/screen.css +163 -524
  36. data/generators/typus/typus_generator.rb +10 -4
  37. data/generators/typus_update_schema_to_01/templates/config/typus.yml +1 -3
  38. data/lib/typus/configuration.rb +1 -1
  39. data/lib/typus/generator.rb +9 -9
  40. data/lib/typus/preview.rb +13 -0
  41. data/lib/typus.rb +1 -0
  42. data/test/config/default/typus.yml +1 -3
  43. data/test/config/working/typus.yml +1 -3
  44. data/test/functional/admin/comments_controller_test.rb +2 -2
  45. data/test/helpers/admin/form_helper_test.rb +2 -2
  46. data/test/helpers/admin/table_helper_test.rb +14 -14
  47. data/test/lib/configuration_test.rb +1 -1
  48. data/typus.gemspec +31 -8
  49. metadata +31 -8
  50. data/generators/typus/templates/public/images/admin/arrow_down.gif +0 -0
  51. data/generators/typus/templates/public/images/admin/arrow_up.gif +0 -0
  52. data/generators/typus/templates/public/images/admin/spinner.gif +0 -0
  53. data/generators/typus/templates/public/images/admin/status_false.gif +0 -0
  54. data/generators/typus/templates/public/images/admin/status_true.gif +0 -0
  55. data/generators/typus/templates/public/images/admin/trash.gif +0 -0
@@ -99,17 +99,23 @@ class TypusGenerator < Rails::Generator::Base
99
99
 
100
100
  [ 'public/stylesheets/admin',
101
101
  'public/javascripts/admin',
102
- 'public/images/admin' ].each { |f| Dir.mkdir(f) unless File.directory?(f) }
102
+ 'public/images/admin',
103
+ 'public/images/admin/fancyzoom' ].each { |f| Dir.mkdir(f) unless File.directory?(f) }
103
104
 
104
105
  [ 'public/stylesheets/admin/screen.css',
105
106
  'public/stylesheets/admin/reset.css',
106
- 'public/javascripts/admin/application.js' ].each { |f| m.file f, f }
107
+ 'public/images/admin/ui-icons.png' ].each { |f| m.file f, f }
107
108
 
108
- Dir["#{Typus.root}/generators/typus/templates/public/images/admin/*"].each do |f|
109
- file = "public/images/admin/#{File.basename(f)}"
109
+ %w( application builder controls dragdrop effects fancyzoom prototype scriptaculous slider sound ).each do |f|
110
+ file = "public/javascripts/admin/#{f}.js"
110
111
  m.file file, file
111
112
  end
112
113
 
114
+ %w( bl bm br closebox ml mr tl tm tr ).each do |image|
115
+ file = "public/images/admin/fancyzoom/#{image}"
116
+ %w( gif png ).each { |e| m.file "#{file}.#{e}", "#{file}.#{e}" }
117
+ end
118
+
113
119
  # Migration file
114
120
 
115
121
  m.migration_template 'db/create_typus_users.rb', 'db/migrate',
@@ -9,6 +9,4 @@ TypusUser:
9
9
  filters: status, role
10
10
  search: first_name, last_name, email, role
11
11
  application: Typus
12
- description: System Users Administration
13
- options:
14
- icon_on_boolean: false
12
+ description: System Users Administration
@@ -6,6 +6,7 @@ module Typus
6
6
  typus_options = { :app_name => 'Typus',
7
7
  :config_folder => 'config/typus',
8
8
  :email => 'admin@example.com',
9
+ :image_preview_size => 'typus',
9
10
  :locales => [ [ "English", :en ] ],
10
11
  :recover_password => false,
11
12
  :root => 'admin',
@@ -18,7 +19,6 @@ module Typus
18
19
  model_options = { :default_action_on_item => 'edit',
19
20
  :end_year => nil,
20
21
  :form_rows => 10,
21
- :icon_on_boolean => true,
22
22
  :index_after_save => false,
23
23
  :minute_step => 5,
24
24
  :nil => 'nil',
@@ -4,17 +4,13 @@ module Typus
4
4
 
5
5
  def self.generator
6
6
 
7
- # Create app/controllers/admin if doesn't exist.
7
+ # Create needed folders if doesn't exist.
8
8
  admin_controllers_folder = "#{Rails.root}/app/controllers/admin"
9
- Dir.mkdir(admin_controllers_folder) unless File.directory?(admin_controllers_folder)
10
-
11
- # Get a list of controllers under `app/controllers/admin`.
12
- admin_controllers = Dir["#{Rails.root}/vendor/plugins/*/app/controllers/admin/*.rb", "#{admin_controllers_folder}/*.rb"]
13
- admin_controllers = admin_controllers.map { |i| File.basename(i) }
14
-
15
- # Create app/views/admin if doesn't exist.
16
9
  admin_views_folder = "#{Rails.root}/app/views/admin"
17
- Dir.mkdir(admin_views_folder) unless File.directory?(admin_views_folder)
10
+
11
+ [ admin_controllers_folder, admin_views_folder ].each do |folder|
12
+ Dir.mkdir(folder) unless File.directory?(folder)
13
+ end
18
14
 
19
15
  # Create test/functional/admin if doesn't exist.
20
16
  admin_controller_tests_folder = "#{Rails.root}/test/functional/admin"
@@ -22,6 +18,10 @@ module Typus
22
18
  Dir.mkdir(admin_controller_tests_folder) unless File.directory?(admin_controller_tests_folder)
23
19
  end
24
20
 
21
+ # Get a list of controllers under `app/controllers/admin`.
22
+ admin_controllers = Dir["#{Rails.root}/vendor/plugins/*/app/controllers/admin/*.rb", "#{admin_controllers_folder}/*.rb"]
23
+ admin_controllers = admin_controllers.map { |i| File.basename(i) }
24
+
25
25
  # Get a list of functional tests under `test/functional/admin`.
26
26
  admin_controller_tests = Dir["#{admin_controller_tests_folder}/*.rb"]
27
27
  admin_controller_tests = admin_controller_tests.map { |i| File.basename(i) }
@@ -0,0 +1,13 @@
1
+ module Typus
2
+
3
+ module InstanceMethods
4
+
5
+ def typus_preview
6
+ return "<img src=\"#{asset.url(Typus::Configuration.options[:image_preview_size])}\" />"
7
+ end
8
+
9
+ end
10
+
11
+ end
12
+
13
+ ActiveRecord::Base.send :include, Typus::InstanceMethods
data/lib/typus.rb CHANGED
@@ -104,6 +104,7 @@ module Typus
104
104
  require 'typus/format'
105
105
  require 'typus/generator'
106
106
  require 'typus/locale'
107
+ require 'typus/preview'
107
108
  require 'typus/reloader'
108
109
  require 'typus/quick_edit'
109
110
  require 'typus/user'
@@ -9,6 +9,4 @@ TypusUser:
9
9
  filters: status, role
10
10
  search: first_name, last_name, email, role
11
11
  application: Typus
12
- description: System Users Administration
13
- options:
14
- icon_on_boolean: false
12
+ description: System Users Administration
@@ -9,6 +9,4 @@ TypusUser:
9
9
  filters: status, role
10
10
  search: first_name, last_name, email, role
11
11
  application: Typus
12
- description: System Users Administration
13
- options:
14
- icon_on_boolean: false
12
+ description: System Users Administration
@@ -75,7 +75,7 @@ class Admin::CommentsControllerTest < ActionController::TestCase
75
75
  def test_should_show_trash_item_image_and_link_in_index
76
76
  get :index
77
77
  assert_response :success
78
- assert_match /trash.gif/, @response.body
78
+ assert_match /Trash/, @response.body
79
79
  end
80
80
 
81
81
  def test_should_not_show_remove_item_link_in_index
@@ -85,7 +85,7 @@ class Admin::CommentsControllerTest < ActionController::TestCase
85
85
 
86
86
  get :index
87
87
  assert_response :success
88
- assert_no_match /trash.gif/, @response.body
88
+ assert_no_match /Trash/, @response.body
89
89
 
90
90
  end
91
91
 
@@ -72,8 +72,8 @@ class Admin::FormHelperTest < ActiveSupport::TestCase
72
72
  output = typus_boolean_field('test')
73
73
 
74
74
  expected = <<-HTML
75
- <li><label for="item_test">Test</label>
76
- <input name="item[test]" type="hidden" value="0" /><input id="item_test" name="item[test]" type="checkbox" value="1" /> Checked if active</li>
75
+ <li><label>Test</label>
76
+ <input name="item[test]" type="hidden" value="0" /><input id="item_test" name="item[test]" type="checkbox" value="1" /> <label class=\"inline_label\" for=\"item_test\">Checked if active</label></li>
77
77
  HTML
78
78
 
79
79
  assert_equal expected, output
@@ -24,9 +24,9 @@ class Admin::TableHelperTest < ActiveSupport::TestCase
24
24
  output = typus_table_header(TypusUser, fields)
25
25
  expected = <<-HTML
26
26
  <tr>
27
- <th><a href="http://test.host/admin/typus_users?order_by=email"><div class="">Email</div></a></th>
28
- <th><a href="http://test.host/admin/typus_users?order_by=role"><div class="">Role</div></a></th>
29
- <th><a href="http://test.host/admin/typus_users?order_by=status"><div class="">Status</div></a></th>
27
+ <th><a href="http://test.host/admin/typus_users?order_by=email">Email </a></th>
28
+ <th><a href="http://test.host/admin/typus_users?order_by=role">Role </a></th>
29
+ <th><a href="http://test.host/admin/typus_users?order_by=status">Status </a></th>
30
30
  <th>&nbsp;</th>
31
31
  </tr>
32
32
  HTML
@@ -48,9 +48,9 @@ class Admin::TableHelperTest < ActiveSupport::TestCase
48
48
  output = typus_table_header(TypusUser, fields)
49
49
  expected = <<-HTML
50
50
  <tr>
51
- <th><a href="http://test.host/admin/typus_users?order_by=email&search=admin"><div class="">Email</div></a></th>
52
- <th><a href="http://test.host/admin/typus_users?order_by=role&search=admin"><div class="">Role</div></a></th>
53
- <th><a href="http://test.host/admin/typus_users?order_by=status&search=admin"><div class="">Status</div></a></th>
51
+ <th><a href="http://test.host/admin/typus_users?order_by=email&search=admin">Email </a></th>
52
+ <th><a href="http://test.host/admin/typus_users?order_by=role&search=admin">Role </a></th>
53
+ <th><a href="http://test.host/admin/typus_users?order_by=status&search=admin">Status </a></th>
54
54
  <th>&nbsp;</th>
55
55
  </tr>
56
56
  HTML
@@ -72,9 +72,9 @@ class Admin::TableHelperTest < ActiveSupport::TestCase
72
72
  output = typus_table_header(TypusUser, fields)
73
73
  expected = <<-HTML
74
74
  <tr>
75
- <th><a href="http://test.host/admin/typus_users?order_by=email"><div class="">Email</div></a></th>
76
- <th><a href="http://test.host/admin/typus_users?order_by=role"><div class="">Role</div></a></th>
77
- <th><a href="http://test.host/admin/typus_users?order_by=status"><div class="">Status</div></a></th>
75
+ <th><a href="http://test.host/admin/typus_users?order_by=email">Email </a></th>
76
+ <th><a href="http://test.host/admin/typus_users?order_by=role">Role </a></th>
77
+ <th><a href="http://test.host/admin/typus_users?order_by=status">Status </a></th>
78
78
  </tr>
79
79
  HTML
80
80
 
@@ -95,9 +95,9 @@ class Admin::TableHelperTest < ActiveSupport::TestCase
95
95
  output = typus_table_header(TypusUser, fields)
96
96
  expected = <<-HTML
97
97
  <tr>
98
- <th><a href="http://test.host/admin/typus_users?order_by=email&search=admin"><div class="">Email</div></a></th>
99
- <th><a href="http://test.host/admin/typus_users?order_by=role&search=admin"><div class="">Role</div></a></th>
100
- <th><a href="http://test.host/admin/typus_users?order_by=status&search=admin"><div class="">Status</div></a></th>
98
+ <th><a href="http://test.host/admin/typus_users?order_by=email&search=admin">Email </a></th>
99
+ <th><a href="http://test.host/admin/typus_users?order_by=role&search=admin">Role </a></th>
100
+ <th><a href="http://test.host/admin/typus_users?order_by=status&search=admin">Status </a></th>
101
101
  </tr>
102
102
  HTML
103
103
 
@@ -156,7 +156,7 @@ class Admin::TableHelperTest < ActiveSupport::TestCase
156
156
  post = posts(:published)
157
157
  output = typus_table_string_field(:title, post, :title)
158
158
  expected = <<-HTML
159
- <td><a href="http://test.host/admin/posts/edit/#{post.id}">#{post.title}</a></td>
159
+ <td>#{post.title}</td>
160
160
  HTML
161
161
 
162
162
  assert_equal expected, output
@@ -215,7 +215,7 @@ class Admin::TableHelperTest < ActiveSupport::TestCase
215
215
 
216
216
  def test_typus_table_boolean_field
217
217
 
218
- options = { :icon_on_boolean => false, :toggle => false }
218
+ options = { :toggle => false }
219
219
  Typus::Configuration.stubs(:options).returns(options)
220
220
 
221
221
  post = posts(:published)
@@ -12,6 +12,7 @@ class ConfigurationTest < ActiveSupport::TestCase
12
12
  assert_equal 'Typus', Typus::Configuration.options[:app_name]
13
13
  assert_equal 'vendor/plugins/typus/test/config/working', Typus::Configuration.options[:config_folder]
14
14
  assert_equal 'admin@example.com', Typus::Configuration.options[:email]
15
+ assert_equal 'typus', Typus::Configuration.options[:image_preview_size]
15
16
  assert_equal [ [ "English", :en] ], Typus::Configuration.options[:locales]
16
17
  assert_equal false, Typus::Configuration.options[:recover_password]
17
18
  assert_equal 'admin', Typus::Configuration.options[:root]
@@ -27,7 +28,6 @@ class ConfigurationTest < ActiveSupport::TestCase
27
28
  assert_equal 'edit', Typus::Configuration.options[:default_action_on_item]
28
29
  assert_nil Typus::Configuration.options[:end_year]
29
30
  assert_equal 10, Typus::Configuration.options[:form_rows]
30
- assert_equal true, Typus::Configuration.options[:icon_on_boolean]
31
31
  assert_equal false, Typus::Configuration.options[:index_after_save]
32
32
  assert_equal 5, Typus::Configuration.options[:minute_step]
33
33
  assert_equal 'nil', Typus::Configuration.options[:nil]
data/typus.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{typus}
8
- s.version = "0.9.18"
8
+ s.version = "0.9.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Francesc Esplugas"]
12
- s.date = %q{2009-08-21}
12
+ s.date = %q{2009-08-25}
13
13
  s.description = %q{Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator.)}
14
14
  s.email = %q{francesc@intraducibles.com}
15
15
  s.extra_rdoc_files = [
@@ -59,13 +59,35 @@ Gem::Specification.new do |s|
59
59
  "generators/typus/templates/config/typus/typus.yml",
60
60
  "generators/typus/templates/config/typus/typus_roles.yml",
61
61
  "generators/typus/templates/db/create_typus_users.rb",
62
- "generators/typus/templates/public/images/admin/arrow_down.gif",
63
- "generators/typus/templates/public/images/admin/arrow_up.gif",
64
- "generators/typus/templates/public/images/admin/spinner.gif",
65
- "generators/typus/templates/public/images/admin/status_false.gif",
66
- "generators/typus/templates/public/images/admin/status_true.gif",
67
- "generators/typus/templates/public/images/admin/trash.gif",
62
+ "generators/typus/templates/public/images/admin/fancyzoom/bl.gif",
63
+ "generators/typus/templates/public/images/admin/fancyzoom/bl.png",
64
+ "generators/typus/templates/public/images/admin/fancyzoom/bm.gif",
65
+ "generators/typus/templates/public/images/admin/fancyzoom/bm.png",
66
+ "generators/typus/templates/public/images/admin/fancyzoom/br.gif",
67
+ "generators/typus/templates/public/images/admin/fancyzoom/br.png",
68
+ "generators/typus/templates/public/images/admin/fancyzoom/closebox.gif",
69
+ "generators/typus/templates/public/images/admin/fancyzoom/closebox.png",
70
+ "generators/typus/templates/public/images/admin/fancyzoom/ml.gif",
71
+ "generators/typus/templates/public/images/admin/fancyzoom/ml.png",
72
+ "generators/typus/templates/public/images/admin/fancyzoom/mr.gif",
73
+ "generators/typus/templates/public/images/admin/fancyzoom/mr.png",
74
+ "generators/typus/templates/public/images/admin/fancyzoom/tl.gif",
75
+ "generators/typus/templates/public/images/admin/fancyzoom/tl.png",
76
+ "generators/typus/templates/public/images/admin/fancyzoom/tm.gif",
77
+ "generators/typus/templates/public/images/admin/fancyzoom/tm.png",
78
+ "generators/typus/templates/public/images/admin/fancyzoom/tr.gif",
79
+ "generators/typus/templates/public/images/admin/fancyzoom/tr.png",
80
+ "generators/typus/templates/public/images/admin/ui-icons.png",
68
81
  "generators/typus/templates/public/javascripts/admin/application.js",
82
+ "generators/typus/templates/public/javascripts/admin/builder.js",
83
+ "generators/typus/templates/public/javascripts/admin/controls.js",
84
+ "generators/typus/templates/public/javascripts/admin/dragdrop.js",
85
+ "generators/typus/templates/public/javascripts/admin/effects.js",
86
+ "generators/typus/templates/public/javascripts/admin/fancyzoom.js",
87
+ "generators/typus/templates/public/javascripts/admin/prototype.js",
88
+ "generators/typus/templates/public/javascripts/admin/scriptaculous.js",
89
+ "generators/typus/templates/public/javascripts/admin/slider.js",
90
+ "generators/typus/templates/public/javascripts/admin/sound.js",
69
91
  "generators/typus/templates/public/stylesheets/admin/reset.css",
70
92
  "generators/typus/templates/public/stylesheets/admin/screen.css",
71
93
  "generators/typus/typus_generator.rb",
@@ -83,6 +105,7 @@ Gem::Specification.new do |s|
83
105
  "lib/typus/hash.rb",
84
106
  "lib/typus/locale.rb",
85
107
  "lib/typus/object.rb",
108
+ "lib/typus/preview.rb",
86
109
  "lib/typus/quick_edit.rb",
87
110
  "lib/typus/reloader.rb",
88
111
  "lib/typus/string.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.18
4
+ version: 0.9.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesc Esplugas
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-21 00:00:00 +02:00
12
+ date: 2009-08-25 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -65,13 +65,35 @@ files:
65
65
  - generators/typus/templates/config/typus/typus.yml
66
66
  - generators/typus/templates/config/typus/typus_roles.yml
67
67
  - generators/typus/templates/db/create_typus_users.rb
68
- - generators/typus/templates/public/images/admin/arrow_down.gif
69
- - generators/typus/templates/public/images/admin/arrow_up.gif
70
- - generators/typus/templates/public/images/admin/spinner.gif
71
- - generators/typus/templates/public/images/admin/status_false.gif
72
- - generators/typus/templates/public/images/admin/status_true.gif
73
- - generators/typus/templates/public/images/admin/trash.gif
68
+ - generators/typus/templates/public/images/admin/fancyzoom/bl.gif
69
+ - generators/typus/templates/public/images/admin/fancyzoom/bl.png
70
+ - generators/typus/templates/public/images/admin/fancyzoom/bm.gif
71
+ - generators/typus/templates/public/images/admin/fancyzoom/bm.png
72
+ - generators/typus/templates/public/images/admin/fancyzoom/br.gif
73
+ - generators/typus/templates/public/images/admin/fancyzoom/br.png
74
+ - generators/typus/templates/public/images/admin/fancyzoom/closebox.gif
75
+ - generators/typus/templates/public/images/admin/fancyzoom/closebox.png
76
+ - generators/typus/templates/public/images/admin/fancyzoom/ml.gif
77
+ - generators/typus/templates/public/images/admin/fancyzoom/ml.png
78
+ - generators/typus/templates/public/images/admin/fancyzoom/mr.gif
79
+ - generators/typus/templates/public/images/admin/fancyzoom/mr.png
80
+ - generators/typus/templates/public/images/admin/fancyzoom/tl.gif
81
+ - generators/typus/templates/public/images/admin/fancyzoom/tl.png
82
+ - generators/typus/templates/public/images/admin/fancyzoom/tm.gif
83
+ - generators/typus/templates/public/images/admin/fancyzoom/tm.png
84
+ - generators/typus/templates/public/images/admin/fancyzoom/tr.gif
85
+ - generators/typus/templates/public/images/admin/fancyzoom/tr.png
86
+ - generators/typus/templates/public/images/admin/ui-icons.png
74
87
  - generators/typus/templates/public/javascripts/admin/application.js
88
+ - generators/typus/templates/public/javascripts/admin/builder.js
89
+ - generators/typus/templates/public/javascripts/admin/controls.js
90
+ - generators/typus/templates/public/javascripts/admin/dragdrop.js
91
+ - generators/typus/templates/public/javascripts/admin/effects.js
92
+ - generators/typus/templates/public/javascripts/admin/fancyzoom.js
93
+ - generators/typus/templates/public/javascripts/admin/prototype.js
94
+ - generators/typus/templates/public/javascripts/admin/scriptaculous.js
95
+ - generators/typus/templates/public/javascripts/admin/slider.js
96
+ - generators/typus/templates/public/javascripts/admin/sound.js
75
97
  - generators/typus/templates/public/stylesheets/admin/reset.css
76
98
  - generators/typus/templates/public/stylesheets/admin/screen.css
77
99
  - generators/typus/typus_generator.rb
@@ -89,6 +111,7 @@ files:
89
111
  - lib/typus/hash.rb
90
112
  - lib/typus/locale.rb
91
113
  - lib/typus/object.rb
114
+ - lib/typus/preview.rb
92
115
  - lib/typus/quick_edit.rb
93
116
  - lib/typus/reloader.rb
94
117
  - lib/typus/string.rb