FogBugz #132: Switch from static welcome page to ERB template.
This commit is contained in:
parent
9ae86d4c6a
commit
3bf2941096
3 changed files with 52 additions and 49 deletions
3
app/controllers/welcome_controller.rb
Normal file
3
app/controllers/welcome_controller.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
class WelcomeController < ApplicationController
|
||||
end
|
||||
49
app/views/layouts/welcome.html.erb
Normal file
49
app/views/layouts/welcome.html.erb
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Contact-o-Rama: comming soon!</title>
|
||||
<style type="text/css" media="screen">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #ffffff;
|
||||
font-family: Georgia, 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
|
||||
color: #777;
|
||||
}
|
||||
.container { width: 70%; text-align: left; margin: 0 0 0 5%; position:absolute; top:30%; }
|
||||
.title { margin-bottom: 30px; }
|
||||
.signup_form { margin-top: 11ex; }
|
||||
h1 { font-weight: normal; font-size: 45px; display: inline; }
|
||||
h2 { font-weight: }
|
||||
p { font-size: 18px; }
|
||||
a { color: #777; text-decoration: none; }
|
||||
#logo-orange { color: orange; }
|
||||
#logo-black { color: black; }
|
||||
div.footer p, div.footer a {
|
||||
color: #aaa;
|
||||
font-size: 10px;
|
||||
margin-top: 3ex;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<%= yield %>
|
||||
<div class="footer">
|
||||
<p>© 2012 Tailorama · <a href="http://tailorama.com/impressum/">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.gasbottle-county.eu/" : "http://piwik.gasbottle-county.eu/");
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script><script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 10);
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
</script><noscript><p><img src="http://piwik.gasbottle-county.eu/piwik.php?idsite=10" style="border:0" alt="" /></p></noscript>
|
||||
<!-- End Piwik Tracking Code -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,32 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Contact-o-Rama: comming soon!</title>
|
||||
<style type="text/css" media="screen">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #ffffff;
|
||||
font-family: Georgia, 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
|
||||
color: #777;
|
||||
}
|
||||
.container { width: 70%; text-align: left; margin: 0 0 0 5%; position:absolute; top:30%; }
|
||||
.title { margin-bottom: 30px; }
|
||||
.signup_form { margin-top: 11ex; }
|
||||
h1 { font-weight: normal; font-size: 45px; display: inline; }
|
||||
h2 { font-weight: }
|
||||
p { font-size: 18px; }
|
||||
a { color: #777; text-decoration: none; }
|
||||
#logo-orange { color: orange; }
|
||||
#logo-black { color: black; }
|
||||
div.footer p, div.footer a {
|
||||
color: #aaa;
|
||||
font-size: 10px;
|
||||
margin-top: 3ex;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="title"><h1><span id="logo-orange">Contact</span><span id="logo-black">-o-Rama</span> is in some stage of beta testing.</div>
|
||||
<div>
|
||||
|
|
@ -232,23 +203,3 @@ function mce_success_cb(resp){
|
|||
</div> <!-- End signup_form -->
|
||||
|
||||
<p><a href="/users/sign_in">Got an invite already? Then sign in!</a></p>
|
||||
|
||||
<div class="footer">
|
||||
<p>© 2012 Tailorama · <a href="http://tailorama.com/impressum/">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.gasbottle-county.eu/" : "http://piwik.gasbottle-county.eu/");
|
||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script><script type="text/javascript">
|
||||
try {
|
||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 10);
|
||||
piwikTracker.trackPageView();
|
||||
piwikTracker.enableLinkTracking();
|
||||
} catch( err ) {}
|
||||
</script><noscript><p><img src="http://piwik.gasbottle-county.eu/piwik.php?idsite=10" style="border:0" alt="" /></p></noscript>
|
||||
<!-- End Piwik Tracking Code -->
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue