Skip to content

Commit

Permalink
#15 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
Larain committed Dec 9, 2017
1 parent 97b7e2b commit 92630dd
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions src/main/webapp/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>Page Not Found</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico" />
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<style>

* {
Expand Down Expand Up @@ -38,6 +39,10 @@
width: 280px;
}

.error-template {padding: 40px 15px;text-align: center;}
.error-actions {margin-top:15px;margin-bottom:15px;}
.error-actions .btn { margin-right:10px; }

@media only screen and (max-width: 280px) {

body, p {
Expand All @@ -54,8 +59,27 @@
</style>
</head>
<body>
<h1>Page Not Found</h1>
<p>Sorry, but the page you were trying to view does not exist.</p>

<style type="text/css">
</style>

<div class="container">
<div class="row">
<div class="col-md-12">
<div class="error-template">
<h1>Page Not Found</h1>
<p>Sorry, but the page you were trying to view does not exist.</p>
<div class="error-actions">
<a href="/home" class="btn btn-primary btn-lg"><span class="glyphicon glyphicon-home"></span>
Take Me Home </a><a href="/home" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-envelope"></span> Contact Support </a>
</div>
</div>
</div>
</div>
</div>



</body>
</html>
<!-- IE needs 512+ bytes: http://blogs.msdn.com/b/ieinternals/archive/2010/08/19/http-error-pages-in-internet-explorer.aspx -->

0 comments on commit 92630dd

Please sign in to comment.