mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Merge pull request #460 from karthigb/master
Issue #1 - improve 404 page
This commit is contained in:
commit
7a670feefb
2 changed files with 14 additions and 0 deletions
9
app/styles/not_found.sass
Normal file
9
app/styles/not_found.sass
Normal file
|
@ -0,0 +1,9 @@
|
|||
@import "bootstrap/mixins"
|
||||
@import "bootstrap/variables"
|
||||
|
||||
#not-found-view
|
||||
|
||||
.not-found-image
|
||||
display: block
|
||||
margin-left: auto
|
||||
margin-right: auto
|
|
@ -3,3 +3,8 @@ extends /templates/base
|
|||
block content
|
||||
|
||||
h1.text-center(data-i18n="not_found.page_not_found") Page Not Found
|
||||
|
||||
num = Math.floor(Math.random() * 3) + 1
|
||||
|
||||
img(src="/images/pages/not_found/404_#{num}.png" class="not-found-image")
|
||||
|
||||
|
|
Loading…
Reference in a new issue