ember-appkit-rails 0.0.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.
Files changed (146) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +42 -0
  4. data/lib/ember-appkit-rails.rb +1 -0
  5. data/lib/ember/appkit/rails.rb +6 -0
  6. data/lib/ember/appkit/rails/engine.rb +12 -0
  7. data/lib/ember/appkit/rails/version.rb +7 -0
  8. data/lib/generators/ember/bootstrap_generator.rb +47 -0
  9. data/lib/generators/ember/generator_helpers.rb +40 -0
  10. data/lib/generators/ember/route_generator.rb +20 -0
  11. data/lib/generators/templates/application.js +2 -0
  12. data/lib/generators/templates/ember-app.js.es6 +15 -0
  13. data/lib/generators/templates/route.js.es6 +3 -0
  14. data/lib/generators/templates/router.js.es6 +7 -0
  15. data/test/dummy/README.rdoc +28 -0
  16. data/test/dummy/Rakefile +6 -0
  17. data/test/dummy/app/assets/javascripts/application.js +14 -0
  18. data/test/dummy/app/assets/javascripts/components/my-component.js.es6 +4 -0
  19. data/test/dummy/app/assets/javascripts/controllers/index.js.es6 +9 -0
  20. data/test/dummy/app/assets/javascripts/ember-app.js +9 -0
  21. data/test/dummy/app/assets/javascripts/models/person.js.es6 +3 -0
  22. data/test/dummy/app/assets/javascripts/router.js.es6 +7 -0
  23. data/test/dummy/app/assets/javascripts/routes/index.js.es6 +13 -0
  24. data/test/dummy/app/assets/javascripts/templates/application.hbs +2 -0
  25. data/test/dummy/app/assets/javascripts/templates/components/my-component.hbs +1 -0
  26. data/test/dummy/app/assets/javascripts/templates/index.hbs +6 -0
  27. data/test/dummy/app/controllers/application_controller.rb +5 -0
  28. data/test/dummy/app/views/application/show.html +0 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  30. data/test/dummy/bin/bundle +3 -0
  31. data/test/dummy/bin/rails +4 -0
  32. data/test/dummy/bin/rake +4 -0
  33. data/test/dummy/config.ru +4 -0
  34. data/test/dummy/config/application.rb +14 -0
  35. data/test/dummy/config/boot.rb +5 -0
  36. data/test/dummy/config/environment.rb +5 -0
  37. data/test/dummy/config/environments/development.rb +30 -0
  38. data/test/dummy/config/environments/production.rb +80 -0
  39. data/test/dummy/config/environments/test.rb +37 -0
  40. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  42. data/test/dummy/config/initializers/inflections.rb +16 -0
  43. data/test/dummy/config/initializers/mime_types.rb +5 -0
  44. data/test/dummy/config/initializers/secret_token.rb +12 -0
  45. data/test/dummy/config/initializers/session_store.rb +3 -0
  46. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  47. data/test/dummy/config/locales/en.yml +23 -0
  48. data/test/dummy/config/routes.rb +3 -0
  49. data/test/dummy/log/development.log +3957 -0
  50. data/test/dummy/log/test.log +100 -0
  51. data/test/dummy/public/404.html +58 -0
  52. data/test/dummy/public/422.html +58 -0
  53. data/test/dummy/public/500.html +57 -0
  54. data/test/dummy/public/favicon.ico +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/009d416d9e579ca73b72e11a882283db +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/0f63b9e77aec7451fc0c21d376f8eb28 +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/13c56481151a0f8ff72b183daf16c0ba +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/19c9bc7dbf67a891e93c7a663a62ff1c +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/22d5df6f378a04858f2123ee6e176ff1 +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/30095b6d23a5bac343099341a88a9768 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/30e6b42a491dc4952ff020137405d502 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/32a4bf18777e24ecbd1bb7bf1afb9d41 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/331122f2f78d79778408023cf5bad1e3 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/34b3026e7f937c6a19a0aee7f8451aad +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/36b770b8db4bb47ce9c524d7104be2e9 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/3a168599f447464b14332bdfd140ff00 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/3b825365f669ab10c71ccee9d64335b6 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/3f60ef531652da88a591066588c06000 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/3fa9b534ed1d39ba8274b7ab49a38d11 +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/4138a0978ec2097970b05e52c1d1cf94 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/61df2fa75b3733030a82b166f1c135e9 +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/720ee922899be7948cc2a8b27660ce0b +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/7689ffe6d7c831ee178e07106482b2cc +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/776c336ba7d7935e564e9bf5072e3dd8 +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/7bf1770d3a1c8bc1b59a4bc89d5c4bca +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/7d008b32a16b10ea72ea849f47d9a095 +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/832a081f27208b2b977b49b487d2bc89 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/8333b0a9d6f14badf985b50415d5deee +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/8e9feb35d7e388f760d17aaf89b32731 +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/8ebc8c58233ab12eee6edfc0feca2492 +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/8fc8cc19ffe18f3fb8d3a8506d9169b3 +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/91ce00d4fbb2d91206d66229af2dda20 +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/9475a88de7edd7f2eb6268573986cbdd +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/aee731d32c121990e31f5d68a034087c +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/b6477f770c118c6b4362a1043ea87879 +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/b692b37dad694df23f130ceda8c808dd +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/b7ee576b652da2c60e89e6a466d073f4 +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/c0bb6b15bdd48873e96974816e18abe9 +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/c8c4c1b316845f30168739b5795846d6 +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/d05ba20923e543730084eb723e770f12 +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/e1658f6900cfc0ba388976a2fd25f94f +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/e2a67ad17895f7711966ca1a5ff7af86 +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/e44f5ebcd8f42995512e64b96b63c9cf +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/e610538e56e78934ee9fa328294fcc06 +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/e8aa57b28c86586b8b7344feb891c43f +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/ebc77031c7503fcc60aaa5c603aa9138 +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/ed5238112abbfd6a794a100804365903 +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/f2a13b6bc27457cb7513b583b4e69ed5 +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/f46d0d400dce471af50b05c9ac272ba9 +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/f8c79edb4a48d7e4f74a6113d25f4699 +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/fa20075040efd309e2e2fdb310135e63 +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/fdcd9e39dbe03f947086b7e6c1ce29d2 +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/009d416d9e579ca73b72e11a882283db +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/0f63b9e77aec7451fc0c21d376f8eb28 +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/19c9bc7dbf67a891e93c7a663a62ff1c +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/22d5df6f378a04858f2123ee6e176ff1 +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/30e6b42a491dc4952ff020137405d502 +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/32a4bf18777e24ecbd1bb7bf1afb9d41 +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/331122f2f78d79778408023cf5bad1e3 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/34b3026e7f937c6a19a0aee7f8451aad +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/36b770b8db4bb47ce9c524d7104be2e9 +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/3a168599f447464b14332bdfd140ff00 +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sprockets/3b825365f669ab10c71ccee9d64335b6 +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sprockets/3fa9b534ed1d39ba8274b7ab49a38d11 +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/720ee922899be7948cc2a8b27660ce0b +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/7689ffe6d7c831ee178e07106482b2cc +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/7bf1770d3a1c8bc1b59a4bc89d5c4bca +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/7d008b32a16b10ea72ea849f47d9a095 +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/8e9feb35d7e388f760d17aaf89b32731 +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/8ebc8c58233ab12eee6edfc0feca2492 +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/91ce00d4fbb2d91206d66229af2dda20 +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/b692b37dad694df23f130ceda8c808dd +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/c0bb6b15bdd48873e96974816e18abe9 +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/c8c4c1b316845f30168739b5795846d6 +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/e2a67ad17895f7711966ca1a5ff7af86 +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/e44f5ebcd8f42995512e64b96b63c9cf +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/e8aa57b28c86586b8b7344feb891c43f +0 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/ed5238112abbfd6a794a100804365903 +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/f2a13b6bc27457cb7513b583b4e69ed5 +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/f46d0d400dce471af50b05c9ac272ba9 +0 -0
  136. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/f8c79edb4a48d7e4f74a6113d25f4699 +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sprockets/fdcd9e39dbe03f947086b7e6c1ce29d2 +0 -0
  139. data/test/dummy/tmp/ember-rails/ember-data.js +10204 -0
  140. data/test/dummy/tmp/ember-rails/ember.js +38198 -0
  141. data/test/generators/bootstrap_generator_test.rb +35 -0
  142. data/test/generators/route_generator_test.rb +25 -0
  143. data/test/integration/navigation_test.rb +9 -0
  144. data/test/support/generator_test_support.rb +34 -0
  145. data/test/test_helper.rb +19 -0
  146. metadata +430 -0
