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