Skip to content

Commit

Permalink
Merge pull request #16 from apeps/feature/404-page
Browse files Browse the repository at this point in the history
#15 404-page
  • Loading branch information
Larain authored Dec 9, 2017
2 parents 130759f + b827ac0 commit 5d051ff
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 5d051ff

Please sign in to comment.