roroacms 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/MIT-LICENSE +20 -20
  2. data/README.md +62 -61
  3. data/Rakefile +19 -19
  4. data/app/assets/javascripts/roroacms/admin/application.js +1 -3
  5. data/app/assets/javascripts/roroacms/admin/roroacms-tour.js +46 -46
  6. data/app/assets/javascripts/roroacms/application.js +9 -21
  7. data/app/assets/javascripts/roroacms/vendor/hopscotch.js +2409 -2409
  8. data/app/assets/stylesheets/roroacms/admin/application.css +5 -3
  9. data/app/assets/stylesheets/roroacms/vendor/hopscotch.css +512 -512
  10. data/app/assets/stylesheets/roroacms/vendor/jquery/jquery-ui.css +1177 -1177
  11. data/app/controllers/roroacms/admin_controller.rb +1 -0
  12. data/app/controllers/roroacms/application_controller.rb +5 -3
  13. data/app/helpers/roroacms/admin_roroa_helper.rb +4 -4
  14. data/app/helpers/roroacms/admin_view_helper.rb +16 -16
  15. data/app/helpers/roroacms/application_helper.rb +4 -4
  16. data/app/helpers/roroacms/general_helper.rb +8 -8
  17. data/app/helpers/roroacms/new_view_helper.rb +7 -6
  18. data/app/helpers/roroacms/routing_helper.rb +15 -15
  19. data/app/helpers/roroacms/seo_helper.rb +2 -1
  20. data/app/helpers/roroacms/theme_helper.rb +6 -6
  21. data/app/helpers/roroacms/view_helper.rb +4 -4
  22. data/app/mailers/roroacms/emailer.rb +31 -31
  23. data/app/views/layouts/roroacms/application.html.erb +1 -1
  24. data/app/views/roroacms/admin/partials/_append_sidebar_menu.html.erb +51 -51
  25. data/app/views/roroacms/admin/partials/_comment.html.erb +10 -1
  26. data/app/views/roroacms/admin/partials/_editor.html.erb +21 -21
  27. data/app/views/roroacms/setup/administrator.html.erb +72 -72
  28. data/app/views/roroacms/setup/index.html.erb +108 -108
  29. data/config/initializers/devise.rb +258 -258
  30. data/config/locales/devise.en.yml +115 -115
  31. data/config/locales/en.yml +1 -1
  32. data/config/routes.rb +96 -96
  33. data/db/migrate/20140801203556_add_admins.rb +44 -44
  34. data/db/migrate/20140802084604_add_roroacms_comments.rb +31 -31
  35. data/db/migrate/20140802084615_add_roroacms_menu_options.rb +24 -24
  36. data/db/migrate/20140802084624_add_roroacms_menus.rb +18 -18
  37. data/db/migrate/20140802084631_add_roroacms_posts.rb +42 -42
  38. data/db/migrate/20140802084638_add_roroacms_settings.rb +21 -21
  39. data/db/migrate/20140802084658_add_roroacms_term_anatomies.rb +20 -20
  40. data/db/migrate/20140802084707_add_roroacms_term_relationships.rb +23 -23
  41. data/db/migrate/20140802084717_add_roroacms_terms.rb +27 -27
  42. data/lib/ext/string.rb +4 -4
  43. data/lib/generators/roroacms/install_generator.rb +16 -16
  44. data/lib/roroacms/engine.rb +4 -5
  45. data/lib/roroacms/version.rb +3 -3
  46. data/lib/roroacms.rb +5 -5
  47. data/lib/tasks/roroacms_tasks.rake +9 -9
  48. data/spec/controllers/roroacms/admin/themes_controller_spec.rb +2 -2
  49. data/spec/dummy/README.rdoc +28 -28
  50. data/spec/dummy/Rakefile +6 -6
  51. data/spec/dummy/app/controllers/application_controller.rb +5 -5
  52. data/spec/dummy/app/helpers/application_helper.rb +2 -2
  53. data/spec/dummy/app/helpers/theme_helper.rb +12 -12
  54. data/spec/dummy/app/views/layouts/application.html.erb +14 -14
  55. data/spec/dummy/app/views/theme/roroa-bootstrap-3/theme_helper.rb +8 -8
  56. data/spec/dummy/app/views/theme/roroa1/assets/stylesheets/style.css.scss +8 -8
  57. data/spec/dummy/app/views/theme/roroa1/layout.html.erb +1 -1
  58. data/spec/dummy/bin/bundle +3 -3
  59. data/spec/dummy/bin/rails +4 -4
  60. data/spec/dummy/bin/rake +4 -4
  61. data/spec/dummy/config/application.rb +23 -23
  62. data/spec/dummy/config/boot.rb +5 -5
  63. data/spec/dummy/config/database.yml +7 -7
  64. data/spec/dummy/config/environment.rb +5 -5
  65. data/spec/dummy/config/environments/development.rb +37 -37
  66. data/spec/dummy/config/environments/production.rb +82 -82
  67. data/spec/dummy/config/environments/test.rb +39 -39
  68. data/spec/dummy/config/initializers/assets.rb +8 -8
  69. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
  70. data/spec/dummy/config/initializers/cookies_serializer.rb +2 -2
  71. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  72. data/spec/dummy/config/initializers/inflections.rb +16 -16
  73. data/spec/dummy/config/initializers/mime_types.rb +4 -4
  74. data/spec/dummy/config/initializers/session_store.rb +3 -3
  75. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
  76. data/spec/dummy/config/locales/en.yml +23 -23
  77. data/spec/dummy/config/routes.rb +3 -3
  78. data/spec/dummy/config/secrets.yml +22 -22
  79. data/spec/dummy/config.ru +4 -4
  80. data/spec/dummy/db/schema.rb +149 -149
  81. data/spec/dummy/public/404.html +67 -67
  82. data/spec/dummy/public/422.html +67 -67
  83. data/spec/dummy/public/500.html +66 -66
  84. data/spec/dummy/public/javascripts/translations.js +1 -1
  85. data/spec/dummy/tmp/cache/i18n-js.yml +36 -36
  86. data/spec/models/roroacms/admin_spec.rb +67 -67
  87. data/spec/spec_helper.rb +35 -35
  88. data/spec/support/factories.rb +79 -79
  89. metadata +2 -2
