Permalink
Browse files

Expunge the last vestiges of the deploy:web:{disable, enable} tasks

  • Loading branch information...
1 parent 58a9b7a commit 28c484f1f5e6a009d1b8ff07d85e924d6f947d3c @carsomyr carsomyr committed Oct 24, 2012
@@ -32,9 +32,6 @@ def _cset(name, *args, &block)
_cset :rails_env, "production"
_cset :rake, "rake"
-_cset :maintenance_basename, "maintenance"
-_cset(:maintenance_template_path) { File.join(File.dirname(__FILE__), "templates", "maintenance.rhtml") }
-
# =========================================================================
# These variables should NOT be changed unless you are very confident in
# what you are doing. Make sure you understand all the implications of your
@@ -1,53 +0,0 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <title>System down for maintenance</title>
-
- <style type="text/css">
- div.outer {
- position: absolute;
- left: 50%;
- top: 50%;
- width: 500px;
- height: 300px;
- margin-left: -260px;
- margin-top: -150px;
- }
-
- .DialogBody {
- margin: 0;
- padding: 10px;
- text-align: left;
- border: 1px solid #ccc;
- border-right: 1px solid #999;
- border-bottom: 1px solid #999;
- background-color: #fff;
- }
-
- body { background-color: #fff; }
- </style>
-</head>
-
-<body>
-
- <div class="outer">
- <div class="DialogBody" style="text-align: center;">
- <div style="text-align: center; width: 200px; margin: 0 auto;">
- <p style="color: red; font-size: 16px; line-height: 20px;">
- The system is down for <%= reason ? reason : "maintenance" %>
- as of <%= Time.now.strftime("%H:%M %Z") %>.
- </p>
- <p style="color: #666;">
- It'll be back <%= deadline ? deadline : "shortly" %>.
- </p>
- </div>
- </div>
- </div>
-
-</body>
-</html>
@@ -1,53 +0,0 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <title>System down for maintenance</title>
-
- <style type="text/css">
- div.outer {
- position: absolute;
- left: 50%;
- top: 50%;
- width: 500px;
- height: 300px;
- margin-left: -260px;
- margin-top: -150px;
- }
-
- .DialogBody {
- margin: 0;
- padding: 10px;
- text-align: left;
- border: 1px solid #ccc;
- border-right: 1px solid #999;
- border-bottom: 1px solid #999;
- background-color: #fff;
- }
-
- body { background-color: #fff; }
- </style>
-</head>
-
-<body>
-
- <div class="outer">
- <div class="DialogBody" style="text-align: center;">
- <div style="text-align: center; width: 200px; margin: 0 auto;">
- <p style="color: red; font-size: 16px; line-height: 20px;">
- The system is down for <%= reason ? reason : "maintenance" %>
- as of <%= Time.now.strftime("%H:%M %Z") %>.
- </p>
- <p style="color: #666;">
- It'll be back <%= deadline ? deadline : "shortly" %>.
- </p>
- </div>
- </div>
- </div>
-
-</body>
-</html>

0 comments on commit 28c484f

Please sign in to comment.