From 1f6c9de37a2e6202046396b5f4e31a305ea43772 Mon Sep 17 00:00:00 2001 From: Henrik Joreteg Date: Thu, 17 Oct 2013 13:48:02 -0700 Subject: [PATCH] adding email signup form to login screen --- public/css/app/aux.styl | 2 ++ public/css/otalk.css | 3 +++ public/x-manifest.cache | 2 +- views/login.jade | 18 ++++++++++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/public/css/app/aux.styl b/public/css/app/aux.styl index e7aa9d9..492ae2c 100644 --- a/public/css/app/aux.styl +++ b/public/css/app/aux.styl @@ -46,6 +46,8 @@ margin: 0 padding-bottom: 20px +#loginbox + margin-bottom: 120px @media screen and (min-width: 768px) diff --git a/public/css/otalk.css b/public/css/otalk.css index 7836123..a06424a 100644 --- a/public/css/otalk.css +++ b/public/css/otalk.css @@ -984,6 +984,9 @@ h3 { margin: 0; padding-bottom: 20px; } +#loginbox { + margin-bottom: 120px; +} @media screen and (min-width: 768px) { .box { width: 50%; diff --git a/public/x-manifest.cache b/public/x-manifest.cache index 35f43d0..cd7ecf6 100644 --- a/public/x-manifest.cache +++ b/public/x-manifest.cache @@ -1,5 +1,5 @@ CACHE MANIFEST -# 0.0.1 1381956210504 +# 0.0.1 1382039171877 CACHE: /app.js diff --git a/views/login.jade b/views/login.jade index 48d7b52..c0dc5a9 100644 --- a/views/login.jade +++ b/views/login.jade @@ -1,6 +1,24 @@ extends layout block content + a(href="https://github.com/andyet/otalk") + img(style="position: absolute; top: 0; left: 0; border: 0;", src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub") + section#signupBox.content.box + .head + h2 What is Otalk? + + .content + p Otalk is an open source chat client powered XMPP, stanza.io, and WebRTC. You can think of it as an open source alternative to Skype. + p There's much work still to be done, keep up-to-date by subscribing to the email list. + p You can also track the project on GitHub. + + form(action="http://andyet.createsend.com/t/r/s/trulhji/" method="post") + .fieldContainer + label(for='fieldEmail') Email + input#fieldEmail(type='email', name="cm-trulhji-trulhji", placeholder='you@aweso.me', required) + button(type='submit') Subscribe to updates! + + section#loginbox.content.box .head h2