Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design not found view #74

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/components/not-found/not-found.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

/**
* @author Jamie jamie.h@inwinstack.com
*/

.notFound {
margin: auto;
top: -88px;
}

.notFound .md-headline {
color: #777;
}
7 changes: 4 additions & 3 deletions src/components/not-found/not-found.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<md-content class="notFound" flex-offset="20" flex="60" layout="column">
<h3 class="md-headline">404 Not Found.</h3>
</md-content>
<md-content class="notFound" layout="column" layout-align="center center">
<div class="md-display-4">404</div>
<div class="md-headline" translate>Oops! That file can't be found...</div>
</md-content>
2 changes: 2 additions & 0 deletions src/components/not-found/not-found.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { module } from 'angular';
import router from 'angular-ui-router';
import NotFoundTemplate from './not-found.html';

import './not-found.css';

/** @ngInject */
const route = $stateProvider => {
$stateProvider.state('not-found', {
Expand Down