@@ -1,22 +1,22 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: 421b931b01b7fc835e3a0e9319b4c0ef81d6ffbe30bf7f2bcd690fd09e4fec650867cd08c3f28103240ff1313bd968910ccaf816126b9371bf5ec19b21b9abf7
15
-
16
- test:
17
- secret_key_base: ac4cf71752ed04f87b706693bec6e4d118b0210c747d35dc9354af7a4f1a1555655b0dba40e495b60eac372909084e0689bb93c4aceac68138e1e1d0f53fc9ef
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 421b931b01b7fc835e3a0e9319b4c0ef81d6ffbe30bf7f2bcd690fd09e4fec650867cd08c3f28103240ff1313bd968910ccaf816126b9371bf5ec19b21b9abf7
15
+
16
+ test:
17
+ secret_key_base: ac4cf71752ed04f87b706693bec6e4d118b0210c747d35dc9354af7a4f1a1555655b0dba40e495b60eac372909084e0689bb93c4aceac68138e1e1d0f53fc9ef
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
data/spec/dummy/config.ru CHANGED
@@ -1,4 +1,4 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -1,149 +1,149 @@
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: 20140802084717) do
15
-
16
- # These are extensions that must be enabled in order to support this database
17
- enable_extension "plpgsql"
18
-
19
- create_table "roroacms_admins", force: true do |t|
20
- t.string "email", default: "", null: false
21
- t.text "password_digest"
22
- t.text "description"
23
- t.string "first_name"
24
- t.string "last_name"
25
- t.string "username"
26
- t.string "access_level"
27
- t.text "avatar"
28
- t.text "cover_picture"
29
- t.string "overlord", limit: 1, default: "Y"
30
- t.string "encrypted_password", default: "", null: false
31
- t.string "reset_password_token"
32
- t.datetime "reset_password_sent_at"
33
- t.datetime "remember_created_at"
34
- t.integer "sign_in_count", default: 0, null: false
35
- t.datetime "current_sign_in_at"
36
- t.datetime "last_sign_in_at"
37
- t.string "current_sign_in_ip"
38
- t.string "last_sign_in_ip"
39
- t.integer "failed_attempts", default: 0, null: false
40
- t.string "unlock_token"
41
- t.datetime "locked_at"
42
- t.datetime "created_at", null: false
43
- t.datetime "updated_at", null: false
44
- end
45
-
46
- add_index "roroacms_admins", ["email"], name: "index_admins_on_email", unique: true, using: :btree
47
- add_index "roroacms_admins", ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true, using: :btree
48
- add_index "roroacms_admins", ["username"], name: "unique_username", unique: true, using: :btree
49
-
50
- create_table "roroacms_comments", force: true do |t|
51
- t.integer "post_id"
52
- t.text "author"
53
- t.text "email"
54
- t.text "website"
55
- t.text "comment"
56
- t.text "comment_approved"
57
- t.text "parent_id"
58
- t.datetime "submitted_on"
59
- t.datetime "created_at", null: false
60
- t.datetime "updated_at", null: false
61
- t.string "is_spam", limit: 1, default: "N"
62
- t.string "ancestry"
63
- end
64
-
65
- add_index "roroacms_comments", ["ancestry"], name: "index_comments_on_ancestry", using: :btree
66
-
67
- create_table "roroacms_menu_options", force: true do |t|
68
- t.integer "menu_id"
69
- t.integer "option_id"
70
- t.integer "parent_id"
71
- t.string "data_type"
72
- t.integer "lft"
73
- t.integer "rgt"
74
- t.string "label"
75
- t.text "custom_data"
76
- end
77
-
78
- create_table "roroacms_menus", force: true do |t|
79
- t.string "name"
80
- t.string "key"
81
- end
82
-
83
- create_table "roroacms_posts", force: true do |t|
84
- t.integer "admin_id"
85
- t.datetime "post_date"
86
- t.text "post_content"
87
- t.text "post_title"
88
- t.text "cover_image"
89
- t.string "post_status"
90
- t.string "post_template"
91
- t.integer "parent_id"
92
- t.string "post_type"
93
- t.text "post_slug"
94
- t.string "post_visible", default: "Y"
95
- t.text "post_additional_data"
96
- t.integer "sort_order"
97
- t.datetime "created_at", null: false
98
- t.datetime "updated_at", null: false
99
- t.string "disabled", limit: 1, default: "N"
100
- t.string "post_seo_title"
101
- t.text "post_seo_description"
102
- t.string "post_seo_is_disabled", default: "N"
103
- t.string "post_seo_no_index", default: "N"
104
- t.string "post_seo_no_follow", default: "N"
105
- t.string "ancestry"
106
- t.text "structured_url"
107
- end
108
-
109
- add_index "roroacms_posts", ["ancestry"], name: "index_posts_on_ancestry", using: :btree
110
-
111
- create_table "roroacms_settings", force: true do |t|
112
- t.string "setting_name"
113
- t.text "setting"
114
- t.string "type_of_setting", limit: 11
115
- t.datetime "created_at", null: false
116
- t.datetime "updated_at", null: false
117
- end
118
-
119
- create_table "roroacms_term_anatomies", force: true do |t|
120
- t.integer "term_id"
121
- t.string "taxonomy"
122
- t.datetime "created_at", null: false
123
- t.datetime "updated_at", null: false
124
- end
125
-
126
- create_table "roroacms_term_relationships", force: true do |t|
127
- t.integer "post_id"
128
- t.integer "term_id"
129
- t.datetime "created_at", null: false
130
- t.datetime "updated_at", null: false
131
- end
132
-
133
- add_index "roroacms_term_relationships", ["post_id"], name: "post_id", using: :btree
134
-
135
- create_table "roroacms_terms", force: true do |t|
136
- t.string "name"
137
- t.string "slug"
138
- t.text "structured_url"
139
- t.text "description"
140
- t.integer "parent_id"
141
- t.datetime "created_at", null: false
142
- t.datetime "updated_at", null: false
143
- t.text "cover_image"
144
- t.string "ancestry"
145
- end
146
-
147
- add_index "roroacms_terms", ["ancestry"], name: "index_terms_on_ancestry", using: :btree
148
-
149
- end
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: 20140802084717) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
19
+ create_table "roroacms_admins", force: true do |t|
20
+ t.string "email", default: "", null: false
21
+ t.text "password_digest"
22
+ t.text "description"
23
+ t.string "first_name"
24
+ t.string "last_name"
25
+ t.string "username"
26
+ t.string "access_level"
27
+ t.text "avatar"
28
+ t.text "cover_picture"
29
+ t.string "overlord", limit: 1, default: "Y"
30
+ t.string "encrypted_password", default: "", null: false
31
+ t.string "reset_password_token"
32
+ t.datetime "reset_password_sent_at"
33
+ t.datetime "remember_created_at"
34
+ t.integer "sign_in_count", default: 0, null: false
35
+ t.datetime "current_sign_in_at"
36
+ t.datetime "last_sign_in_at"
37
+ t.string "current_sign_in_ip"
38
+ t.string "last_sign_in_ip"
39
+ t.integer "failed_attempts", default: 0, null: false
40
+ t.string "unlock_token"
41
+ t.datetime "locked_at"
42
+ t.datetime "created_at", null: false
43
+ t.datetime "updated_at", null: false
44
+ end
45
+
46
+ add_index "roroacms_admins", ["email"], name: "index_admins_on_email", unique: true, using: :btree
47
+ add_index "roroacms_admins", ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true, using: :btree
48
+ add_index "roroacms_admins", ["username"], name: "unique_username", unique: true, using: :btree
49
+
50
+ create_table "roroacms_comments", force: true do |t|
51
+ t.integer "post_id"
52
+ t.text "author"
53
+ t.text "email"
54
+ t.text "website"
55
+ t.text "comment"
56
+ t.text "comment_approved"
57
+ t.text "parent_id"
58
+ t.datetime "submitted_on"
59
+ t.datetime "created_at", null: false
60
+ t.datetime "updated_at", null: false
61
+ t.string "is_spam", limit: 1, default: "N"
62
+ t.string "ancestry"
63
+ end
64
+
65
+ add_index "roroacms_comments", ["ancestry"], name: "index_comments_on_ancestry", using: :btree
66
+
67
+ create_table "roroacms_menu_options", force: true do |t|
68
+ t.integer "menu_id"
69
+ t.integer "option_id"
70
+ t.integer "parent_id"
71
+ t.string "data_type"
72
+ t.integer "lft"
73
+ t.integer "rgt"
74
+ t.string "label"
75
+ t.text "custom_data"
76
+ end
77
+
78
+ create_table "roroacms_menus", force: true do |t|
79
+ t.string "name"
80
+ t.string "key"
81
+ end
82
+
83
+ create_table "roroacms_posts", force: true do |t|
84
+ t.integer "admin_id"
85
+ t.datetime "post_date"
86
+ t.text "post_content"
87
+ t.text "post_title"
88
+ t.text "cover_image"
89
+ t.string "post_status"
90
+ t.string "post_template"
91
+ t.integer "parent_id"
92
+ t.string "post_type"
93
+ t.text "post_slug"
94
+ t.string "post_visible", default: "Y"
95
+ t.text "post_additional_data"
96
+ t.integer "sort_order"
97
+ t.datetime "created_at", null: false
98
+ t.datetime "updated_at", null: false
99
+ t.string "disabled", limit: 1, default: "N"
100
+ t.string "post_seo_title"
101
+ t.text "post_seo_description"
102
+ t.string "post_seo_is_disabled", default: "N"
103
+ t.string "post_seo_no_index", default: "N"
104
+ t.string "post_seo_no_follow", default: "N"
105
+ t.string "ancestry"
106
+ t.text "structured_url"
107
+ end
108
+
109
+ add_index "roroacms_posts", ["ancestry"], name: "index_posts_on_ancestry", using: :btree
110
+
111
+ create_table "roroacms_settings", force: true do |t|
112
+ t.string "setting_name"
113
+ t.text "setting"
114
+ t.string "type_of_setting", limit: 11
115
+ t.datetime "created_at", null: false
116
+ t.datetime "updated_at", null: false
117
+ end
118
+
119
+ create_table "roroacms_term_anatomies", force: true do |t|
120
+ t.integer "term_id"
121
+ t.string "taxonomy"
122
+ t.datetime "created_at", null: false
123
+ t.datetime "updated_at", null: false
124
+ end
125
+
126
+ create_table "roroacms_term_relationships", force: true do |t|
127
+ t.integer "post_id"
128
+ t.integer "term_id"
129
+ t.datetime "created_at", null: false
130
+ t.datetime "updated_at", null: false
131
+ end
132
+
133
+ add_index "roroacms_term_relationships", ["post_id"], name: "post_id", using: :btree
134
+
135
+ create_table "roroacms_terms", force: true do |t|
136
+ t.string "name"
137
+ t.string "slug"
138
+ t.text "structured_url"
139
+ t.text "description"
140
+ t.integer "parent_id"
141
+ t.datetime "created_at", null: false
142
+ t.datetime "updated_at", null: false
143
+ t.text "cover_image"
144
+ t.string "ancestry"
145
+ end
146
+
147
+ add_index "roroacms_terms", ["ancestry"], name: "index_terms_on_ancestry", using: :btree
148
+
149
+ end
@@ -1,67 +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>
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>
@@ -1,67 +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>
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>