diff --git a/db/schema.rb b/db/schema.rb index 8aafa99ed30d91d35f3e9b6e7c782a1c4cd1d140..d5dd3848f98a04d1bc07a5c37d9b38e1c469da15 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -412,7 +412,7 @@ ActiveRecord::Schema.define(version: 2021_11_23_132213) do t.uuid "research_journal_id", null: false t.uuid "research_journal_volume_id" t.datetime "created_at", precision: 6, null: false - t.datetime "updated_at", precision: 6, null: false + t.date "updated_at", null: false t.uuid "updated_by_id" t.text "abstract" t.text "references" diff --git a/public/403.html b/public/403.html index edacef6a0fcef110042def4252e8ec28893fdc94..673a664c6dda3266ea5c9ba5b154a5371de15a13 100644 --- a/public/403.html +++ b/public/403.html @@ -1,14 +1,19 @@ <!DOCTYPE html> <html lang="fr"> - <head> - <title>You do not have access to this page (403)</title> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width,initial-scale=1"> - <style> + +<head> + <title>You do not have access to this page (403)</title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width,initial-scale=1"> + <style> + body { + padding: 15px; + } .error-page { - font-family: arial, sans-serif; + font-family: sans-serif; margin: 0; + text-align: center; } .error-page div.dialog { @@ -17,8 +22,8 @@ margin: calc(50vh - 140px) auto 0; } - .error-page div.dialog span{ - font-size: 200px; + .error-page div.dialog span { + font-size: 150px; font-weight: 900; letter-spacing: -0.04em; display: block; @@ -27,24 +32,24 @@ } .error-page h1 { - font-size: 16px; + font-size: 14px; line-height: 1.5em; } .error-page h1 em { font-weight: 400; } + </style> +</head> - </style> - </head> <body class="error-page"> - <!-- This file lives in public/500.html --> <div class="dialog"> <span> - 403. + 403 </span> <div> <h1>You do not have access to this page.</h1> </div> - </body> +</body> + </html> diff --git a/public/404.html b/public/404.html index 2be3af26fc5a3d019690b50e0849651dde258794..c8e1da4ad88fe3f62640a5ec0a77eaf33bf44b1c 100644 --- a/public/404.html +++ b/public/404.html @@ -1,67 +1,56 @@ <!DOCTYPE html> <html> + <head> <title>The page you were looking for doesn't exist (404)</title> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <style> - .rails-default-error-page { - background-color: #EFEFEF; - color: #2E2F30; - text-align: center; - font-family: arial, sans-serif; - margin: 0; - } + body { + padding: 15px; + } + + .error-page { + font-family: sans-serif; + margin: 0; + text-align: center; + } - .rails-default-error-page div.dialog { - width: 95%; - max-width: 33em; - margin: 4em auto 0; - } + .error-page div.dialog { + width: 95%; + max-width: 22em; + margin: calc(50vh - 140px) auto 0; + } - .rails-default-error-page div.dialog > div { - border: 1px solid #CCC; - border-right-color: #999; - border-left-color: #999; - border-bottom-color: #BBB; - border-top: #B00100 solid 4px; - border-top-left-radius: 9px; - border-top-right-radius: 9px; - background-color: white; - padding: 7px 12% 0; - box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); - } + .error-page div.dialog span { + font-size: 150px; + font-weight: 900; + letter-spacing: -0.04em; + display: block; + width: 100%; + line-height: 0.9; + } - .rails-default-error-page h1 { - font-size: 100%; - color: #730E15; - line-height: 1.5em; - } + .error-page h1 { + font-size: 14px; + line-height: 1.5em; + } - .rails-default-error-page div.dialog > p { - margin: 0 0 1em; - padding: 1em; - background-color: #F7F7F7; - border: 1px solid #CCC; - border-right-color: #999; - border-left-color: #999; - border-bottom-color: #999; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-top-color: #DADADA; - color: #666; - box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); - } + .error-page h1 em { + font-weight: 400; + } </style> </head> -<body class="rails-default-error-page"> - <!-- This file lives in public/404.html --> +<body class="error-page"> <div class="dialog"> + <span> + 404 + </span> <div> - <h1>The page you were looking for doesn't exist.</h1> - <p>You may have mistyped the address or the page may have moved.</p> + <h1>The page you were looking for doesn't exist.<br><em>You may have mistyped the address or the page may have moved.</em></h1> </div> - <p>If you are the application owner check the logs for more information.</p> </div> </body> + </html> diff --git a/public/422.html b/public/422.html index c08eac0d1df79f30154726ea242c08e0ee851c4b..2aef98b10176632e6a10d2a8a7f65985170f23b6 100644 --- a/public/422.html +++ b/public/422.html @@ -1,67 +1,60 @@ <!DOCTYPE html> <html> + <head> <title>The change you wanted was rejected (422)</title> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> + <style> - .rails-default-error-page { - background-color: #EFEFEF; - color: #2E2F30; - text-align: center; - font-family: arial, sans-serif; - margin: 0; - } + body { + padding: 15px; + } - .rails-default-error-page div.dialog { - width: 95%; - max-width: 33em; - margin: 4em auto 0; - } + .error-page { + font-family: sans-serif; + margin: 0; + text-align: center; + } - .rails-default-error-page div.dialog > div { - border: 1px solid #CCC; - border-right-color: #999; - border-left-color: #999; - border-bottom-color: #BBB; - border-top: #B00100 solid 4px; - border-top-left-radius: 9px; - border-top-right-radius: 9px; - background-color: white; - padding: 7px 12% 0; - box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); - } + .error-page div.dialog { + width: 95%; + max-width: 22em; + margin: calc(50vh - 140px) auto 0; + } - .rails-default-error-page h1 { - font-size: 100%; - color: #730E15; - line-height: 1.5em; - } + .error-page div.dialog span { + font-size: 150px; + font-weight: 900; + letter-spacing: -0.04em; + display: block; + width: 100%; + line-height: 0.9; + } - .rails-default-error-page div.dialog > p { - margin: 0 0 1em; - padding: 1em; - background-color: #F7F7F7; - border: 1px solid #CCC; - border-right-color: #999; - border-left-color: #999; - border-bottom-color: #999; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-top-color: #DADADA; - color: #666; - box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); - } + .error-page h1 { + font-size: 14px; + line-height: 1.5em; + } + + .error-page h1 em { + font-weight: 400; + } </style> </head> -<body class="rails-default-error-page"> - <!-- This file lives in public/422.html --> +<body class="error-page"> <div class="dialog"> + <span> + 422 + </span> <div> - <h1>The change you wanted was rejected.</h1> - <p>Maybe you tried to change something you didn't have access to.</p> + <h1>The change you wanted was rejected. + <br> + <em>Maybe you tried to change something you didn't have access to.</em> + </h1> </div> - <p>If you are the application owner check the logs for more information.</p> </div> </body> + </html> diff --git a/public/500.html b/public/500.html index 78a030af22ea129d02a7745790b79fbe81a9e3ab..03012ca209f995d2a99d581b2b49d90b98ea3104 100644 --- a/public/500.html +++ b/public/500.html @@ -1,66 +1,57 @@ <!DOCTYPE html> <html> + <head> <title>We're sorry, but something went wrong (500)</title> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> + <style> - .rails-default-error-page { - background-color: #EFEFEF; - color: #2E2F30; - text-align: center; - font-family: arial, sans-serif; - margin: 0; - } + body { + padding: 15px; + } - .rails-default-error-page div.dialog { - width: 95%; - max-width: 33em; - margin: 4em auto 0; - } + .error-page { + font-family: sans-serif; + margin: 0; + text-align: center; + } - .rails-default-error-page div.dialog > div { - border: 1px solid #CCC; - border-right-color: #999; - border-left-color: #999; - border-bottom-color: #BBB; - border-top: #B00100 solid 4px; - border-top-left-radius: 9px; - border-top-right-radius: 9px; - background-color: white; - padding: 7px 12% 0; - box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); - } + .error-page div.dialog { + width: 95%; + max-width: 22em; + margin: calc(50vh - 140px) auto 0; + } - .rails-default-error-page h1 { - font-size: 100%; - color: #730E15; - line-height: 1.5em; - } + .error-page div.dialog span { + font-size: 150px; + font-weight: 900; + letter-spacing: -0.04em; + display: block; + width: 100%; + line-height: 0.9; + } - .rails-default-error-page div.dialog > p { - margin: 0 0 1em; - padding: 1em; - background-color: #F7F7F7; - border: 1px solid #CCC; - border-right-color: #999; - border-left-color: #999; - border-bottom-color: #999; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-top-color: #DADADA; - color: #666; - box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); - } + .error-page h1 { + font-size: 14px; + line-height: 1.5em; + } + + .error-page h1 em { + font-weight: 400; + } </style> </head> -<body class="rails-default-error-page"> - <!-- This file lives in public/500.html --> +<body class="error-page"> <div class="dialog"> + <span> + 500 + </span> <div> <h1>We're sorry, but something went wrong.</h1> </div> - <p>If you are the application owner check the logs for more information.</p> </div> </body> + </html>