From cc0629337708a67092d7e9aff61974a27a363c5f Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 11:28:12 -0400 Subject: [PATCH 1/2] Redesign error pages --- .../stylesheets/app/components/equator.scss | 11 ----- app/views/errors/error.html.erb | 16 ++----- app/views/errors/not_found.html.erb | 43 +++++++------------ 3 files changed, 20 insertions(+), 50 deletions(-) delete mode 100644 app/assets/stylesheets/app/components/equator.scss diff --git a/app/assets/stylesheets/app/components/equator.scss b/app/assets/stylesheets/app/components/equator.scss deleted file mode 100644 index b1e179b84..000000000 --- a/app/assets/stylesheets/app/components/equator.scss +++ /dev/null @@ -1,11 +0,0 @@ -.equator { - display: table; - width: 100%; - height: 100%; /* For Firefox */ - min-height: 100%; -} - -.equator-container { - display: table-cell; - vertical-align: middle; -} diff --git a/app/views/errors/error.html.erb b/app/views/errors/error.html.erb index 5c025cb0d..fc3c35612 100644 --- a/app/views/errors/error.html.erb +++ b/app/views/errors/error.html.erb @@ -1,13 +1,5 @@ - diff --git a/app/views/errors/not_found.html.erb b/app/views/errors/not_found.html.erb index 0784fca20..f5666f712 100644 --- a/app/views/errors/not_found.html.erb +++ b/app/views/errors/not_found.html.erb @@ -1,35 +1,24 @@ <%= render 'shared/navbar' %> -