Skip to content

Commit

Permalink
format error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
smpallen99 committed May 10, 2018
1 parent 672e345 commit 5df358b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/infinity_one_web/templates/error/404.html.eex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<link href="/css/infinity_one_pages.css" rel="stylesheet">
<div class="error_page">
<div class="container">
<div class="row-fluid">
<img src="/images/400art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Page not found (404)</h1>
Expand Down
2 changes: 1 addition & 1 deletion lib/infinity_one_web/templates/error/500.html.eex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<link href="/css/infinity_one_pages.css" rel="stylesheet">
<div class="error_page">
<div class="container">
<div class="row-fluid">
<img src="/static/images/500art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Internal server error</h1>
Expand Down
2 changes: 1 addition & 1 deletion lib/infinity_one_web/templates/error/505.html.eex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<link href="/css/infinity_one_pages.css" rel="stylesheet">
<div class="error_page">
<div class="container">
<div class="row-fluid">
<img src="/static/images/500art.svg" alt=""/>
<div class="errorbox">
<div class="errorcontent">
<h1 class="lead">Internal server error</h1>
Expand Down
17 changes: 9 additions & 8 deletions plugins/one_pages/assets/css/portico.css
Original file line number Diff line number Diff line change
Expand Up @@ -1160,9 +1160,9 @@ input#terminal:checked ~ #tab-terminal {

.btn-user {
background-color: #ffffff;
border-color: hsl(169, 44%, 54%);
border-color: hsl(135, 38%, 48%);
border-style: solid;
color: hsl(170, 40%, 41%);
color: hsl(136, 33%, 35%);
}

.btn-admin {
Expand Down Expand Up @@ -1372,7 +1372,7 @@ input.new-organization-button {
.top-links a:hover {
text-decoration: none;
background-color: hsla(0, 0%, 100%, 1.0);
color: hsl(170, 50%, 40%);
color: #3c774c;
}

.centered-button {
Expand Down Expand Up @@ -1725,8 +1725,9 @@ input.new-organization-button {

.error_page {
padding: 20px 0px;
min-height: calc(100vh - 290px);
background-color: #c9e9e0;
/*min-height: calc(100vh - 290px);*/
height: 100%;
background-color: #8ac499;
font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}

Expand All @@ -1744,10 +1745,10 @@ input.new-organization-button {

.error_page .errorbox {
margin: auto;
border: 2px solid #44A98C;
border: 2px solid #66b27b;
max-width: 500px;
background-color: white;
box-shadow: 0 0 4px #44A98C;
box-shadow: 0 0 4px #66b27b;
font-size: 18px;
}

Expand All @@ -1765,7 +1766,7 @@ input.new-organization-button {
}

.error_page .lead {
color: #39a688;
color: #4d9961;
font-size: 35px;
margin-bottom: 20px;
line-height: normal;
Expand Down

0 comments on commit 5df358b

Please sign in to comment.