rack-plastic 0.0.0

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.
Files changed (68) hide show
  1. data/CHANGELOG +2 -0
  2. data/LICENSE +21 -0
  3. data/README.rdoc +55 -0
  4. data/Rakefile +42 -0
  5. data/lib/plastic.rb +85 -0
  6. data/lib/plastic_helper.rb +81 -0
  7. data/test/middlewares/initial.rb +35 -0
  8. data/test/middlewares/intro.rb +18 -0
  9. data/test/middlewares/l337.rb +23 -0
  10. data/test/middlewares/stylizer.rb +17 -0
  11. data/test/rackapp/app.rb +105 -0
  12. data/test/rackapp/config.ru +16 -0
  13. data/test/railsapp/README +243 -0
  14. data/test/railsapp/Rakefile +10 -0
  15. data/test/railsapp/app/controllers/application_controller.rb +10 -0
  16. data/test/railsapp/app/controllers/tommy_boy_controller.rb +9 -0
  17. data/test/railsapp/app/helpers/application_helper.rb +3 -0
  18. data/test/railsapp/app/helpers/tommy_boy_helper.rb +2 -0
  19. data/test/railsapp/app/views/layouts/application.html.erb +13 -0
  20. data/test/railsapp/app/views/tommy_boy/index.html.erb +44 -0
  21. data/test/railsapp/app/views/tommy_boy/more.html.erb +12 -0
  22. data/test/railsapp/config/boot.rb +110 -0
  23. data/test/railsapp/config/database.yml +22 -0
  24. data/test/railsapp/config/environment.rb +50 -0
  25. data/test/railsapp/config/environments/development.rb +17 -0
  26. data/test/railsapp/config/environments/production.rb +28 -0
  27. data/test/railsapp/config/environments/test.rb +28 -0
  28. data/test/railsapp/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/railsapp/config/initializers/inflections.rb +10 -0
  30. data/test/railsapp/config/initializers/mime_types.rb +5 -0
  31. data/test/railsapp/config/initializers/new_rails_defaults.rb +21 -0
  32. data/test/railsapp/config/initializers/session_store.rb +15 -0
  33. data/test/railsapp/config/locales/en.yml +5 -0
  34. data/test/railsapp/config/routes.rb +4 -0
  35. data/test/railsapp/db/development.sqlite3 +0 -0
  36. data/test/railsapp/db/seeds.rb +7 -0
  37. data/test/railsapp/doc/README_FOR_APP +2 -0
  38. data/test/railsapp/log/development.log +108 -0
  39. data/test/railsapp/log/production.log +0 -0
  40. data/test/railsapp/log/server.log +0 -0
  41. data/test/railsapp/log/test.log +0 -0
  42. data/test/railsapp/public/404.html +30 -0
  43. data/test/railsapp/public/422.html +30 -0
  44. data/test/railsapp/public/500.html +30 -0
  45. data/test/railsapp/public/favicon.ico +0 -0
  46. data/test/railsapp/public/images/rails.png +0 -0
  47. data/test/railsapp/public/javascripts/application.js +2 -0
  48. data/test/railsapp/public/javascripts/controls.js +963 -0
  49. data/test/railsapp/public/javascripts/dragdrop.js +973 -0
  50. data/test/railsapp/public/javascripts/effects.js +1128 -0
  51. data/test/railsapp/public/javascripts/prototype.js +4320 -0
  52. data/test/railsapp/public/robots.txt +5 -0
  53. data/test/railsapp/script/about +4 -0
  54. data/test/railsapp/script/console +3 -0
  55. data/test/railsapp/script/dbconsole +3 -0
  56. data/test/railsapp/script/destroy +3 -0
  57. data/test/railsapp/script/generate +3 -0
  58. data/test/railsapp/script/performance/benchmarker +3 -0
  59. data/test/railsapp/script/performance/profiler +3 -0
  60. data/test/railsapp/script/plugin +3 -0
  61. data/test/railsapp/script/runner +3 -0
  62. data/test/railsapp/script/server +3 -0
  63. data/test/railsapp/test/functional/tommy_boy_controller_test.rb +8 -0
  64. data/test/railsapp/test/performance/browsing_test.rb +9 -0
  65. data/test/railsapp/test/test_helper.rb +38 -0
  66. data/test/railsapp/test/unit/helpers/tommy_boy_helper_test.rb +4 -0
  67. data/test/sinatraapp/app.rb +105 -0
  68. metadata +141 -0
