listable_collections 4.0.0.1 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +5 -5
  4. data/Rakefile +1 -3
  5. data/lib/listable_collections/builder.rb +1 -1
  6. data/lib/listable_collections/version.rb +1 -1
  7. metadata +17 -111
  8. data/test/association_test.rb +0 -28
  9. data/test/attribute_test.rb +0 -24
  10. data/test/dummy/Rakefile +0 -5
  11. data/test/dummy/app/assets/javascripts/application.js +0 -13
  12. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  13. data/test/dummy/app/controllers/application_controller.rb +0 -5
  14. data/test/dummy/app/helpers/application_helper.rb +0 -2
  15. data/test/dummy/app/models/product.rb +0 -15
  16. data/test/dummy/app/models/shop.rb +0 -13
  17. data/test/dummy/app/views/layouts/application.html.erb +0 -12
  18. data/test/dummy/bin/bundle +0 -4
  19. data/test/dummy/bin/rails +0 -5
  20. data/test/dummy/bin/rake +0 -5
  21. data/test/dummy/bin/setup +0 -30
  22. data/test/dummy/config.ru +0 -4
  23. data/test/dummy/config/application.rb +0 -25
  24. data/test/dummy/config/boot.rb +0 -5
  25. data/test/dummy/config/database.yml +0 -10
  26. data/test/dummy/config/database.yml.travis +0 -3
  27. data/test/dummy/config/environment.rb +0 -5
  28. data/test/dummy/config/environments/development.rb +0 -41
  29. data/test/dummy/config/environments/production.rb +0 -79
  30. data/test/dummy/config/environments/test.rb +0 -42
  31. data/test/dummy/config/initializers/assets.rb +0 -11
  32. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  33. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  34. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  35. data/test/dummy/config/initializers/inflections.rb +0 -16
  36. data/test/dummy/config/initializers/mime_types.rb +0 -4
  37. data/test/dummy/config/initializers/session_store.rb +0 -3
  38. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  39. data/test/dummy/config/locales/en.yml +0 -23
  40. data/test/dummy/config/routes.rb +0 -56
  41. data/test/dummy/config/secrets.yml +0 -22
  42. data/test/dummy/db/migrate/20160916011427_create_shops.rb +0 -9
  43. data/test/dummy/db/migrate/20160916011451_create_products.rb +0 -11
  44. data/test/dummy/db/schema.rb +0 -33
  45. data/test/dummy/log/development.log +0 -76
  46. data/test/dummy/log/test.log +0 -124
  47. data/test/dummy/public/404.html +0 -61
  48. data/test/dummy/public/422.html +0 -61
  49. data/test/dummy/public/500.html +0 -60
  50. data/test/dummy/public/favicon.ico +0 -0
  51. data/test/test_helper.rb +0 -14
