devise_users 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 (115) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +23 -0
  5. data/app/assets/javascripts/devise_users/application.js +36 -0
  6. data/app/assets/stylesheets/devise_users/application.css.less +15 -0
  7. data/app/assets/stylesheets/devise_users/devise_users.css.less +27 -0
  8. data/app/controllers/devise_users/application_controller.rb +39 -0
  9. data/app/controllers/devise_users/devise_users_controller.rb +75 -0
  10. data/app/helpers/devise_users/application_helper.rb +4 -0
  11. data/app/views/devise_users/devise_users/_form.html.erb +11 -0
  12. data/app/views/devise_users/devise_users/active_users.html.erb +60 -0
  13. data/app/views/devise_users/devise_users/edit.html.erb +11 -0
  14. data/app/views/devise_users/devise_users/index.html.erb +62 -0
  15. data/app/views/devise_users/devise_users/new.html.erb +11 -0
  16. data/app/views/devise_users/devise_users/search.html.erb +13 -0
  17. data/app/views/devise_users/devise_users/show.html.erb +47 -0
  18. data/app/views/devise_users/shared/_side_bar.html.erb +26 -0
  19. data/app/views/devise_users/shared/_user_bar.html.erb +20 -0
  20. data/app/views/layouts/devise_users/application.html.erb +71 -0
  21. data/config/initializers/assets.rb +1 -0
  22. data/config/initializers/simple_form.rb +165 -0
  23. data/config/initializers/simple_form_bootstrap.rb +129 -0
  24. data/config/locales/en.yml +4 -0
  25. data/config/locales/simple_form.en.yml +31 -0
  26. data/config/routes.rb +11 -0
  27. data/lib/devise_users.rb +16 -0
  28. data/lib/devise_users/engine.rb +14 -0
  29. data/lib/devise_users/version.rb +3 -0
  30. data/lib/tasks/devise_users_tasks.rake +4 -0
  31. data/lib/templates/erb/scaffold/_form.html.erb +13 -0
  32. data/spec/controllers/devise_users/devise_users_controller_spec.rb +29 -0
  33. data/spec/dummy/README.rdoc +28 -0
  34. data/spec/dummy/Rakefile +6 -0
  35. data/spec/dummy/app/assets/javascripts/application.js +14 -0
  36. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  37. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  38. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  39. data/spec/dummy/app/models/user.rb +10 -0
  40. data/spec/dummy/app/views/application/index.html.erb +8 -0
  41. data/spec/dummy/app/views/layouts/application.html.erb +25 -0
  42. data/spec/dummy/bin/bundle +3 -0
  43. data/spec/dummy/bin/rails +4 -0
  44. data/spec/dummy/bin/rake +4 -0
  45. data/spec/dummy/config.ru +4 -0
  46. data/spec/dummy/config/application.rb +32 -0
  47. data/spec/dummy/config/boot.rb +5 -0
  48. data/spec/dummy/config/database.yml +25 -0
  49. data/spec/dummy/config/environment.rb +5 -0
  50. data/spec/dummy/config/environments/development.rb +37 -0
  51. data/spec/dummy/config/environments/production.rb +82 -0
  52. data/spec/dummy/config/environments/test.rb +39 -0
  53. data/spec/dummy/config/initializers/assets.rb +8 -0
  54. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  55. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  56. data/spec/dummy/config/initializers/datetime_format.rb +2 -0
  57. data/spec/dummy/config/initializers/devise.rb +259 -0
  58. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  59. data/spec/dummy/config/initializers/inflections.rb +16 -0
  60. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  61. data/spec/dummy/config/initializers/session_store.rb +3 -0
  62. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  63. data/spec/dummy/config/locales/devise.en.yml +60 -0
  64. data/spec/dummy/config/locales/en.yml +23 -0
  65. data/spec/dummy/config/routes.rb +6 -0
  66. data/spec/dummy/config/secrets.yml +22 -0
  67. data/spec/dummy/db/development.sqlite3 +0 -0
  68. data/spec/dummy/db/migrate/20140903052246_devise_create_users.rb +42 -0
  69. data/spec/dummy/db/schema.rb +34 -0
  70. data/spec/dummy/db/test.sqlite3 +0 -0
  71. data/spec/dummy/log/development.log +21573 -0
  72. data/spec/dummy/log/test.log +201 -0
  73. data/spec/dummy/public/404.html +67 -0
  74. data/spec/dummy/public/422.html +67 -0
  75. data/spec/dummy/public/500.html +66 -0
  76. data/spec/dummy/public/favicon.ico +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/007dd1341ceef46d0544e3d0185ccf1d +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/02131eafeb1ac5c40cb70da552716e05 +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/0471f60835d0fba3697eed3f6e391753 +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/12aba8cc060f17f9477fd5222fb31c26 +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/1aa407c09eff002e639c0d9b441076b3 +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/320d9530536803b47b9ca451a2f786d8 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/3311cd7d4c65c245d019c650dfddd193 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/3b869cca45a858fe5d2e52fba7eb005c +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/46f01993ffd0416b87e11be390accf83 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/4a546cec8628d7e8dce5c5ee9e898472 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/53d3bc1ce9ed5cbd3f9bf30379cbed16 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/666a4e48a5214503ac5e56ed86d6049c +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/685aac9cc839d6dc5b28e1396ab22a2a +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/71fbb71291e0ce8f00d41accdbae252d +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/8122d1e4447d3c92cd163d2633033d1a +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/8350c9183f0af7278a44dae604dfdcca +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/8ad0e057d3555ce2bfe91c77d2a08c91 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/8c09980b6bb5011c76e46e68231bd42a +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/8d6cdb14decd04ffac8f3325731c629b +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/b9d8e35a5fe84f4d2c787744a76259ae +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/bb69f920e717f24c74444ee67934b1e5 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/c39f488e87c6f3da861ea93a83cf0540 +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/d0e40d6a415b5ec74a0d89befcb07ef8 +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/d6f2433a2b128ed4a3952ca1ea1319ce +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/da9447e5dd39a617efd489f6fa8123bd +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/e2ec7045dd8b30bdb063e4b87c8b0d6f +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/e392d27e6df799c2ba1da8c5e8f4c571 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/e4c42cf1655614a3e290cf65a2471a1a +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/f3be039639abc6fbab3865922e15fe00 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/f4cd836845062b0538b63d898fd7da73 +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  113. data/spec/rails_helper.rb +46 -0
  114. data/spec/spec_helper.rb +78 -0
  115. metadata +408 -0