@@ -0,0 +1,22 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3-ruby (not necessary on OS X Leopard)
3
+ development:
4
+ adapter: sqlite3
5
+ database: db/development.sqlite3
6
+ pool: 5
7
+ timeout: 5000
8
+
9
+ # Warning: The database defined as "test" will be erased and
10
+ # re-generated from your development database when you run "rake".
11
+ # Do not set this db to the same as development or production.
12
+ test:
13
+ adapter: sqlite3
14
+ database: db/test.sqlite3
15
+ pool: 5
16
+ timeout: 5000
17
+
18
+ production:
19
+ adapter: sqlite3
20
+ database: db/production.sqlite3
21
+ pool: 5
22
+ timeout: 5000
@@ -0,0 +1,50 @@
1
+ # Be sure to restart your server when you modify this file
2
+
3
+ # Specifies gem version of Rails to use when vendor/rails is not present
4
+ RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
5
+
6
+ # Bootstrap the Rails environment, frameworks, and default configuration
7
+ require File.join(File.dirname(__FILE__), 'boot')
8
+ require File.join(File.dirname(__FILE__), '..', '..', 'middlewares', 'initial')
9
+ require File.join(File.dirname(__FILE__), '..', '..', 'middlewares', 'intro')
10
+ require File.join(File.dirname(__FILE__), '..', '..', 'middlewares', 'l337')
11
+ require File.join(File.dirname(__FILE__), '..', '..', 'middlewares', 'stylizer')
12
+
13
+ Rails::Initializer.run do |config|
14
+ # Settings in config/environments/* take precedence over those specified here.
15
+ # Application configuration should go into files in config/initializers
16
+ # -- all .rb files in that directory are automatically loaded.
17
+
18
+ config.middleware.use Rack::Intro
19
+ config.middleware.use Rack::L337
20
+ config.middleware.use Rack::Initial
21
+ config.middleware.use Rack::Stylizer
22
+
23
+ # Add additional load paths for your own custom dirs
24
+ # config.load_paths += %W( #{RAILS_ROOT}/extras )
25
+
26
+ # Specify gems that this application depends on and have them installed with rake gems:install
27
+ # config.gem "bj"
28
+ # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
29
+ # config.gem "sqlite3-ruby", :lib => "sqlite3"
30
+ # config.gem "aws-s3", :lib => "aws/s3"
31
+
32
+ # Only load the plugins named here, in the order given (default is alphabetical).
33
+ # :all can be used as a placeholder for all plugins not explicitly named
34
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
35
+
36
+ # Skip frameworks you're not going to use. To use Rails without a database,
37
+ # you must remove the Active Record framework.
38
+ # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
39
+
40
+ # Activate observers that should always be running
41
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
42
+
43
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
44
+ # Run "rake -D time" for a list of tasks for finding time zone names.
45
+ config.time_zone = 'UTC'
46
+
47
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
48
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
49
+ # config.i18n.default_locale = :de
50
+ end
@@ -0,0 +1,17 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # In the development environment your application's code is reloaded on
4
+ # every request. This slows down response time but is perfect for development
5
+ # since you don't have to restart the webserver when you make code changes.
6
+ config.cache_classes = false
7
+
8
+ # Log error messages when you accidentally call methods on nil.
9
+ config.whiny_nils = true
10
+
11
+ # Show full error reports and disable caching
12
+ config.action_controller.consider_all_requests_local = true
13
+ config.action_view.debug_rjs = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
@@ -0,0 +1,28 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # The production environment is meant for finished, "live" apps.
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.action_controller.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+ config.action_view.cache_template_loading = true
11
+
12
+ # See everything in the log (default is :info)
13
+ # config.log_level = :debug
14
+
15
+ # Use a different logger for distributed setups
16
+ # config.logger = SyslogLogger.new
17
+
18
+ # Use a different cache store in production
19
+ # config.cache_store = :mem_cache_store
20
+
21
+ # Enable serving of images, stylesheets, and javascripts from an asset server
22
+ # config.action_controller.asset_host = "http://assets.example.com"
23
+
24
+ # Disable delivery errors, bad email addresses will be ignored
25
+ # config.action_mailer.raise_delivery_errors = false
26
+
27
+ # Enable threaded mode
28
+ # config.threadsafe!
@@ -0,0 +1,28 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # The test environment is used exclusively to run your application's
4
+ # test suite. You never need to work with it otherwise. Remember that
5
+ # your test database is "scratch space" for the test suite and is wiped
6
+ # and recreated between test runs. Don't rely on the data there!
7
+ config.cache_classes = true
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.action_controller.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+ config.action_view.cache_template_loading = true
16
+
17
+ # Disable request forgery protection in test environment
18
+ config.action_controller.allow_forgery_protection = false
19
+
20
+ # Tell Action Mailer not to deliver emails to the real world.
21
+ # The :test delivery method accumulates sent emails in the
22
+ # ActionMailer::Base.deliveries array.
23
+ config.action_mailer.delivery_method = :test
24
+
25
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
26
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
27
+ # like if you have constraints or database-specific column types
28
+ # config.active_record.schema_format = :sql
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,21 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # These settings change the behavior of Rails 2 apps and will be defaults
4
+ # for Rails 3. You can remove this initializer when Rails 3 is released.
5
+
6
+ if defined?(ActiveRecord)
7
+ # Include Active Record class name as root for JSON serialized output.
8
+ ActiveRecord::Base.include_root_in_json = true
9
+
10
+ # Store the full class name (including module namespace) in STI type column.
11
+ ActiveRecord::Base.store_full_sti_class = true
12
+ end
13
+
14
+ ActionController::Routing.generate_best_match = false
15
+
16
+ # Use ISO 8601 format for JSON serialized times and dates.
17
+ ActiveSupport.use_standard_json_time_format = true
18
+
19
+ # Don't escape HTML entities in JSON, leave that for the #json_escape helper.
20
+ # if you're including raw json in an HTML page.
21
+ ActiveSupport.escape_html_entities_in_json = false
@@ -0,0 +1,15 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying cookie session data integrity.
4
+ # If you change this key, all old sessions will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ ActionController::Base.session = {
8
+ :key => '_railsapp_session',
9
+ :secret => '6d70a9e57e167a4699d60a921751576300e78c50f23bbc3276f511090577c2757cf9bf2d93218b2163c84e9275f7d8be7577f8e58290c5904d4ad74118c4542b'
10
+ }
11
+
12
+ # Use the database for sessions instead of the cookie-based default,
13
+ # which shouldn't be used to store highly confidential information
14
+ # (create the session table with "rake db:sessions:create")
15
+ # ActionController::Base.session_store = :active_record_store
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ ActionController::Routing::Routes.draw do |map|
2
+ map.root :controller => "tommy_boy", :action => "index"
3
+ map.connect 'more', :controller => "tommy_boy", :action => "more"
4
+ end
File without changes
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Major.create(:name => 'Daley', :city => cities.first)
@@ -0,0 +1,2 @@
1
+ Use this README file to introduce your application and point to useful places in the API for learning more.
2
+ Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
@@ -0,0 +1,108 @@
1
+
2
+
3
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:34:51) [GET]
4
+ Rendering template within layouts/application
5
+ Rendering tommy_boy/index
6
+ Completed in 52ms (View: 50, DB: 0) | 200 OK [http://localhost/tommy_boy]
7
+
8
+
9
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:35:03) [GET]
10
+ Rendering template within layouts/application
11
+ Rendering tommy_boy/index
12
+ Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/tommy_boy]
13
+
14
+
15
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:36:09) [GET]
16
+ Rendering template within layouts/application
17
+ Rendering tommy_boy/index
18
+ Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/tommy_boy]
19
+
20
+
21
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:36:18) [GET]
22
+ Rendering template within layouts/application
23
+ Rendering tommy_boy/index
24
+ Completed in 10ms (View: 7, DB: 0) | 200 OK [http://localhost/tommy_boy]
25
+
26
+
27
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:50:57) [GET]
28
+ Rendering template within layouts/application
29
+ Rendering tommy_boy/index
30
+ Completed in 7ms (View: 6, DB: 0) | 200 OK [http://localhost/tommy_boy]
31
+
32
+
33
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:51:11) [GET]
34
+ Rendering template within layouts/application
35
+ Rendering tommy_boy/index
36
+ Completed in 8ms (View: 6, DB: 0) | 200 OK [http://localhost/tommy_boy]
37
+
38
+
39
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:51:31) [GET]
40
+ Rendering template within layouts/application
41
+ Rendering tommy_boy/index
42
+ Completed in 12ms (View: 10, DB: 0) | 200 OK [http://localhost/tommy_boy]
43
+
44
+
45
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:51:49) [GET]
46
+ Rendering template within layouts/application
47
+ Rendering tommy_boy/index
48
+ Completed in 11ms (View: 10, DB: 0) | 200 OK [http://localhost/tommy_boy]
49
+
50
+
51
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 20:56:09) [GET]
52
+ Rendering template within layouts/application
53
+ Rendering tommy_boy/index
54
+ Completed in 66ms (View: 65, DB: 0) | 200 OK [http://localhost/tommy_boy]
55
+
56
+
57
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 22:14:13) [GET]
58
+ Rendering template within layouts/application
59
+ Rendering tommy_boy/index
60
+ Completed in 63ms (View: 62, DB: 0) | 200 OK [http://localhost/tommy_boy]
61
+
62
+
63
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-11-29 22:17:07) [GET]
64
+ Rendering template within layouts/application
65
+ Rendering tommy_boy/index
66
+ Completed in 64ms (View: 63, DB: 0) | 200 OK [http://localhost/tommy_boy]
67
+
68
+
69
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 00:16:38) [GET]
70
+ Rendering template within layouts/application
71
+ Rendering tommy_boy/index
72
+ Completed in 102ms (View: 99, DB: 0) | 200 OK [http://localhost/]
73
+
74
+
75
+ Processing TommyBoyController#more (for 127.0.0.1 at 2009-12-03 00:16:41) [GET]
76
+ Rendering template within layouts/application
77
+ Rendering tommy_boy/more
78
+ Completed in 6ms (View: 5, DB: 0) | 200 OK [http://localhost/more]
79
+
80
+
81
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 00:16:45) [GET]
82
+ Rendering template within layouts/application
83
+ Rendering tommy_boy/index
84
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://localhost/]
85
+
86
+
87
+ Processing TommyBoyController#more (for 127.0.0.1 at 2009-12-03 00:17:08) [GET]
88
+ Rendering template within layouts/application
89
+ Rendering tommy_boy/more
90
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://localhost/more]
91
+
92
+
93
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 00:17:12) [GET]
94
+ Rendering template within layouts/application
95
+ Rendering tommy_boy/index
96
+ Completed in 2ms (View: 1, DB: 0) | 200 OK [http://localhost/]
97
+
98
+
99
+ Processing TommyBoyController#more (for 127.0.0.1 at 2009-12-03 01:21:45) [GET]
100
+ Rendering template within layouts/application
101
+ Rendering tommy_boy/more
102
+ Completed in 59ms (View: 58, DB: 0) | 200 OK [http://localhost/more]
103
+
104
+
105
+ Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 01:21:47) [GET]
106
+ Rendering template within layouts/application
107
+ Rendering tommy_boy/index
108
+ Completed in 9ms (View: 7, DB: 0) | 200 OK [http://localhost/]
File without changes
File without changes
File without changes
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
6
+ <head>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>The page you were looking for doesn't exist (404)</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
21
+ </head>
22
+
23
+ <body>
24
+ <!-- This file lives in public/404.html -->
25
+ <div class="dialog">
26
+ <h1>The page you were looking for doesn't exist.</h1>
27
+ <p>You may have mistyped the address or the page may have moved.</p>
28
+ </div>
29
+ </body>
30
+ </html>
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
6
+ <head>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>The change you wanted was rejected (422)</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
21
+ </head>
22
+
23
+ <body>
24
+ <!-- This file lives in public/422.html -->
25
+ <div class="dialog">
26
+ <h1>The change you wanted was rejected.</h1>
27
+ <p>Maybe you tried to change something you didn't have access to.</p>
28
+ </div>
29
+ </body>
30
+ </html>
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+
6
+ <head>
7
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
+ <title>We're sorry, but something went wrong (500)</title>
9
+ <style type="text/css">
10
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
+ div.dialog {
12
+ width: 25em;
13
+ padding: 0 4em;
14
+ margin: 4em auto 0 auto;
15
+ border: 1px solid #ccc;
16
+ border-right-color: #999;
17
+ border-bottom-color: #999;
18
+ }
19
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
+ </style>
21
+ </head>
22
+
23
+ <body>
24
+ <!-- This file lives in public/500.html -->
25
+ <div class="dialog">
26
+ <h1>We're sorry, but something went wrong.</h1>
27
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
28
+ </div>
29
+ </body>
30
+ </html>