authr 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +1 -0
- data/Rakefile +37 -0
- data/app/controllers/authr/application_controller.rb +4 -0
- data/app/models/authr/user.rb +10 -0
- data/config/initializers/devise.rb +259 -0
- data/config/locales/devise.en.yml +60 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20150209201242_devise_create_authr_users.rb +42 -0
- data/db/migrate/20150210225824_add_authentication_token_to_authr_users.rb +6 -0
- data/lib/authr.rb +8 -0
- data/lib/authr/engine.rb +18 -0
- data/lib/authr/version.rb +3 -0
- data/lib/tasks/authr_tasks.rake +4 -0
- data/test/authr_test.rb +7 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +45 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +10038 -0
- data/test/dummy/log/test.log +252 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/fixtures/authr/users.yml +11 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/models/authr/user_test.rb +9 -0
- data/test/test_helper.rb +21 -0
- metadata +244 -0
@@ -0,0 +1,252 @@
|
|
1
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.6ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to DeviseCreateAuthrUsers (20150209201242)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "authr_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "confirmation_token" varchar, "confirmed_at" datetime, "confirmation_sent_at" datetime, "unconfirmed_email" varchar, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" varchar, "locked_at" datetime, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36m (2.6ms)[0m [1mCREATE UNIQUE INDEX "index_authr_users_on_email" ON "authr_users" ("email")[0m
|
9
|
+
[1m[35m (0.7ms)[0m SELECT sql
|
10
|
+
FROM sqlite_master
|
11
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
12
|
+
UNION ALL
|
13
|
+
SELECT sql
|
14
|
+
FROM sqlite_temp_master
|
15
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
16
|
+
|
17
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_authr_users_on_reset_password_token" ON "authr_users" ("reset_password_token")[0m
|
18
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
19
|
+
FROM sqlite_master
|
20
|
+
WHERE name='index_authr_users_on_reset_password_token' AND type='index'
|
21
|
+
UNION ALL
|
22
|
+
SELECT sql
|
23
|
+
FROM sqlite_temp_master
|
24
|
+
WHERE name='index_authr_users_on_reset_password_token' AND type='index'
|
25
|
+
|
26
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
27
|
+
FROM sqlite_master
|
28
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
29
|
+
UNION ALL
|
30
|
+
SELECT sql
|
31
|
+
FROM sqlite_temp_master
|
32
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
33
|
+
[0m
|
34
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_authr_users_on_confirmation_token" ON "authr_users" ("confirmation_token")
|
35
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
36
|
+
FROM sqlite_master
|
37
|
+
WHERE name='index_authr_users_on_confirmation_token' AND type='index'
|
38
|
+
UNION ALL
|
39
|
+
SELECT sql
|
40
|
+
FROM sqlite_temp_master
|
41
|
+
WHERE name='index_authr_users_on_confirmation_token' AND type='index'
|
42
|
+
[0m
|
43
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
44
|
+
FROM sqlite_master
|
45
|
+
WHERE name='index_authr_users_on_reset_password_token' AND type='index'
|
46
|
+
UNION ALL
|
47
|
+
SELECT sql
|
48
|
+
FROM sqlite_temp_master
|
49
|
+
WHERE name='index_authr_users_on_reset_password_token' AND type='index'
|
50
|
+
|
51
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
52
|
+
FROM sqlite_master
|
53
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
54
|
+
UNION ALL
|
55
|
+
SELECT sql
|
56
|
+
FROM sqlite_temp_master
|
57
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
58
|
+
[0m
|
59
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_authr_users_on_unlock_token" ON "authr_users" ("unlock_token")
|
60
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150209201242"]]
|
61
|
+
[1m[35m (1.4ms)[0m commit transaction
|
62
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
63
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
64
|
+
FROM sqlite_master
|
65
|
+
WHERE name='index_authr_users_on_unlock_token' AND type='index'
|
66
|
+
UNION ALL
|
67
|
+
SELECT sql
|
68
|
+
FROM sqlite_temp_master
|
69
|
+
WHERE name='index_authr_users_on_unlock_token' AND type='index'
|
70
|
+
|
71
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
72
|
+
FROM sqlite_master
|
73
|
+
WHERE name='index_authr_users_on_confirmation_token' AND type='index'
|
74
|
+
UNION ALL
|
75
|
+
SELECT sql
|
76
|
+
FROM sqlite_temp_master
|
77
|
+
WHERE name='index_authr_users_on_confirmation_token' AND type='index'
|
78
|
+
[0m
|
79
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
80
|
+
FROM sqlite_master
|
81
|
+
WHERE name='index_authr_users_on_reset_password_token' AND type='index'
|
82
|
+
UNION ALL
|
83
|
+
SELECT sql
|
84
|
+
FROM sqlite_temp_master
|
85
|
+
WHERE name='index_authr_users_on_reset_password_token' AND type='index'
|
86
|
+
|
87
|
+
[1m[36m (1.5ms)[0m [1m SELECT sql
|
88
|
+
FROM sqlite_master
|
89
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
90
|
+
UNION ALL
|
91
|
+
SELECT sql
|
92
|
+
FROM sqlite_temp_master
|
93
|
+
WHERE name='index_authr_users_on_email' AND type='index'
|
94
|
+
[0m
|
95
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
96
|
+
[1m[35m (0.1ms)[0m begin transaction
|
97
|
+
---------------------
|
98
|
+
AuthrTest: test_truth
|
99
|
+
---------------------
|
100
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
101
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
102
|
+
[1m[35m (0.4ms)[0m begin transaction
|
103
|
+
---------------------
|
104
|
+
AuthrTest: test_truth
|
105
|
+
---------------------
|
106
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
107
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
109
|
+
----------------------------------------------------
|
110
|
+
Authr::UsersControllerTest: test_0002_should get new
|
111
|
+
----------------------------------------------------
|
112
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
113
|
+
[1m[35m (0.1ms)[0m begin transaction
|
114
|
+
--------------------------------------------------------
|
115
|
+
Authr::UsersControllerTest: test_0003_should create user
|
116
|
+
--------------------------------------------------------
|
117
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
118
|
+
[1m[35m (0.1ms)[0m begin transaction
|
119
|
+
------------------------------------------------------
|
120
|
+
Authr::UsersControllerTest: test_0001_should get index
|
121
|
+
------------------------------------------------------
|
122
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
124
|
+
-----------------------------------------------------
|
125
|
+
Authr::UsersControllerTest: test_0005_should get edit
|
126
|
+
-----------------------------------------------------
|
127
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
129
|
+
------------------------------------------------------
|
130
|
+
Authr::UsersControllerTest: test_0004_should show user
|
131
|
+
------------------------------------------------------
|
132
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
133
|
+
[1m[35m (0.1ms)[0m begin transaction
|
134
|
+
--------------------------------------------------------
|
135
|
+
Authr::UsersControllerTest: test_0006_should update user
|
136
|
+
--------------------------------------------------------
|
137
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
138
|
+
[1m[35m (0.1ms)[0m begin transaction
|
139
|
+
---------------------------------------------------------
|
140
|
+
Authr::UsersControllerTest: test_0007_should destroy user
|
141
|
+
---------------------------------------------------------
|
142
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
144
|
+
--------------------------
|
145
|
+
AuthrTest: test_0001_truth
|
146
|
+
--------------------------
|
147
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
148
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
150
|
+
--------------------------------------------------------
|
151
|
+
Authr::UsersControllerTest: test_0001_should create user
|
152
|
+
--------------------------------------------------------
|
153
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
154
|
+
[1m[35m (0.2ms)[0m begin transaction
|
155
|
+
--------------------------
|
156
|
+
AuthrTest: test_0001_truth
|
157
|
+
--------------------------
|
158
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
159
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
160
|
+
[1m[35m (0.9ms)[0m begin transaction
|
161
|
+
--------------------------
|
162
|
+
AuthrTest: test_0001_truth
|
163
|
+
--------------------------
|
164
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
166
|
+
--------------------------------------------------------
|
167
|
+
Authr::UsersControllerTest: test_0001_should create user
|
168
|
+
--------------------------------------------------------
|
169
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
170
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
172
|
+
--------------------------------------------------------
|
173
|
+
Authr::UsersControllerTest: test_0001_should create user
|
174
|
+
--------------------------------------------------------
|
175
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "authr_users"[0m
|
176
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
178
|
+
--------------------------
|
179
|
+
AuthrTest: test_0001_truth
|
180
|
+
--------------------------
|
181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
182
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
184
|
+
--------------------------------------------------------
|
185
|
+
Authr::UsersControllerTest: test_0001_should create user
|
186
|
+
--------------------------------------------------------
|
187
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "authr_users"[0m
|
188
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190
|
+
--------------------------
|
191
|
+
AuthrTest: test_0001_truth
|
192
|
+
--------------------------
|
193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
194
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
196
|
+
-----------------------------------------------------------------
|
197
|
+
Devise::RegistrationsControllerTest: test_0001_should create user
|
198
|
+
-----------------------------------------------------------------
|
199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
201
|
+
--------------------------
|
202
|
+
AuthrTest: test_0001_truth
|
203
|
+
--------------------------
|
204
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
205
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
207
|
+
-----------------------------------------------------------------
|
208
|
+
Devise::RegistrationsControllerTest: test_0001_should create user
|
209
|
+
-----------------------------------------------------------------
|
210
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "authr_users"[0m
|
211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
213
|
+
--------------------------
|
214
|
+
AuthrTest: test_0001_truth
|
215
|
+
--------------------------
|
216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
217
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
219
|
+
--------------------------
|
220
|
+
AuthrTest: test_0001_truth
|
221
|
+
--------------------------
|
222
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
224
|
+
-----------------------------------------------------------------
|
225
|
+
Devise::RegistrationsControllerTest: test_0001_should create user
|
226
|
+
-----------------------------------------------------------------
|
227
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "authr_users"[0m
|
228
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
229
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
230
|
+
[1m[35m (0.1ms)[0m begin transaction
|
231
|
+
--------------------------
|
232
|
+
AuthrTest: test_0001_truth
|
233
|
+
--------------------------
|
234
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
236
|
+
-----------------------------------------------------------------
|
237
|
+
Devise::RegistrationsControllerTest: test_0001_should create user
|
238
|
+
-----------------------------------------------------------------
|
239
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "authr_users"[0m
|
240
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
241
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
243
|
+
-----------------------------------------------------------------
|
244
|
+
Devise::RegistrationsControllerTest: test_0001_should create user
|
245
|
+
-----------------------------------------------------------------
|
246
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "authr_users"[0m
|
247
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
249
|
+
--------------------------
|
250
|
+
AuthrTest: test_0001_truth
|
251
|
+
--------------------------
|
252
|
+
[1m[35m (0.0ms)[0m 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>
|