@@ -0,0 +1,201 @@
1
+  (0.2ms) begin transaction
2
+  (0.1ms) rollback transaction
3
+  (0.1ms) begin transaction
4
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
5
+ Rendered /Users/mingliangfeng/ruby-edge/devise_users/app/views/devise_users/devise_users/index.html.erb within layouts/devise_users/application (0.4ms)
6
+ Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms)
7
+  (0.1ms) rollback transaction
8
+  (0.1ms) begin transaction
9
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
10
+ Completed 500 Internal Server Error in 0ms
11
+  (0.1ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
14
+ Completed 500 Internal Server Error in 0ms
15
+  (0.1ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
18
+ Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms)
19
+  (0.1ms) rollback transaction
20
+  (0.1ms) begin transaction
21
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
22
+ Completed 500 Internal Server Error in 0ms
23
+  (0.1ms) rollback transaction
24
+  (0.1ms) begin transaction
25
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
26
+ Completed 500 Internal Server Error in 0ms
27
+  (0.1ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
30
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
31
+  (0.1ms) rollback transaction
32
+  (0.1ms) begin transaction
33
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
34
+ Completed 500 Internal Server Error in 0ms
35
+  (0.1ms) rollback transaction
36
+  (0.0ms) begin transaction
37
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
38
+ Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
39
+  (0.1ms) rollback transaction
40
+  (0.1ms) begin transaction
41
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
42
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
43
+  (0.1ms) rollback transaction
44
+  (0.1ms) begin transaction
45
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
46
+ Completed 500 Internal Server Error in 0ms
47
+  (0.1ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
50
+ Redirected to http://test.host/
51
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
52
+ Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
53
+  (0.1ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
56
+ Redirected to http://test.host/
57
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
58
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
59
+  (0.1ms) rollback transaction
60
+  (0.1ms) begin transaction
61
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
62
+ Completed 500 Internal Server Error in 0ms
63
+  (0.1ms) rollback transaction
64
+  (0.1ms) begin transaction
65
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
66
+ Completed 500 Internal Server Error in 0ms
67
+  (0.0ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
70
+ Completed 500 Internal Server Error in 0ms
71
+  (0.0ms) rollback transaction
72
+  (0.1ms) begin transaction
73
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
74
+ Redirected to http://test.host/
75
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
76
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
77
+  (0.1ms) rollback transaction
78
+  (0.1ms) begin transaction
79
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
80
+ Redirected to http://test.host/
81
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
82
+ Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
83
+  (0.1ms) rollback transaction
84
+  (0.0ms) begin transaction
85
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
86
+ Redirected to http://test.host/
87
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
88
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
89
+  (0.1ms) rollback transaction
90
+  (0.1ms) begin transaction
91
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
92
+ Redirected to http://test.host/
93
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
94
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
95
+  (0.1ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
98
+ Redirected to http://test.host/
99
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
100
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
101
+  (0.1ms) rollback transaction
102
+  (0.1ms) begin transaction
103
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
104
+ Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.0ms)
105
+  (0.2ms) rollback transaction
106
+  (0.1ms) begin transaction
107
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
108
+ Redirected to http://test.host/
109
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
110
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
111
+  (0.1ms) rollback transaction
112
+  (0.1ms) begin transaction
113
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
114
+ Redirected to http://test.host/
115
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
116
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
117
+  (0.1ms) rollback transaction
118
+  (0.0ms) begin transaction
119
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
120
+ Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)
121
+  (0.1ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
124
+ Redirected to http://test.host/
125
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
126
+ Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
127
+  (0.1ms) rollback transaction
128
+  (0.0ms) begin transaction
129
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
130
+ Redirected to http://test.host/
131
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
132
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
133
+  (0.1ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
136
+ Completed 500 Internal Server Error in 0ms
137
+  (0.1ms) rollback transaction
138
+  (0.1ms) begin transaction
139
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
140
+ Redirected to http://test.host/
141
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
142
+ Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
143
+  (0.1ms) rollback transaction
144
+  (0.1ms) begin transaction
145
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
146
+ Redirected to http://test.host/
147
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
148
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
149
+  (0.1ms) rollback transaction
150
+  (0.1ms) begin transaction
151
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
152
+ Completed 500 Internal Server Error in 0ms
153
+  (0.1ms) rollback transaction
154
+  (0.1ms) begin transaction
155
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
156
+ Redirected to http://test.host/
157
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
158
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
159
+  (0.1ms) rollback transaction
160
+  (0.1ms) begin transaction
161
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
162
+ Redirected to http://test.host/
163
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
164
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
165
+  (0.1ms) rollback transaction
166
+  (0.1ms) begin transaction
167
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
168
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
169
+  (0.1ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
172
+ Redirected to http://test.host/
173
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
174
+ Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
175
+  (0.1ms) rollback transaction
176
+  (0.1ms) begin transaction
177
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
178
+ Redirected to http://test.host/
179
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
180
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
181
+  (0.0ms) rollback transaction
182
+  (0.0ms) begin transaction
183
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
184
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
185
+  (0.1ms) rollback transaction
186
+  (0.1ms) begin transaction
187
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
188
+ Redirected to http://test.host/
189
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
190
+ Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
191
+  (0.1ms) rollback transaction
192
+  (0.0ms) begin transaction
193
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
194
+ Redirected to http://test.host/
195
+ Filter chain halted as :authenticate_devise_resource rendered or redirected
196
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
197
+  (0.1ms) rollback transaction
198
+  (0.1ms) begin transaction
199
+ Processing by DeviseUsers::DeviseUsersController#index as HTML
200
+ Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms)
201
+  (0.1ms) rollback transaction
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes