Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added page template

  • Loading branch information...
commit 211956f4cd7a878eea40d7c7d4ae9c473f4fdfef 1 parent cecec6f
@treeder treeder authored
Showing with 112 additions and 1 deletion.
  1. +1 −1  hello.rb
  2. +111 −0 views/hello.erb
View
2  hello.rb
@@ -1,7 +1,7 @@
require 'sinatra'
get '/' do
- "Hello from Sinatra on Heroku!"
+ erb :hello
end
get '*' do
View
111 views/hello.erb
@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset='utf-8'>
+
+ <title>SimpleWorker is now IronWorker</title>
+
+ <style type="text/css">
+ body {
+ margin-top: 1.0em;
+ /*background-color: #ee2965;*/
+ font-family: Helvetica, Arial, FreeSans, san-serif;
+ /*color: #ffffff;*/
+ }
+
+ #container {
+ margin: 0 auto;
+ width: 700px;
+ }
+
+ h1 {
+ font-size: 3.8em;
+ color: #1e90ff;
+ margin-bottom: 3px;
+ }
+
+ h1 .small {
+ font-size: 0.4em;
+ }
+
+ h1 a {
+ text-decoration: none
+ }
+
+ h2 {
+ font-size: 1.5em;
+ color: #1e90ff;
+ }
+
+ h3 {
+ text-align: center;
+ color: #1e90ff;
+ }a
+
+ a {
+ color: #1e90ff;
+ }
+
+ .description {
+ font-size: 1.2em;
+ margin-bottom: 30px;
+ margin-top: 30px;
+ font-style: italic;
+ }
+
+ .download {
+ float: right;
+ }
+
+ pre {
+ background: #000;
+ color: #fff;
+ padding: 15px;
+ }
+
+ hr {
+ border: 0;
+ width: 80%;
+ border-bottom: 1px solid #aaa
+ }
+
+ .footer {
+ text-align: center;
+ padding-top: 30px;
+ font-style: italic;
+ }
+ </style>
+</head>
+
+<body>
+
+<div id="container">
+
+ <h1><a href="htt://www.iron.io">SimpleWorker is now IronWorker</a></h1>
+
+ <div class="description">
+ SimpleWorker is now an <a href="http://www.iron.io">Iron.io</a> product.
+ Same great product, different name.
+ <br/><br/>
+ If you already have an account and need to login, please go to <a href="http://hud.iron.io">hud.iron.io</a>.
+ <br/><br/>
+ If you want to learn more or sign up, please go to <a href="http://www.iron.io">www.iron.io</a>.
+ </div>
+
+
+ <h2>Contact</h2>
+
+ <p>
+ Iron.io (support@iron.io)
+ </p>
+
+
+ <div class="footer">
+
+ </div>
+
+</div>
+
+</body>
+</html>
+
Please sign in to comment.
Something went wrong with that request. Please try again.