Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Yasinsky committed Mar 27, 2013
1 parent a86c010 commit 81890fc
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 70 deletions.
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
<style>
.jumbotron {
margin: 40px 0;
text-align: center;
text-align: left;
}
.jumbotron h1 {
font-size: 62px;
font-size: 32px;
line-height: 1;
}
.jumbotron .btn {
font-size: 21px;
font-size: 16px;
padding: 14px 24px;
}
</style>
<div class="jumbotron message hidden-phone">
<h1>We fight spam for freedom</h1>

<p class="lead" >
Make up <span class='hl-underline'>ANY</span> <span class='hl-yellow'>address@oopzy.com</span> and start using it, no need to register anywhere.</br>
We suggest your mail box contains <span class='hl-underline'>at least 6 characters</span> make it a secure one.</br>
You can choose to save or forward your mails from any given address later...</br>
<a class='hl-underline'>see how it works in details..</a>
</p>
<p class='hidden-phone'><img src='/assets/images/oopzybig.png'/></p>
<h2>Donate $1 today</h2>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="G8RMAH3HM4NES">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<h1>Spam free forever</h1>
&nbsp;
<p>
Everytime you use your email address you are exposed to spam. Spam will follow you when your email gets sold or stolen. No one is immune. Resistance is Futile...That was true now.
<p>
We provide simple and very effective way of stopping unwanted email, even if spammers get hold of your email.
<p>
Here how it works:
<p>
Install FREE Oopzy Phone app [here]
<p>
1. You are asked to register for an account on SuperAwesomeNiceWidgets.com. Give them your public Oopzy email from phone app or just make one up it be waiting for you.
<p>
2. Emails from SuperAwesomeNiceWidgets.com will arrive to this account., you can read them from this website or phone app.
<p>
3. If you like you can set forwarding of email arriving from SuperAwesomeNiceWidgets.com to this public box.
<p>
4.When (Not If) your Oopzy emaill gets spammed, spam will never get to you, as forwarding is only allowed for SuperAwesomeNiceWidgets.com
<p>
5. If you want to stop receiving email from SuperAwesomeNiceWidgets.com just stop forwarding and you are free...

</div>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
margin-right: auto;
padding-bottom: 10px;
padding-top: 10px;
text-align: center;
text-align: left;
width: 100%;
}

Expand Down Expand Up @@ -96,6 +96,10 @@
color:#006400;
}

.container{
width:100%;
}

</style>

<script>
Expand Down Expand Up @@ -155,10 +159,8 @@
<div class="mini-layout navbar">
<div class="mini-layout-body">
<div id='form' class='form-inline'>
<span id="result"></span><input id='mailbox' class='input-mailbox' value='<?php echo $box;?>'><span id='label'>@<?php echo HOST_NAME; ?></span></input><button id='submit' class='submit-btn btn btn-success btn-large'> <i class="icon-envelope"></i> receive </button>
<label class="checkbox">
<input type="checkbox" id='rememberme' class='rememberme' <?php echo $rememberme;?>> Remember me
</label>
<input id='mailbox' class='input-mailbox' value='<?php echo $box;?>'><span id='label'>@<?php echo HOST_NAME; ?></span>
<button id='submit' class='submit-btn btn btn-success btn-large'> <i class="icon-envelope"></i> receive </button>
</div>
</div>
<div id='messages'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
save_3:'Forward all emails from:',
save_4:'to this email.',
whycare:'why care?',
initbox: 'Enter Your Mail',
initbox: 'Enter Your Oopzy',
invalidfirst:'1st must be alfa numeric',
nomessages:'No new messages'
};
Expand Down Expand Up @@ -146,6 +146,8 @@ function done(){
background-color: #dceaf4;
margin: 0 auto;
width: 100%;
padding-left:5px;
text-align:left;
}
.mini-layout.fluid .mini-layout-sidebar,
.mini-layout.fluid .mini-layout-header,
Expand All @@ -166,18 +168,14 @@ function done(){
font-size: 11px;
margin-left: auto;
margin-right: auto;
padding-bottom: 10px;
padding-top: 10px;
text-align: center;
padding: 10px;
text-align: left;
width: 100%;
height:20px; /* Height of the footer */
}

.specialImage{
position:fixed;
bottom:0;
left:0;
z-index:100; /* or higher/lower depending on other elements */
#navbar {
width: 100%;
}

</style>
Expand All @@ -187,7 +185,7 @@ function done(){

<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div id='navbar' class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ function( jQuery, Backbone) {
// Delegated events for creating new items, and clearing completed ones.
events: {
"click .submit-btn" : "getMessages",
"click .rememberme" : "rememberMe",
"click A.saveme" : "saveMe",
"click A.deleteme" : "deleteMe",
"keyup .input-mailbox" : "checkMe",
"click .input-mailbox" : "checkValue",
"click .more" : "openUp",
"click .less" : "closeDown"
Expand All @@ -57,12 +55,6 @@ function( jQuery, Backbone) {
}

},
checkMe: function(e){
var res = checkStrength($(e.currentTarget).val());
$('#result').removeClass();
$('#result').addClass(res);
$('#result').html( Conf.messages[res] + " <a class='whycare'>" + Conf.messages.whycare + "</a>");
},
saveMe: function(e){
Conf.ref = $(e.currentTarget).attr('ref');
Conf.autofrom = $(e.currentTarget).attr('from');
Expand All @@ -79,18 +71,15 @@ function( jQuery, Backbone) {
},
prewire: function(e){

if($('.rememberme').is(':checked'))
{
var box = readCookie('oopzybox');
if( box.length > 2)
{
$('#mailbox').val(box);
setTimeout(function(){
$('.submit-btn').trigger('click');
},2000);
}
}

var box = readCookie('oopzybox');
if( box.length > 2)
{
$('#mailbox').val(box);
setTimeout(function(){
$('.submit-btn').trigger('click');
},2000);
}

$('#savepop').append(Conf.JST['tl/save'](Conf.messages));
$( "#save-confirm" ).dialog({
autoOpen: false,
Expand All @@ -111,7 +100,7 @@ function( jQuery, Backbone) {

var auto = { ref: Conf.ref, to: $('#remailto').val() };

if($('.rememberme').is(':checked'))
if(readCookie('rememberme'))
{
auto['auto'] = 'yes';
auto['autofrom'] = Conf.autofrom;
Expand Down Expand Up @@ -156,28 +145,18 @@ function( jQuery, Backbone) {
}
}
});
}
,
//this changes remember me cookie
rememberMe: function(e){
var $this = $(e.currentTarget);
if ($this.is(':checked')) {
createCookie('rememberme','1',365);
} else {
eraseCookie('rememberme');
}
},
getMessages: function(e){

try{

//var p = waiting();
var box = $('.input-mailbox').val();

if($('.rememberme').is(':checked'))
{
createCookie('oopzybox',box,365);
}
if (!readCookie('rememberme')) {
createCookie('rememberme','1',365);
createCookie('oopzybox',box,365);
}

box = encodeURIComponent(box);
var api_url = Conf.api.home + '/api/messages/' + box;
Expand Down

0 comments on commit 81890fc

Please sign in to comment.