commit
3306e5a7e6
|
@ -75,7 +75,6 @@ Router.map ->
|
|||
@route 'repositories', path: '/'
|
||||
# @route 'running', path: '/running'
|
||||
|
||||
@route 'error404', path: '/*path'
|
||||
# @route 'error404', path: '/404'
|
||||
@route 'error404', path: '/404'
|
||||
|
||||
`export default Router`
|
||||
|
|
|
@ -23,8 +23,7 @@ Route = TravisRoute.extend
|
|||
login = transition.params.owner.owner
|
||||
|
||||
message = if error.status == 404
|
||||
# @transitionTo('/404')
|
||||
"Couldn't find an owner with login \"#{login}\""
|
||||
@transitionTo('error404')
|
||||
else
|
||||
"There was an error while loading data, please try again."
|
||||
|
||||
|
|
|
@ -112,11 +112,9 @@
|
|||
display: block
|
||||
.hill-right
|
||||
background-image: url(../images/error/404-hills-right.svg)
|
||||
@include error-position-img(auto 20vw, 99% 58%)
|
||||
@include error-position-img(auto 20vw, 99% 60%)
|
||||
@media #{$medium-up}
|
||||
@include error-position-img(50vw auto, 99% 58%)
|
||||
@media #{$large-up}
|
||||
@include error-position-img(50vw auto, 99% 54%)
|
||||
.error-excavator
|
||||
background-image: url(../images/error/excavator.svg)
|
||||
@include error-position-img(auto 25vh, 71% 83%)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<div id="top" class="top">
|
||||
{{render 'top'}}
|
||||
</div>
|
||||
<header id="top" class="top">
|
||||
<div class="centered">
|
||||
{{render "top"}}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main main--error" role="main">
|
||||
{{yield}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="wrapper">
|
||||
<header id="top" class="topbar">
|
||||
<header id="top" class="top">
|
||||
<div class="centered">
|
||||
{{render "top"}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user