Project: 0_STAGING Documentation last updated: 2021-02-08 11:43AM
Dashboard | Description | Why do I need this? | When would I use this? |
---|---|---|---|
Non Converted Emails |
# You need some sort of indication that an Ajax transaction exists. jQuery.active doesn't seem to do the | |
# trick, so we use the following JS (well, we use CoffeeScript, but whatever) that gets inserted into | |
# our application. | |
# | |
#$(function() { | |
# var body, doc; | |
# body = $('body'); | |
# doc = $(document); | |
# doc.ajaxStart(function() { | |
# return body.addClass('ajax-in-progress').removeClass('ajax-quiet'); |
I hereby claim:
To claim this, I am signing this object:
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFrXkQkBEADiseikSiBhUd3+rlhe55fRBiCAhfZLvjc83BSyXTMEh5vf8L/7 | |
QgPXPR6dZrTtOspbGaa6ZxyEG6mLNu3wuKw7bQp5vpTs3TWWHoblCqAPR4nG2vpM | |
Yc5PilkM0ktSE/SqOnHQpT/ARITekJBo7CHUNbe7Ynss62D2ZUVkd7k0XXj4Sh2v | |
qHvx2l8qaYixXqw4GRE3QQgrbPbySL3r/chPx4MSH/v3UyCHABqxN85DqAfyMDmP | |
cavMuduZzP35KyHp9brNScC+bIKbeoA4/OdRQ4HBAoRwMSJNflAI/Bng1PWZYt2L | |
32ujMPuN8nLTOPMJbHfZi1KzdN+tpKi5SCnbmx+biaCk3tunKr80tBue7FDilkKS | |
ToLlGmRuQiXa0uST8HuERvdGlUINtIBgbs4AXOGRFRWxDc3D4PTfd2LmiWncEZGn | |
ctE9NYNT3Lvw+cTUJqybMpHAhL0IAvxRNwsEGtP3z5YTHVn2dSVf+Qp86Z0awLcM |
I hereby claim:
To claim this, I am signing this object:
CoachApp.IndexRoute = Ember.Route.extend | |
model: (params) -> | |
client_id = localStorage.getItem 'clientId' | |
localStorage.removeItem('clientId') | |
if client_id? and !isNaN(client_id, 10) | |
CoachApp.Client.findById client_id | |
afterModel: (client) -> | |
if client |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
<link href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.min.css" rel="stylesheet"> | |
<link href="//cdn.jsdelivr.net/qtip2/2.0.1/basic/jquery.qtip.css" rel="stylesheet"> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script> | |
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> |
<div data-role="page"> | |
<div data-role="header" data-theme="d"> | |
<img src="http://www.precisionnutrition.com/wordpress/wp-content/themes/pn2012/images/pn_logo.png" style="padding: 5px 5px 0px 10px"/> | |
</div> | |
<div data-role="content"> | |
<h1>Thanks for sharing your info!</h1> | |
<p>We'll send your free stuff as soon as Dr. Berardi gets back from the event.</p> | |
</div> | |
</div> |
<div data-role="page"> | |
<div data-role="header" data-theme="d"> | |
<h1><img src="http://www.precisionnutrition.com/wordpress/wp-content/themes/pn2012/images/pn_logo.png"/></h1> | |
</div> | |
<div data-role="content"> | |
<p>Please enter your contact info below and we'll send your free stuff.</p> | |
<form action="http://get.pn/free" method="post"> | |
<fieldset data-role="fieldcontain"> | |
<label for="firstName"> | |
First Name |