diff options
Diffstat (limited to 'guides/code')
| -rw-r--r-- | guides/code/getting_started/Gemfile | 2 | ||||
| -rw-r--r-- | guides/code/getting_started/public/404.html | 26 | ||||
| -rw-r--r-- | guides/code/getting_started/public/422.html | 24 | ||||
| -rw-r--r-- | guides/code/getting_started/public/500.html | 26 | 
4 files changed, 39 insertions, 39 deletions
diff --git a/guides/code/getting_started/Gemfile b/guides/code/getting_started/Gemfile index b355c7d91a..dca00b43cd 100644 --- a/guides/code/getting_started/Gemfile +++ b/guides/code/getting_started/Gemfile @@ -23,7 +23,7 @@ gem 'jquery-rails'  gem 'turbolinks'  # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder -gem 'jbuilder', '~> 1.0.1' +gem 'jbuilder', '~> 1.2'  # To use ActiveModel has_secure_password  # gem 'bcrypt-ruby', '~> 3.0.0' diff --git a/guides/code/getting_started/public/404.html b/guides/code/getting_started/public/404.html index ae7b8649ae..3d287b135d 100644 --- a/guides/code/getting_started/public/404.html +++ b/guides/code/getting_started/public/404.html @@ -2,16 +2,15 @@  <html>  <head>    <title>The page you were looking for doesn't exist (404)</title> - <style> -  body  -  { -    background-color: #efefef; +  <style> +  body { +    background-color: #EFEFEF;      color: #2E2F30;      text-align: center; -    font-family: arial,sans-serif; +    font-family: arial, sans-serif;    } -  div.dialog -  { + +  div.dialog {      width: 25em;      margin: 4em auto 0 auto;      border: 1px solid #CCC; @@ -24,17 +23,18 @@      background-color: white;      padding: 7px 4em 0 4em;    } -  h1{ + +  h1 {      font-size: 100%;      color: #730E15;      line-height: 1.5em;    } -  body>p -  { -    width: 33em;  + +  body > p { +    width: 33em;      margin: 0 auto 1em;      padding: 1em 0; -    background-color: #f7f7f7; +    background-color: #F7F7F7;      border: 1px solid #CCC;      border-right-color: #999;      border-bottom-color: #999; @@ -42,7 +42,7 @@      border-bottom-right-radius: 4px;      border-top-color: #DADADA;      color: #666; -    box-shadow: 0 3px 8px rgba(50,50,50,0.17); +    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);    }    </style>  </head> diff --git a/guides/code/getting_started/public/422.html b/guides/code/getting_started/public/422.html index 0b64eb4ae9..3b946bf4a4 100644 --- a/guides/code/getting_started/public/422.html +++ b/guides/code/getting_started/public/422.html @@ -2,16 +2,15 @@  <html>  <head>    <title>The change you wanted was rejected (422)</title> - <style> -  body -  { -    background-color: #efefef; +  <style> +  body { +    background-color: #EFEFEF;      color: #2E2F30;      text-align: center; -    font-family: arial,sans-serif; +    font-family: arial, sans-serif;    } -  div.dialog -  { + +  div.dialog {      width: 25em;      margin: 4em auto 0 auto;      border: 1px solid #CCC; @@ -24,17 +23,18 @@      background-color: white;      padding: 7px 4em 0 4em;    } -  h1{ + +  h1 {      font-size: 100%;      color: #730E15;      line-height: 1.5em;    } -  body>p -  { + +  body > p {      width: 33em;      margin: 0 auto 1em;      padding: 1em 0; -    background-color: #f7f7f7; +    background-color: #F7F7F7;      border: 1px solid #CCC;      border-right-color: #999;      border-bottom-color: #999; @@ -42,7 +42,7 @@      border-bottom-right-radius: 4px;      border-top-color: #DADADA;      color: #666; -    box-shadow: 0 3px 8px rgba(50,50,50,0.17); +    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);    }    </style>  </head> diff --git a/guides/code/getting_started/public/500.html b/guides/code/getting_started/public/500.html index 9641851e74..ccc4ad5656 100644 --- a/guides/code/getting_started/public/500.html +++ b/guides/code/getting_started/public/500.html @@ -2,16 +2,15 @@  <html>  <head>    <title>We're sorry, but something went wrong (500)</title> - <style> -  body  -  { -    background-color: #efefef; +  <style> +  body { +    background-color: #EFEFEF;      color: #2E2F30;      text-align: center; -    font-family: arial,sans-serif; +    font-family: arial, sans-serif;    } -  div.dialog -  { + +  div.dialog {      width: 25em;      margin: 4em auto 0 auto;      border: 1px solid #CCC; @@ -24,17 +23,18 @@      background-color: white;      padding: 7px 4em 0 4em;    } -  h1{ + +  h1 {      font-size: 100%;      color: #730E15;      line-height: 1.5em;    } -  body>p -  { -    width: 33em;  + +  body > p { +    width: 33em;      margin: 0 auto 1em;      padding: 1em 0; -    background-color: #f7f7f7; +    background-color: #F7F7F7;      border: 1px solid #CCC;      border-right-color: #999;      border-bottom-color: #999; @@ -42,7 +42,7 @@      border-bottom-right-radius: 4px;      border-top-color: #DADADA;      color: #666; -    box-shadow: 0 3px 8px rgba(50,50,50,0.17); +    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);    }    </style>  </head>  | 