@@ -1,9 +0,0 @@
1
- class CreateShops < ActiveRecord::Migration
2
- def change
3
- create_table :shops do |t|
4
- t.string :name
5
-
6
- t.timestamps null: false
7
- end
8
- end
9
- end
@@ -1,11 +0,0 @@
1
- class CreateProducts < ActiveRecord::Migration
2
- def change
3
- create_table :products do |t|
4
- t.integer :shop_id
5
- t.string :name
6
- t.text :sizes
7
-
8
- t.timestamps null: false
9
- end
10
- end
11
- end
@@ -1,33 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended that you check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(version: 20160916011451) do
15
-
16
- # These are extensions that must be enabled in order to support this database
17
- enable_extension "plpgsql"
18
-
19
- create_table "products", force: :cascade do |t|
20
- t.integer "shop_id"
21
- t.string "name"
22
- t.text "sizes"
23
- t.datetime "created_at", null: false
24
- t.datetime "updated_at", null: false
25
- end
26
-
27
- create_table "shops", force: :cascade do |t|
28
- t.string "name"
29
- t.datetime "created_at", null: false
30
- t.datetime "updated_at", null: false
31
- end
32
-
33
- end
@@ -1,76 +0,0 @@
1
-  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateShops (20160916011427)
5
-  (0.1ms) BEGIN
6
-  (19.4ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
7
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011427"]]
8
-  (0.5ms) COMMIT
9
- Migrating to CreateProducts (20160916011451)
10
-  (5.6ms) BEGIN
11
-  (19.6ms) CREATE TABLE "products" ("id" serial primary key, "shop_id" integer, "name" character varying, "sizes" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
12
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011451"]]
13
-  (0.6ms) COMMIT
14
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
-  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
16
- FROM pg_constraint c
17
- JOIN pg_class t1 ON c.conrelid = t1.oid
18
- JOIN pg_class t2 ON c.confrelid = t2.oid
19
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
20
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
21
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
22
- WHERE c.contype = 'f'
23
- AND t1.relname = 'products'
24
- AND t3.nspname = ANY (current_schemas(false))
25
- ORDER BY c.conname
26
- 
27
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
28
- FROM pg_constraint c
29
- JOIN pg_class t1 ON c.conrelid = t1.oid
30
- JOIN pg_class t2 ON c.confrelid = t2.oid
31
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
32
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
33
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
34
- WHERE c.contype = 'f'
35
- AND t1.relname = 'shops'
36
- AND t3.nspname = ANY (current_schemas(false))
37
- ORDER BY c.conname
38
-
39
-  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
40
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
41
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
- Migrating to CreateShops (20160916011427)
43
-  (0.2ms) BEGIN
44
-  (2.5ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
45
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011427"]]
46
-  (0.4ms) COMMIT
47
- Migrating to CreateProducts (20160916011451)
48
-  (0.2ms) BEGIN
49
-  (2.0ms) CREATE TABLE "products" ("id" serial primary key, "shop_id" integer, "name" character varying, "sizes" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
50
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011451"]]
51
-  (2.2ms) COMMIT
52
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
53
-  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
54
- FROM pg_constraint c
55
- JOIN pg_class t1 ON c.conrelid = t1.oid
56
- JOIN pg_class t2 ON c.confrelid = t2.oid
57
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
58
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
59
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
60
- WHERE c.contype = 'f'
61
- AND t1.relname = 'products'
62
- AND t3.nspname = ANY (current_schemas(false))
63
- ORDER BY c.conname
64
- 
65
-  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
66
- FROM pg_constraint c
67
- JOIN pg_class t1 ON c.conrelid = t1.oid
68
- JOIN pg_class t2 ON c.confrelid = t2.oid
69
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
70
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
71
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
72
- WHERE c.contype = 'f'
73
- AND t1.relname = 'shops'
74
- AND t3.nspname = ANY (current_schemas(false))
75
- ORDER BY c.conname
76
-
@@ -1,124 +0,0 @@
1
- ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
-  (0.3ms) BEGIN
3
- ---------------------------
4
- AttributeTest: test_methods
5
- ---------------------------
6
-  (0.3ms) ROLLBACK
7
-  (0.1ms) BEGIN
8
- -----------------------------
9
- AssociationTest: test_methods
10
- -----------------------------
11
-  (0.2ms) SAVEPOINT active_record_1
12
- SQL (18.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-21 06:16:21.465844"], ["updated_at", "2016-11-21 06:16:21.465844"]]
13
-  (0.1ms) RELEASE SAVEPOINT active_record_1
14
-  (0.2ms) SAVEPOINT active_record_1
15
- SQL (23.8ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 14], ["created_at", "2016-11-21 06:16:21.498203"], ["updated_at", "2016-11-21 06:16:21.498203"]]
16
-  (0.2ms) RELEASE SAVEPOINT active_record_1
17
-  (0.1ms) SAVEPOINT active_record_1
18
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 14], ["created_at", "2016-11-21 06:16:21.523814"], ["updated_at", "2016-11-21 06:16:21.523814"]]
19
-  (0.1ms) RELEASE SAVEPOINT active_record_1
20
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 14]]
21
-  (0.2ms) SAVEPOINT active_record_1
22
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 14], ["created_at", "2016-11-21 06:16:21.528027"], ["updated_at", "2016-11-21 06:16:21.528027"]]
23
-  (0.1ms) RELEASE SAVEPOINT active_record_1
24
-  (0.2ms) ROLLBACK
25
- ActiveRecord::SchemaMigration Load (27.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
-  (0.2ms) BEGIN
27
- ---------------------------
28
- AttributeTest: test_methods
29
- ---------------------------
30
-  (0.2ms) ROLLBACK
31
-  (0.1ms) BEGIN
32
- -----------------------------
33
- AssociationTest: test_methods
34
- -----------------------------
35
-  (0.2ms) SAVEPOINT active_record_1
36
- SQL (20.0ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 19:57:11.619475"], ["updated_at", "2016-12-13 19:57:11.619475"]]
37
-  (0.2ms) RELEASE SAVEPOINT active_record_1
38
-  (0.2ms) SAVEPOINT active_record_1
39
- SQL (19.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 15], ["created_at", "2016-12-13 19:57:11.655713"], ["updated_at", "2016-12-13 19:57:11.655713"]]
40
-  (0.2ms) RELEASE SAVEPOINT active_record_1
41
-  (0.2ms) SAVEPOINT active_record_1
42
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 15], ["created_at", "2016-12-13 19:57:11.677200"], ["updated_at", "2016-12-13 19:57:11.677200"]]
43
-  (0.1ms) RELEASE SAVEPOINT active_record_1
44
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 15]]
45
-  (0.1ms) SAVEPOINT active_record_1
46
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 15], ["created_at", "2016-12-13 19:57:11.682005"], ["updated_at", "2016-12-13 19:57:11.682005"]]
47
-  (0.1ms) RELEASE SAVEPOINT active_record_1
48
-  (0.1ms) ROLLBACK
49
-  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
50
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
51
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
- Migrating to CreateShops (20160916011427)
53
-  (0.1ms) BEGIN
54
-  (2.9ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
55
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011427"]]
56
-  (0.5ms) COMMIT
57
- Migrating to CreateProducts (20160916011451)
58
-  (0.2ms) BEGIN
59
-  (2.1ms) CREATE TABLE "products" ("id" serial primary key, "shop_id" integer, "name" character varying, "sizes" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
60
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011451"]]
61
-  (0.5ms) COMMIT
62
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
63
-  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
64
- FROM pg_constraint c
65
- JOIN pg_class t1 ON c.conrelid = t1.oid
66
- JOIN pg_class t2 ON c.confrelid = t2.oid
67
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
68
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
69
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
70
- WHERE c.contype = 'f'
71
- AND t1.relname = 'products'
72
- AND t3.nspname = ANY (current_schemas(false))
73
- ORDER BY c.conname
74
- 
75
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
76
- FROM pg_constraint c
77
- JOIN pg_class t1 ON c.conrelid = t1.oid
78
- JOIN pg_class t2 ON c.confrelid = t2.oid
79
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
80
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
81
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
82
- WHERE c.contype = 'f'
83
- AND t1.relname = 'shops'
84
- AND t3.nspname = ANY (current_schemas(false))
85
- ORDER BY c.conname
86
-
87
-  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
88
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
89
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
90
- Migrating to CreateShops (20160916011427)
91
-  (0.1ms) BEGIN
92
-  (2.6ms) CREATE TABLE "shops" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
93
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011427"]]
94
-  (0.6ms) COMMIT
95
- Migrating to CreateProducts (20160916011451)
96
-  (0.3ms) BEGIN
97
-  (2.3ms) CREATE TABLE "products" ("id" serial primary key, "shop_id" integer, "name" character varying, "sizes" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
98
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160916011451"]]
99
-  (0.4ms) COMMIT
100
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
-  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
102
- FROM pg_constraint c
103
- JOIN pg_class t1 ON c.conrelid = t1.oid
104
- JOIN pg_class t2 ON c.confrelid = t2.oid
105
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
106
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
107
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
108
- WHERE c.contype = 'f'
109
- AND t1.relname = 'products'
110
- AND t3.nspname = ANY (current_schemas(false))
111
- ORDER BY c.conname
112
- 
113
-  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
114
- FROM pg_constraint c
115
- JOIN pg_class t1 ON c.conrelid = t1.oid
116
- JOIN pg_class t2 ON c.confrelid = t2.oid
117
- JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
118
- JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
119
- JOIN pg_namespace t3 ON c.connamespace = t3.oid
120
- WHERE c.contype = 'f'
121
- AND t1.relname = 'shops'
122
- AND t3.nspname = ANY (current_schemas(false))
123
- ORDER BY c.conname
124
-
@@ -1,61 +0,0 @@
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
- div.dialog {
15
- width: 95%;
16
- max-width: 33em;
17
- margin: 4em auto 0;
18
- }
19
- div.dialog > div {
20
- border: 1px solid #CCC;
21
- border-right-color: #999;
22
- border-left-color: #999;
23
- border-bottom-color: #BBB;
24
- border-top: #B00100 solid 4px;
25
- border-top-left-radius: 9px;
26
- border-top-right-radius: 9px;
27
- background-color: white;
28
- padding: 7px 12% 0;
29
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
30
- }
31
- h1 {
32
- font-size: 100%;
33
- color: #730E15;
34
- line-height: 1.5em;
35
- }
36
- div.dialog > p {
37
- margin: 0 0 1em;
38
- padding: 1em;
39
- background-color: #F7F7F7;
40
- border: 1px solid #CCC;
41
- border-right-color: #999;
42
- border-left-color: #999;
43
- border-bottom-color: #999;
44
- border-bottom-left-radius: 4px;
45
- border-bottom-right-radius: 4px;
46
- border-top-color: #DADADA;
47
- color: #666;
48
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
49
- }
50
- </style>
51
- </head>
52
- <body>
53
- <div class="dialog">
54
- <div>
55
- <h1>The page you were looking for doesn't exist.</h1>
56
- <p>You may have mistyped the address or the page may have moved.</p>
57
- </div>
58
- <p>If you are the application owner check the logs for more information.</p>
59
- </div>
60
- </body>
61
- </html>
@@ -1,61 +0,0 @@
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
- div.dialog {
15
- width: 95%;
16
- max-width: 33em;
17
- margin: 4em auto 0;
18
- }
19
- div.dialog > div {
20
- border: 1px solid #CCC;
21
- border-right-color: #999;
22
- border-left-color: #999;
23
- border-bottom-color: #BBB;
24
- border-top: #B00100 solid 4px;
25
- border-top-left-radius: 9px;
26
- border-top-right-radius: 9px;
27
- background-color: white;
28
- padding: 7px 12% 0;
29
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
30
- }
31
- h1 {
32
- font-size: 100%;
33
- color: #730E15;
34
- line-height: 1.5em;
35
- }
36
- div.dialog > p {
37
- margin: 0 0 1em;
38
- padding: 1em;
39
- background-color: #F7F7F7;
40
- border: 1px solid #CCC;
41
- border-right-color: #999;
42
- border-left-color: #999;
43
- border-bottom-color: #999;
44
- border-bottom-left-radius: 4px;
45
- border-bottom-right-radius: 4px;
46
- border-top-color: #DADADA;
47
- color: #666;
48
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
49
- }
50
- </style>
51
- </head>
52
- <body>
53
- <div class="dialog">
54
- <div>
55
- <h1>The change you wanted was rejected.</h1>
56
- <p>Maybe you tried to change something you didn't have access to.</p>
57
- </div>
58
- <p>If you are the application owner check the logs for more information.</p>
59
- </div>
60
- </body>
61
- </html>
@@ -1,60 +0,0 @@
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
- div.dialog {
15
- width: 95%;
16
- max-width: 33em;
17
- margin: 4em auto 0;
18
- }
19
- div.dialog > div {
20
- border: 1px solid #CCC;
21
- border-right-color: #999;
22
- border-left-color: #999;
23
- border-bottom-color: #BBB;
24
- border-top: #B00100 solid 4px;
25
- border-top-left-radius: 9px;
26
- border-top-right-radius: 9px;
27
- background-color: white;
28
- padding: 7px 12% 0;
29
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
30
- }
31
- h1 {
32
- font-size: 100%;
33
- color: #730E15;
34
- line-height: 1.5em;
35
- }
36
- div.dialog > p {
37
- margin: 0 0 1em;
38
- padding: 1em;
39
- background-color: #F7F7F7;
40
- border: 1px solid #CCC;
41
- border-right-color: #999;
42
- border-left-color: #999;
43
- border-bottom-color: #999;
44
- border-bottom-left-radius: 4px;
45
- border-bottom-right-radius: 4px;
46
- border-top-color: #DADADA;
47
- color: #666;
48
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
49
- }
50
- </style>
51
- </head>
52
- <body>
53
- <div class="dialog">
54
- <div>
55
- <h1>We're sorry, but something went wrong.</h1>
56
- </div>
57
- <p>If you are the application owner check the logs for more information.</p>
58
- </div>
59
- </body>
60
- </html>