@@ -0,0 +1,100 @@
1
+ ---------------------------
2
+ EmberAppKitTest: test_truth
3
+ ---------------------------
4
+ -----------------------------------------
5
+ NavigationTest: test_can_render_home_page
6
+ -----------------------------------------
7
+ ---------------------------
8
+ EmberAppKitTest: test_truth
9
+ ---------------------------
10
+ -----------------------------------------
11
+ NavigationTest: test_can_render_home_page
12
+ -----------------------------------------
13
+ ---------------------------
14
+ EmberAppKitTest: test_truth
15
+ ---------------------------
16
+ -----------------------------------------
17
+ NavigationTest: test_can_render_home_page
18
+ -----------------------------------------
19
+ ---------------------------
20
+ EmberAppKitTest: test_truth
21
+ ---------------------------
22
+ -----------------------------------------
23
+ NavigationTest: test_can_render_home_page
24
+ -----------------------------------------
25
+ ---------------------------
26
+ EmberAppKitTest: test_truth
27
+ ---------------------------
28
+ -----------------------------------------
29
+ NavigationTest: test_can_render_home_page
30
+ -----------------------------------------
31
+ -----------------------------------------
32
+ NavigationTest: test_can_render_home_page
33
+ -----------------------------------------
34
+ -----------------------------------------
35
+ NavigationTest: test_can_render_home_page
36
+ -----------------------------------------
37
+ -----------------------------------------
38
+ NavigationTest: test_can_render_home_page
39
+ -----------------------------------------
40
+ -----------------------------------------
41
+ NavigationTest: test_can_render_home_page
42
+ -----------------------------------------
43
+ -----------------------------------------
44
+ NavigationTest: test_can_render_home_page
45
+ -----------------------------------------
46
+ -----------------------------------------
47
+ NavigationTest: test_can_render_home_page
48
+ -----------------------------------------
49
+ -----------------------------------------
50
+ NavigationTest: test_can_render_home_page
51
+ -----------------------------------------
52
+ -----------------------------------------
53
+ NavigationTest: test_can_render_home_page
54
+ -----------------------------------------
55
+ -----------------------------------------
56
+ NavigationTest: test_can_render_home_page
57
+ -----------------------------------------
58
+ -----------------------------------------
59
+ NavigationTest: test_can_render_home_page
60
+ -----------------------------------------
61
+ -----------------------------------------
62
+ NavigationTest: test_can_render_home_page
63
+ -----------------------------------------
64
+ -----------------------------------------
65
+ NavigationTest: test_can_render_home_page
66
+ -----------------------------------------
67
+ Started GET "/" for 127.0.0.1 at 2013-10-29 18:19:09 -0400
68
+ Processing by ApplicationController#show as HTML
69
+ Rendered application/show.html within layouts/application (1.0ms)
70
+ Completed 500 Internal Server Error in 14ms
71
+ Started GET "/" for 127.0.0.1 at 2013-10-29 18:19:43 -0400
72
+ Processing by ApplicationController#show as HTML
73
+ Rendered application/show.html within layouts/application (1.7ms)
74
+ Completed 500 Internal Server Error in 36ms
75
+ Started GET "/" for 127.0.0.1 at 2013-10-29 18:22:40 -0400
76
+ Processing by ApplicationController#show as HTML
77
+ Rendered application/show.html within layouts/application (0.9ms)
78
+ Completed 500 Internal Server Error in 31ms
79
+ Started GET "/" for 127.0.0.1 at 2013-10-29 18:24:49 -0400
80
+ Processing by ApplicationController#show as HTML
81
+ Rendered application/show.html within layouts/application (0.9ms)
82
+ Completed 200 OK in 969ms (Views: 968.7ms)
83
+ Started GET "/stylesheets/application.css" for 127.0.0.1 at 2013-10-29 18:24:50 -0400
84
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-10-29 18:24:50 -0400
85
+ -----------------------------------------
86
+ NavigationTest: test_can_render_home_page
87
+ -----------------------------------------
88
+ Started GET "/" for 127.0.0.1 at 2013-10-29 18:25:00 -0400
89
+ Processing by ApplicationController#show as HTML
90
+ Rendered application/show.html within layouts/application (1.0ms)
91
+ Completed 200 OK in 76ms (Views: 75.2ms)
92
+ -----------------------------------------
93
+ NavigationTest: test_can_render_home_page
94
+ -----------------------------------------
95
+ Started GET "/" for 127.0.0.1 at 2013-10-29 18:26:53 -0400
96
+ Processing by ApplicationController#show as HTML
97
+ Rendered application/show.html within layouts/application (1.0ms)
98
+ Completed 200 OK in 77ms (Views: 77.0ms)
99
+ Started GET "/stylesheets/application.css" for 127.0.0.1 at 2013-10-29 18:26:53 -0400
100
+ Started GET "/assets/application.js" for 127.0.0.1 at 2013-10-29 18:26:53 -0400
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/404.html -->
52
+ <div class="dialog">
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes