window_rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +0 -0
- data/LICENSE +44 -0
- data/README.rdoc +68 -0
- data/app/controllers/window_rails_controller.rb +32 -0
- data/files/javascripts/debug.js +137 -0
- data/files/javascripts/extended_debug.js +113 -0
- data/files/javascripts/tooltip.js +241 -0
- data/files/javascripts/window.js +1872 -0
- data/files/javascripts/window_effects.js +157 -0
- data/files/javascripts/window_ext.js +115 -0
- data/files/themes/alert.css +119 -0
- data/files/themes/alert/bottom.gif +0 -0
- data/files/themes/alert/bottom_left.gif +0 -0
- data/files/themes/alert/bottom_right.gif +0 -0
- data/files/themes/alert/left.gif +0 -0
- data/files/themes/alert/overlay.png +0 -0
- data/files/themes/alert/progress.gif +0 -0
- data/files/themes/alert/right.gif +0 -0
- data/files/themes/alert/top.gif +0 -0
- data/files/themes/alert/top_left.gif +0 -0
- data/files/themes/alert/top_right.gif +0 -0
- data/files/themes/alert_lite.css +88 -0
- data/files/themes/alphacube.css +150 -0
- data/files/themes/alphacube/bottom-left-c.gif +0 -0
- data/files/themes/alphacube/bottom-middle.gif +0 -0
- data/files/themes/alphacube/bottom-right-c.gif +0 -0
- data/files/themes/alphacube/button-close-focus.gif +0 -0
- data/files/themes/alphacube/button-max-focus.gif +0 -0
- data/files/themes/alphacube/button-min-focus.gif +0 -0
- data/files/themes/alphacube/frame-left.gif +0 -0
- data/files/themes/alphacube/frame-right.gif +0 -0
- data/files/themes/alphacube/left-top.gif +0 -0
- data/files/themes/alphacube/right-top.gif +0 -0
- data/files/themes/alphacube/top-middle.gif +0 -0
- data/files/themes/behavior.htc +51 -0
- data/files/themes/darkX.css +121 -0
- data/files/themes/darkX/button-close-focused.png +0 -0
- data/files/themes/darkX/button-maximize-focused.png +0 -0
- data/files/themes/darkX/button-minimize-focused.png +0 -0
- data/files/themes/darkX/frame-bottom-left-focused.png +0 -0
- data/files/themes/darkX/frame-bottom-mid-focused.png +0 -0
- data/files/themes/darkX/frame-bottom-right-focused.png +0 -0
- data/files/themes/darkX/frame-left-focused.png +0 -0
- data/files/themes/darkX/frame-right-focused.png +0 -0
- data/files/themes/darkX/titlebar-left-focused.png +0 -0
- data/files/themes/darkX/titlebar-mid-focused.png +0 -0
- data/files/themes/darkX/titlebar-right-focused.png +0 -0
- data/files/themes/debug.css +25 -0
- data/files/themes/default.css +155 -0
- data/files/themes/default/bottom_left.gif +0 -0
- data/files/themes/default/bottom_mid.gif +0 -0
- data/files/themes/default/bottom_right.gif +0 -0
- data/files/themes/default/bottom_right_resize.gif +0 -0
- data/files/themes/default/center_left.gif +0 -0
- data/files/themes/default/center_right.gif +0 -0
- data/files/themes/default/clear.gif +0 -0
- data/files/themes/default/close.gif +0 -0
- data/files/themes/default/inspect.gif +0 -0
- data/files/themes/default/maximize.gif +0 -0
- data/files/themes/default/minimize.gif +0 -0
- data/files/themes/default/overlay.png +0 -0
- data/files/themes/default/resize.gif +0 -0
- data/files/themes/default/sizer.gif +0 -0
- data/files/themes/default/top_left.gif +0 -0
- data/files/themes/default/top_mid.gif +0 -0
- data/files/themes/default/top_right.gif +0 -0
- data/files/themes/iefix/blank.gif +0 -0
- data/files/themes/iefix/iepngfix.css +3 -0
- data/files/themes/iefix/iepngfix.htc +54 -0
- data/files/themes/lighting.css +960 -0
- data/files/themes/lighting/background_buttons.gif +0 -0
- data/files/themes/lighting/bottom-left-blue.png +0 -0
- data/files/themes/lighting/bottom-left-darkblue.png +0 -0
- data/files/themes/lighting/bottom-left-green.png +0 -0
- data/files/themes/lighting/bottom-left-grey.png +0 -0
- data/files/themes/lighting/bottom-middle-blue.png +0 -0
- data/files/themes/lighting/bottom-middle-darkblue.png +0 -0
- data/files/themes/lighting/bottom-middle-green.png +0 -0
- data/files/themes/lighting/bottom-middle-grey.png +0 -0
- data/files/themes/lighting/bottom-right-blue.png +0 -0
- data/files/themes/lighting/bottom-right-darkblue.png +0 -0
- data/files/themes/lighting/bottom-right-green.png +0 -0
- data/files/themes/lighting/bottom-right-grey.png +0 -0
- data/files/themes/lighting/button-close-blue.png +0 -0
- data/files/themes/lighting/button-close-darkblue.png +0 -0
- data/files/themes/lighting/button-close-green.png +0 -0
- data/files/themes/lighting/button-close-grey.png +0 -0
- data/files/themes/lighting/button-maximize-blue.png +0 -0
- data/files/themes/lighting/button-maximize-darkblue.png +0 -0
- data/files/themes/lighting/button-maximize-green.png +0 -0
- data/files/themes/lighting/button-maximize-grey.png +0 -0
- data/files/themes/lighting/button-minimize-blue.png +0 -0
- data/files/themes/lighting/button-minimize-darkblue.png +0 -0
- data/files/themes/lighting/button-minimize-green.png +0 -0
- data/files/themes/lighting/button-minimize-grey.png +0 -0
- data/files/themes/lighting/left-blue.png +0 -0
- data/files/themes/lighting/left-darkblue.png +0 -0
- data/files/themes/lighting/left-green.png +0 -0
- data/files/themes/lighting/left-grey.png +0 -0
- data/files/themes/lighting/pngbehavior.htc +67 -0
- data/files/themes/lighting/right-blue.png +0 -0
- data/files/themes/lighting/right-darkblue.png +0 -0
- data/files/themes/lighting/right-green.png +0 -0
- data/files/themes/lighting/right-grey.png +0 -0
- data/files/themes/lighting/spinner.gif +0 -0
- data/files/themes/lighting/top-left-blue.png +0 -0
- data/files/themes/lighting/top-left-darkblue.png +0 -0
- data/files/themes/lighting/top-left-green.png +0 -0
- data/files/themes/lighting/top-left-grey.png +0 -0
- data/files/themes/lighting/top-middle-blue.png +0 -0
- data/files/themes/lighting/top-middle-darkblue.png +0 -0
- data/files/themes/lighting/top-middle-green.png +0 -0
- data/files/themes/lighting/top-middle-grey.png +0 -0
- data/files/themes/lighting/top-right-blue.png +0 -0
- data/files/themes/lighting/top-right-darkblue.png +0 -0
- data/files/themes/lighting/top-right-green.png +0 -0
- data/files/themes/lighting/top-right-grey.png +0 -0
- data/files/themes/mac_os_x.css +333 -0
- data/files/themes/mac_os_x/B.png +0 -0
- data/files/themes/mac_os_x/BL.png +0 -0
- data/files/themes/mac_os_x/BL_Main.png +0 -0
- data/files/themes/mac_os_x/BR.png +0 -0
- data/files/themes/mac_os_x/BR_Main.png +0 -0
- data/files/themes/mac_os_x/B_Main.png +0 -0
- data/files/themes/mac_os_x/L.png +0 -0
- data/files/themes/mac_os_x/L_Main.png +0 -0
- data/files/themes/mac_os_x/R.png +0 -0
- data/files/themes/mac_os_x/R_Main.png +0 -0
- data/files/themes/mac_os_x/T.png +0 -0
- data/files/themes/mac_os_x/TL.png +0 -0
- data/files/themes/mac_os_x/TL_Main.png +0 -0
- data/files/themes/mac_os_x/TR.png +0 -0
- data/files/themes/mac_os_x/TR_Main.png +0 -0
- data/files/themes/mac_os_x/T_Main.png +0 -0
- data/files/themes/mac_os_x/close.gif +0 -0
- data/files/themes/mac_os_x/maximize.gif +0 -0
- data/files/themes/mac_os_x/minimize.gif +0 -0
- data/files/themes/mac_os_x_dialog.css +160 -0
- data/files/themes/mac_os_x_dialog/B.png +0 -0
- data/files/themes/mac_os_x_dialog/BL.png +0 -0
- data/files/themes/mac_os_x_dialog/BR.png +0 -0
- data/files/themes/mac_os_x_dialog/L.png +0 -0
- data/files/themes/mac_os_x_dialog/R.png +0 -0
- data/files/themes/mac_os_x_dialog/T.png +0 -0
- data/files/themes/mac_os_x_dialog/TL.png +0 -0
- data/files/themes/mac_os_x_dialog/TR.png +0 -0
- data/files/themes/mac_os_x_dialog/bg.gif +0 -0
- data/files/themes/mac_os_x_dialog/close.gif +0 -0
- data/files/themes/mac_os_x_dialog/maximize.gif +0 -0
- data/files/themes/mac_os_x_dialog/minimize.gif +0 -0
- data/files/themes/nuncio.css +164 -0
- data/files/themes/nuncio/bottom_left.png +0 -0
- data/files/themes/nuncio/bottom_mid.png +0 -0
- data/files/themes/nuncio/bottom_right.png +0 -0
- data/files/themes/nuncio/center_left.png +0 -0
- data/files/themes/nuncio/center_right.png +0 -0
- data/files/themes/nuncio/close.png +0 -0
- data/files/themes/nuncio/minimize.png +0 -0
- data/files/themes/nuncio/overlay.png +0 -0
- data/files/themes/nuncio/top_left.png +0 -0
- data/files/themes/nuncio/top_mid.png +0 -0
- data/files/themes/nuncio/top_right.png +0 -0
- data/files/themes/spread.css +108 -0
- data/files/themes/spread/bottom-left-c.gif +0 -0
- data/files/themes/spread/bottom-middle.gif +0 -0
- data/files/themes/spread/bottom-right-c.gif +0 -0
- data/files/themes/spread/button-close-focus.gif +0 -0
- data/files/themes/spread/button-max-focus.gif +0 -0
- data/files/themes/spread/button-min-focus.gif +0 -0
- data/files/themes/spread/frame-left.gif +0 -0
- data/files/themes/spread/frame-right.gif +0 -0
- data/files/themes/spread/left-top.gif +0 -0
- data/files/themes/spread/right-top.gif +0 -0
- data/files/themes/spread/top-middle.gif +0 -0
- data/init.rb +1 -0
- data/install.rb +32 -0
- data/lib/window_rails.rb +164 -0
- data/lib/window_rails/version.rb +3 -0
- data/uninstall.rb +9 -0
- metadata +260 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'window_rails'
|
data/install.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'window_rails/version'
|
2
|
+
|
3
|
+
def install_javascripts
|
4
|
+
raise 'Unknown Rails path' unless defined? RAILS_ROOT
|
5
|
+
FileUtils.cp_r(File.join(File.dirname(__FILE__), 'files', 'javascripts', File::SEPARATOR, '.'), File.join(RAILS_ROOT, 'public', 'javascripts', 'window_rails'))
|
6
|
+
end
|
7
|
+
|
8
|
+
def install_themes
|
9
|
+
raise 'Unknown Rails path' unless defined? RAILS_ROOT
|
10
|
+
FileUtils.cp_r(File.join(File.dirname(__FILE__), 'files', 'themes'), File.join(RAILS_ROOT, 'public'))
|
11
|
+
end
|
12
|
+
|
13
|
+
def install_version
|
14
|
+
f = File.open(File.join(RAILS_ROOT, 'public', 'javascripts', 'window_rails', 'version'), 'w')
|
15
|
+
f.puts WindowRails::VERSION
|
16
|
+
f.close
|
17
|
+
end
|
18
|
+
|
19
|
+
def install_all
|
20
|
+
install_javascripts
|
21
|
+
install_themes
|
22
|
+
install_version
|
23
|
+
puts 'INSTALLED ALL'
|
24
|
+
end
|
25
|
+
|
26
|
+
## Place version file and check for it. install if not found.
|
27
|
+
if(File.exists?(File.join(RAILS_ROOT, 'public', 'javascripts', 'window_rails', 'version')))
|
28
|
+
check = File.read(File.join(RAILS_ROOT, 'public', 'javascripts', 'window_rails', 'version')).strip
|
29
|
+
install_all unless check == WindowRails::VERSION
|
30
|
+
else
|
31
|
+
install_all
|
32
|
+
end
|
data/lib/window_rails.rb
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
module WindowRailsView
|
2
|
+
|
3
|
+
# name:: Name of the link
|
4
|
+
# options:: Hash of optional values. These options are simply passed
|
5
|
+
# on to the activate_window method
|
6
|
+
def link_to_window(name, options={})
|
7
|
+
link_to_remote(name, :url => {:controller => :window_rails, :action => :open_window, :window_url => url_for(options.delete(:url)), :window_options => options})
|
8
|
+
end
|
9
|
+
|
10
|
+
end
|
11
|
+
|
12
|
+
module WindowRailsGenerators
|
13
|
+
|
14
|
+
include ActionView::Helpers::JavaScriptHelper
|
15
|
+
include ActionView::Helpers::UrlHelper
|
16
|
+
include ActionView::Helpers::TagHelper
|
17
|
+
|
18
|
+
# msg:: Alert message
|
19
|
+
# options:: Hash of options values for the alert window
|
20
|
+
# Opens an alert window
|
21
|
+
def open_alert_window(msg, options={})
|
22
|
+
options[:width] ||= 200
|
23
|
+
self << "Dialog.alert('#{escape_javascript(msg)}', {#{options.map{|k,v|"#{escape_javascript(k.to_s)}:'#{escape_javascript(v.to_s)}'"}.join(',')}});"
|
24
|
+
end
|
25
|
+
|
26
|
+
# msg:: Confirmation message
|
27
|
+
# options:: Hash of options values for the confirmation window
|
28
|
+
# Opens a confirmation window
|
29
|
+
def open_confirm_window(msg, options={})
|
30
|
+
options[:width] ||= 200
|
31
|
+
self << "Dialog.confirm('#{escape_javascript(msg)}', {#{options.map{|k,v|"#{escape_javascript(k)}:'#{escape_javascript(v)}'"}.join(',')}});"
|
32
|
+
end
|
33
|
+
|
34
|
+
# msg:: Information message
|
35
|
+
# options:: Hash of options values for info window
|
36
|
+
# Open an information window
|
37
|
+
def open_info_window(msg, options={})
|
38
|
+
self << "Dialog.info('#{escape_javascript(msg)}', {#{options.map{|k,v|"#{escape_javascript(k)}:'#{escape_javascript(v)}'"}.join(',')}});"
|
39
|
+
end
|
40
|
+
|
41
|
+
# Close an information window
|
42
|
+
def close_info_window
|
43
|
+
self << "Dialog.closeInfo();"
|
44
|
+
end
|
45
|
+
|
46
|
+
# Update the contents of an information window
|
47
|
+
def update_info_window(msg)
|
48
|
+
self << "Dialog.setInfoMessage('#{escape_javascript(msg)}');"
|
49
|
+
end
|
50
|
+
|
51
|
+
# content:: Updated content
|
52
|
+
# options:: Hash of options
|
53
|
+
# * window -> Name of the window to update (defaults to last window)
|
54
|
+
# * error -> Show error if window is not found (defaults false)
|
55
|
+
# Updates the window with the new content. If the content is a string, it will
|
56
|
+
# be placed into the window. If it is a Hash, it will be fed to render and the
|
57
|
+
# result will be placed in the window (basically an easy way to integrate partials:
|
58
|
+
# page.update_window(:partial => 'my_parital'))
|
59
|
+
def update_window(content, options={})
|
60
|
+
win = options.delete(:window)
|
61
|
+
error = options.delete(:error)
|
62
|
+
if(content.is_a?(Hash))
|
63
|
+
content = render(content)
|
64
|
+
end
|
65
|
+
content = escape_javascript(content)
|
66
|
+
win = escape_javascript(win) if win
|
67
|
+
if(win)
|
68
|
+
self << "if(Windows.existsByName('#{win}')){"
|
69
|
+
self << " Windows.getWindowByName('#{win}').setHTMLContent('#{content}');"
|
70
|
+
self << "}"
|
71
|
+
if(error)
|
72
|
+
self << "else {"
|
73
|
+
self << " alert('Unexpected error. Failed to locate correct window for output.');"
|
74
|
+
self << "}"
|
75
|
+
end
|
76
|
+
else
|
77
|
+
self << "Windows.windows.values().last().setHTMLContent('#{content}');"
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# content:: Content for window
|
82
|
+
# options:: Hash of options
|
83
|
+
# * modal -> Window should be modal
|
84
|
+
# * window -> Name to reference window (used for easy updating and closing)
|
85
|
+
# * constraints -> Hash containing top,left,right,bottom values for padding from edges. False value will turn off constraints (window can travel out of viewport)
|
86
|
+
# * url -> URL to load into the window
|
87
|
+
# * width -> Width of the window
|
88
|
+
# * height -> Height of the window
|
89
|
+
# * className -> Theme name for the window
|
90
|
+
# Creates a new window and displays it at the center of the viewport.
|
91
|
+
def open_window(content, options)
|
92
|
+
modal = options.delete(:modal)
|
93
|
+
win = options.delete(:window)
|
94
|
+
constraints = options.delete(:constraints)
|
95
|
+
if(content.is_a?(Hash))
|
96
|
+
if(content[:url])
|
97
|
+
options[:url] = url_for(content[:url])
|
98
|
+
content = nil
|
99
|
+
else
|
100
|
+
content = render(content)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
options[:width] ||= 300
|
104
|
+
options[:height] ||= 200
|
105
|
+
content = escape_javascript(content) if content
|
106
|
+
win = escape_javascript(win) if win
|
107
|
+
self << "var myWin = new Window({#{options.map{|k,v|"#{escape_javascript(k.to_s)}:'#{escape_javascript(v.to_s)}'"}.join(', ')}});";
|
108
|
+
unless(win.blank?)
|
109
|
+
self << "Windows.registerByName('#{win}', myWin);"
|
110
|
+
end
|
111
|
+
if(content)
|
112
|
+
self << "myWin.setHTMLContent('#{content}');"
|
113
|
+
end
|
114
|
+
unless(constraints == false)
|
115
|
+
opts = {:left => 0, :right => 0, :top => 0, :bottom => 0}
|
116
|
+
opts.merge!(constraints) if constraints.is_a?(Hash)
|
117
|
+
self << "myWin.setConstraint(true, {#{opts.map{|k,v|"#{escape_javascript(k.to_s)}:'#{escape_javascript(v.to_s)}'"}.join(', ')}});"
|
118
|
+
end
|
119
|
+
self << "myWin.setCloseCallback(function(win){ win.destroy(); return true; });"
|
120
|
+
self << "myWin.showCenter(#{modal ? 'true' : 'false'});"
|
121
|
+
end
|
122
|
+
|
123
|
+
# options:: Hash of options
|
124
|
+
# * :window -> name of window to close
|
125
|
+
# Close the window of the provided name or the last opened window
|
126
|
+
def close_window(options = {})
|
127
|
+
win = options.delete(:window)
|
128
|
+
win = escape_javascript(win) if win
|
129
|
+
self << "var myWin = null;"
|
130
|
+
if(win)
|
131
|
+
self << "myWin = Windows.getWindowByName('#{win}');"
|
132
|
+
else
|
133
|
+
self << "if(Windows.windows.values().last()){ myWin = Windows.windows.values().last(); }"
|
134
|
+
end
|
135
|
+
self << "if(myWin){ myWin.close(); }"
|
136
|
+
end
|
137
|
+
|
138
|
+
# Close all open windows
|
139
|
+
def close_all_windows
|
140
|
+
self << "Windows.closeAll();"
|
141
|
+
end
|
142
|
+
|
143
|
+
# args:: List of window names to refresh (All will be refreshed if :all is included)
|
144
|
+
# Refresh window contents
|
145
|
+
def refresh_window(*args)
|
146
|
+
self << "var myWin = null;"
|
147
|
+
if(args.include?(:all))
|
148
|
+
self << "Windows.windows.values().each(function(win){ win.refresh(); });"
|
149
|
+
else
|
150
|
+
args.each do |win|
|
151
|
+
self << "myWin = Windows.getWindowByName('#{escape_javascript(win.to_s)}');"
|
152
|
+
self << "if(myWin){ myWin.refresh(); }"
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
end
|
158
|
+
|
159
|
+
# Load everything into rails
|
160
|
+
if(defined? Rails)
|
161
|
+
ActionView::Base.send :include, WindowRailsView
|
162
|
+
ActionView::Helpers::PrototypeHelper::JavaScriptGenerator::GeneratorMethods.send :include, WindowRailsGenerators
|
163
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', 'install.rb') # Always included in case we are gem'ed
|
164
|
+
end
|
data/uninstall.rb
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
3
|
+
if(defined? RAILS_ROOT)
|
4
|
+
Dir.new(File.join(File.dirname(__FILE__), 'files', 'javascripts')).each do |name|
|
5
|
+
next if name[0,1] == '.'
|
6
|
+
FileUtils.rm_rf(RAILS_ROOT, 'public', 'javascripts', name))
|
7
|
+
end
|
8
|
+
FileUtils.rm_rf(RAILS_ROOT, 'public', 'themes'))
|
9
|
+
end
|
metadata
ADDED
@@ -0,0 +1,260 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: window_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Chris Roberts
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-11-03 00:00:00 -07:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rails
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
description: Windows for Rails
|
36
|
+
email: chrisroberts.code@gmail.com
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README.rdoc
|
43
|
+
- LICENSE
|
44
|
+
- CHANGELOG.rdoc
|
45
|
+
files:
|
46
|
+
- LICENSE
|
47
|
+
- README.rdoc
|
48
|
+
- CHANGELOG.rdoc
|
49
|
+
- init.rb
|
50
|
+
- install.rb
|
51
|
+
- uninstall.rb
|
52
|
+
- app/controllers/window_rails_controller.rb
|
53
|
+
- files/javascripts/window_ext.js
|
54
|
+
- files/javascripts/window_effects.js
|
55
|
+
- files/javascripts/extended_debug.js
|
56
|
+
- files/javascripts/window.js
|
57
|
+
- files/javascripts/debug.js
|
58
|
+
- files/javascripts/tooltip.js
|
59
|
+
- files/themes/spread.css
|
60
|
+
- files/themes/alphacube/button-min-focus.gif
|
61
|
+
- files/themes/alphacube/frame-right.gif
|
62
|
+
- files/themes/alphacube/right-top.gif
|
63
|
+
- files/themes/alphacube/button-close-focus.gif
|
64
|
+
- files/themes/alphacube/top-middle.gif
|
65
|
+
- files/themes/alphacube/frame-left.gif
|
66
|
+
- files/themes/alphacube/button-max-focus.gif
|
67
|
+
- files/themes/alphacube/left-top.gif
|
68
|
+
- files/themes/alphacube/bottom-left-c.gif
|
69
|
+
- files/themes/alphacube/bottom-middle.gif
|
70
|
+
- files/themes/alphacube/bottom-right-c.gif
|
71
|
+
- files/themes/nuncio.css
|
72
|
+
- files/themes/darkX/frame-bottom-mid-focused.png
|
73
|
+
- files/themes/darkX/titlebar-right-focused.png
|
74
|
+
- files/themes/darkX/titlebar-left-focused.png
|
75
|
+
- files/themes/darkX/button-close-focused.png
|
76
|
+
- files/themes/darkX/titlebar-mid-focused.png
|
77
|
+
- files/themes/darkX/button-minimize-focused.png
|
78
|
+
- files/themes/darkX/frame-bottom-left-focused.png
|
79
|
+
- files/themes/darkX/button-maximize-focused.png
|
80
|
+
- files/themes/darkX/frame-bottom-right-focused.png
|
81
|
+
- files/themes/darkX/frame-left-focused.png
|
82
|
+
- files/themes/darkX/frame-right-focused.png
|
83
|
+
- files/themes/mac_os_x/T.png
|
84
|
+
- files/themes/mac_os_x/BR_Main.png
|
85
|
+
- files/themes/mac_os_x/TL.png
|
86
|
+
- files/themes/mac_os_x/T_Main.png
|
87
|
+
- files/themes/mac_os_x/TL_Main.png
|
88
|
+
- files/themes/mac_os_x/maximize.gif
|
89
|
+
- files/themes/mac_os_x/BR.png
|
90
|
+
- files/themes/mac_os_x/close.gif
|
91
|
+
- files/themes/mac_os_x/L.png
|
92
|
+
- files/themes/mac_os_x/B_Main.png
|
93
|
+
- files/themes/mac_os_x/R.png
|
94
|
+
- files/themes/mac_os_x/L_Main.png
|
95
|
+
- files/themes/mac_os_x/TR_Main.png
|
96
|
+
- files/themes/mac_os_x/R_Main.png
|
97
|
+
- files/themes/mac_os_x/B.png
|
98
|
+
- files/themes/mac_os_x/minimize.gif
|
99
|
+
- files/themes/mac_os_x/BL_Main.png
|
100
|
+
- files/themes/mac_os_x/TR.png
|
101
|
+
- files/themes/mac_os_x/BL.png
|
102
|
+
- files/themes/behavior.htc
|
103
|
+
- files/themes/lighting.css
|
104
|
+
- files/themes/default/top_right.gif
|
105
|
+
- files/themes/default/top_left.gif
|
106
|
+
- files/themes/default/bottom_right.gif
|
107
|
+
- files/themes/default/resize.gif
|
108
|
+
- files/themes/default/top_mid.gif
|
109
|
+
- files/themes/default/center_right.gif
|
110
|
+
- files/themes/default/maximize.gif
|
111
|
+
- files/themes/default/bottom_left.gif
|
112
|
+
- files/themes/default/inspect.gif
|
113
|
+
- files/themes/default/sizer.gif
|
114
|
+
- files/themes/default/bottom_mid.gif
|
115
|
+
- files/themes/default/close.gif
|
116
|
+
- files/themes/default/clear.gif
|
117
|
+
- files/themes/default/minimize.gif
|
118
|
+
- files/themes/default/bottom_right_resize.gif
|
119
|
+
- files/themes/default/overlay.png
|
120
|
+
- files/themes/default/center_left.gif
|
121
|
+
- files/themes/debug.css
|
122
|
+
- files/themes/alert/top_right.gif
|
123
|
+
- files/themes/alert/top_left.gif
|
124
|
+
- files/themes/alert/bottom_right.gif
|
125
|
+
- files/themes/alert/top.gif
|
126
|
+
- files/themes/alert/bottom_left.gif
|
127
|
+
- files/themes/alert/progress.gif
|
128
|
+
- files/themes/alert/overlay.png
|
129
|
+
- files/themes/alert/right.gif
|
130
|
+
- files/themes/alert/bottom.gif
|
131
|
+
- files/themes/alert/left.gif
|
132
|
+
- files/themes/mac_os_x.css
|
133
|
+
- files/themes/alert_lite.css
|
134
|
+
- files/themes/default.css
|
135
|
+
- files/themes/lighting/button-maximize-darkblue.png
|
136
|
+
- files/themes/lighting/background_buttons.gif
|
137
|
+
- files/themes/lighting/right-grey.png
|
138
|
+
- files/themes/lighting/bottom-middle-blue.png
|
139
|
+
- files/themes/lighting/left-grey.png
|
140
|
+
- files/themes/lighting/right-blue.png
|
141
|
+
- files/themes/lighting/bottom-right-blue.png
|
142
|
+
- files/themes/lighting/bottom-left-green.png
|
143
|
+
- files/themes/lighting/top-left-grey.png
|
144
|
+
- files/themes/lighting/bottom-left-darkblue.png
|
145
|
+
- files/themes/lighting/button-maximize-green.png
|
146
|
+
- files/themes/lighting/bottom-left-grey.png
|
147
|
+
- files/themes/lighting/bottom-right-darkblue.png
|
148
|
+
- files/themes/lighting/top-middle-green.png
|
149
|
+
- files/themes/lighting/button-minimize-grey.png
|
150
|
+
- files/themes/lighting/right-green.png
|
151
|
+
- files/themes/lighting/right-darkblue.png
|
152
|
+
- files/themes/lighting/left-darkblue.png
|
153
|
+
- files/themes/lighting/left-blue.png
|
154
|
+
- files/themes/lighting/top-right-green.png
|
155
|
+
- files/themes/lighting/spinner.gif
|
156
|
+
- files/themes/lighting/button-maximize-grey.png
|
157
|
+
- files/themes/lighting/bottom-middle-green.png
|
158
|
+
- files/themes/lighting/top-right-grey.png
|
159
|
+
- files/themes/lighting/bottom-left-blue.png
|
160
|
+
- files/themes/lighting/top-middle-grey.png
|
161
|
+
- files/themes/lighting/top-left-darkblue.png
|
162
|
+
- files/themes/lighting/button-minimize-blue.png
|
163
|
+
- files/themes/lighting/button-maximize-blue.png
|
164
|
+
- files/themes/lighting/top-middle-blue.png
|
165
|
+
- files/themes/lighting/button-close-darkblue.png
|
166
|
+
- files/themes/lighting/button-close-grey.png
|
167
|
+
- files/themes/lighting/button-close-green.png
|
168
|
+
- files/themes/lighting/button-minimize-darkblue.png
|
169
|
+
- files/themes/lighting/top-left-green.png
|
170
|
+
- files/themes/lighting/bottom-middle-grey.png
|
171
|
+
- files/themes/lighting/bottom-right-green.png
|
172
|
+
- files/themes/lighting/pngbehavior.htc
|
173
|
+
- files/themes/lighting/top-right-darkblue.png
|
174
|
+
- files/themes/lighting/top-left-blue.png
|
175
|
+
- files/themes/lighting/button-close-blue.png
|
176
|
+
- files/themes/lighting/button-minimize-green.png
|
177
|
+
- files/themes/lighting/top-right-blue.png
|
178
|
+
- files/themes/lighting/left-green.png
|
179
|
+
- files/themes/lighting/bottom-right-grey.png
|
180
|
+
- files/themes/lighting/top-middle-darkblue.png
|
181
|
+
- files/themes/lighting/bottom-middle-darkblue.png
|
182
|
+
- files/themes/darkX.css
|
183
|
+
- files/themes/mac_os_x_dialog/T.png
|
184
|
+
- files/themes/mac_os_x_dialog/bg.gif
|
185
|
+
- files/themes/mac_os_x_dialog/TL.png
|
186
|
+
- files/themes/mac_os_x_dialog/maximize.gif
|
187
|
+
- files/themes/mac_os_x_dialog/BR.png
|
188
|
+
- files/themes/mac_os_x_dialog/close.gif
|
189
|
+
- files/themes/mac_os_x_dialog/L.png
|
190
|
+
- files/themes/mac_os_x_dialog/R.png
|
191
|
+
- files/themes/mac_os_x_dialog/B.png
|
192
|
+
- files/themes/mac_os_x_dialog/minimize.gif
|
193
|
+
- files/themes/mac_os_x_dialog/TR.png
|
194
|
+
- files/themes/mac_os_x_dialog/BL.png
|
195
|
+
- files/themes/nuncio/top_left.png
|
196
|
+
- files/themes/nuncio/top_mid.png
|
197
|
+
- files/themes/nuncio/top_right.png
|
198
|
+
- files/themes/nuncio/bottom_right.png
|
199
|
+
- files/themes/nuncio/minimize.png
|
200
|
+
- files/themes/nuncio/bottom_left.png
|
201
|
+
- files/themes/nuncio/center_left.png
|
202
|
+
- files/themes/nuncio/bottom_mid.png
|
203
|
+
- files/themes/nuncio/overlay.png
|
204
|
+
- files/themes/nuncio/center_right.png
|
205
|
+
- files/themes/nuncio/close.png
|
206
|
+
- files/themes/alphacube.css
|
207
|
+
- files/themes/iefix/iepngfix.htc
|
208
|
+
- files/themes/iefix/blank.gif
|
209
|
+
- files/themes/iefix/iepngfix.css
|
210
|
+
- files/themes/mac_os_x_dialog.css
|
211
|
+
- files/themes/spread/button-min-focus.gif
|
212
|
+
- files/themes/spread/frame-right.gif
|
213
|
+
- files/themes/spread/right-top.gif
|
214
|
+
- files/themes/spread/button-close-focus.gif
|
215
|
+
- files/themes/spread/top-middle.gif
|
216
|
+
- files/themes/spread/frame-left.gif
|
217
|
+
- files/themes/spread/button-max-focus.gif
|
218
|
+
- files/themes/spread/left-top.gif
|
219
|
+
- files/themes/spread/bottom-left-c.gif
|
220
|
+
- files/themes/spread/bottom-middle.gif
|
221
|
+
- files/themes/spread/bottom-right-c.gif
|
222
|
+
- files/themes/alert.css
|
223
|
+
- lib/window_rails.rb
|
224
|
+
- lib/window_rails/version.rb
|
225
|
+
has_rdoc: true
|
226
|
+
homepage: http://github.com/chrisroberts/window_rails
|
227
|
+
licenses: []
|
228
|
+
|
229
|
+
post_install_message:
|
230
|
+
rdoc_options: []
|
231
|
+
|
232
|
+
require_paths:
|
233
|
+
- lib
|
234
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
235
|
+
none: false
|
236
|
+
requirements:
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
hash: 3
|
240
|
+
segments:
|
241
|
+
- 0
|
242
|
+
version: "0"
|
243
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
|
+
none: false
|
245
|
+
requirements:
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
hash: 3
|
249
|
+
segments:
|
250
|
+
- 0
|
251
|
+
version: "0"
|
252
|
+
requirements: []
|
253
|
+
|
254
|
+
rubyforge_project:
|
255
|
+
rubygems_version: 1.3.7
|
256
|
+
signing_key:
|
257
|
+
specification_version: 3
|
258
|
+
summary: Windows for Rails
|
259
|
+
test_files: []
|
260
|
+
|