Skip to content

Commit

Permalink
Down for maintenance page
Browse files Browse the repository at this point in the history
  • Loading branch information
redox committed Apr 17, 2015
1 parent bbf77d1 commit 379597e
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -31,6 +31,7 @@ gem 'rest-client'
gem 'angularjs-rails', '1.3.9'
gem 'angular-rails-templates'
gem 'actionpack-action_caching'
gem 'turnout'

gem 'firebase'
gem "eventmachine", "~> 1.0.3"
Expand Down
6 changes: 6 additions & 0 deletions Gemfile.lock
Expand Up @@ -233,6 +233,8 @@ GEM
quiet_assets (1.0.3)
railties (>= 3.1, < 5.0)
rack (1.5.2)
rack-accept (0.4.5)
rack (>= 0.4)
rack-livereload (0.3.15)
rack
rack-test (0.6.2)
Expand Down Expand Up @@ -318,6 +320,9 @@ GEM
tilt (1.4.1)
timers (4.0.1)
hitimes
turnout (2.1.0)
rack (~> 1.3)
rack-accept (~> 0.4)
typhoeus (0.6.9)
ethon (>= 0.7.1)
tzinfo (0.3.41)
Expand Down Expand Up @@ -391,5 +396,6 @@ DEPENDENCIES
terminal-notifier-guard
therubyracer
thin
turnout
uglifier (>= 1.3.0)
whenever
50 changes: 50 additions & 0 deletions public/maintenance.html
@@ -0,0 +1,50 @@
<html>
<head>
<title>HackerNews Search » Website down for maintenance</title>
<style>
body {
background-color: #fff;
}
.root {
position:absolute
width: 100%;
height: 100%;
}
.container {
position:absolute; top:200px; left:50%; width:40em; margin-left:-20em;
vertical-align: middle;
background-color: #eee;
border: 1px solid;
padding: 30px;
border-color: #aaa;
max-width: 550px;
text-align: center;
}

.title {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
color: #FF742B;
letter-spacing: 0.10em;
font-size: 30px;
}

.subtitle {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
color:#6a7988;
letter-spacing: 0.10em;
font-size: 20px;
}

</style>
</head>
<body>
<div class="root">
<div class="container">
<p class="title">Down for Maintenance</p>
<p class="subtitle">HackerNews Search is temporarily down for maintenance. Please check back soon.</p>
</div>
</div>
</body>
</html>

0 comments on commit 379597e

Please sign in to comment.