Skip to content

Commit c2e9a7b

Browse files
TravisBotTravisBot
authored andcommitted
Updated website (automated commit) – Wednesday, 17. February 2016 02:50PM
1 parent 1c43cdf commit c2e9a7b

25 files changed

+1748
-229
lines changed

_sources/donate.txt

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,27 @@ resources. Any amount helps!
1414

1515
.. raw:: html
1616

17-
<div class="tile" id="donate" align="center" style="margin:20px">
18-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
19-
<input type="hidden" name="cmd" value="_s-xclick">
20-
<input type="hidden" name="hosted_button_id" value="SMCAHLP2ST42G">
21-
<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!">
22-
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
23-
</form>
24-
</div>
17+
<!--This relies on some CSS & JS which is added in the _templates folder-->
18+
<div style="background: #34677c;
19+
border-radius:0px 0px 0px 0px;
20+
font-weight:normal;
21+
font-family:Arial, Helvetica, sans-serif;
22+
border:none;
23+
box-shadow:none;
24+
left: 50%;
25+
margin-left:-72.5px; margin-top: 1em; margin-bottom: 1em;
26+
display: block;
27+
width:145px; height:45px;
28+
line-height:2.8;
29+
position:relative;
30+
font-size:16px;
31+
text-align:center;
32+
cursor:pointer;
33+
color:#fff;
34+
text-decoration: none;
35+
z-index:1"
36+
onclick="open_window('MjI1Ng==')">Donate Now</div>
37+
2538

2639

2740
All donations will be used strictly to fund IPython development, by supporting

_static/flipcause.css

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
.fc-black_overlay{
2+
display:none; position: fixed; z-index:1000001; top: 0%;left: 0%;width: 100%;height: 100%;
3+
background-color: black; filter: alpha(opacity=50); cursor:pointer; opacity:0.5;
4+
}
5+
.fc-white_content {
6+
opacity:1; display:none; margin-top: -320px; margin-left: -485px; width:970px; height:640px;
7+
position:fixed; top:50%; left:50%; border: none;z-index:1000002;overflow: auto;
8+
}
9+
.fc-main-box{
10+
opacity:1; display:none; margin:15px auto 0 auto; width:930px; position:relative; z-index:1000003;
11+
}
12+
.fc-widget_close{
13+
opacity:1; content:url(http://i1338.photobucket.com/albums/o691/WeCause/X_zpse4a7e538.png);
14+
position:absolute; z-index=1000004; right:-16px; top:-16px; display:block; cursor:pointer;
15+
}
16+
.floating_button{
17+
display: block; margin-top: 0px; margin-left: 0px; width:auto ; height: auto;
18+
position:fixed; z-index:999999; overflow: auto;
19+
}
20+
@keyframes backfadesin {
21+
from { opacity:0; }
22+
to {opacity:.5;}
23+
}
24+
@-moz-keyframes backfadesin {
25+
from { opacity:0; }
26+
to {opacity:.5;}
27+
}
28+
@-webkit-keyframes backfadesin {
29+
from { opacity:0; }
30+
to {opacity:.5;}
31+
}
32+
@-o-keyframes backfadesin {
33+
from { opacity:0; }
34+
to {opacity:.5;}
35+
}
36+
@-ms-keyframes backfadesin {
37+
from { opacity:0; }
38+
to {opacity:.5;}
39+
}
40+
@keyframes fadesin {
41+
0%{ opacity:0; }
42+
50%{ opacity:0; }
43+
75% {opacity: 0; transform: translateY(20px);}
44+
100% {opacity: 1; transform: translateY(0);}
45+
}
46+
@-moz-keyframes fadesin {
47+
0%{ opacity:0; }
48+
50%{ opacity:0; }
49+
75% {opacity: 0; -moz-transform: translateY(20px);}
50+
100% {opacity: 1; -moz-transform: translateY(0);}
51+
}
52+
@-webkit-keyframes fadesin {
53+
0%{ opacity:0; }
54+
50%{ opacity:0; }
55+
75% {opacity: 0; -webkit-transform: translateY(20px);}
56+
100% {opacity: 1; -webkit-transform: translateY(0);}
57+
@-o-keyframes fadesin {
58+
0%{ opacity:0; }
59+
50%{ opacity:0; }
60+
75% {opacity: 0; -o-transform: translateY(20px);}
61+
100% {opacity: 1; -o-transform: translateY(0);}
62+
}
63+
@-ms-keyframes fadesin {
64+
0%{ opacity:0; }
65+
50%{ opacity:0; }
66+
75% {opacity: 0; -ms-transform: translateY(20px);}
67+
100% {opacity: 1; -ms-transform: translateY(0);}
68+
}

books.html

Lines changed: 71 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<link rel="stylesheet" href="_static/agogo.css" type="text/css" />
2121
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
2222
<link rel="stylesheet" href="_static/ipython.css" type="text/css" />
23+
<link rel="stylesheet" href="_static/flipcause.css" type="text/css" />
2324

2425
<script type="text/javascript">
2526
var DOCUMENTATION_OPTIONS = {
@@ -37,6 +38,56 @@
3738
<link rel="top" title="IPython" href="index.html" />
3839
</head>
3940
<body role="document">
41+
<!-- Flipcause integration: -->
42+
<script>
43+
function open_window(cause_id) {
44+
var protocol=String(document.location.protocol);
45+
var new_url;
46+
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
47+
new_url="https://www.flipcause.com/widget/"+cause_id
48+
window.open(new_url);
49+
}
50+
else {
51+
document.getElementById("fc-fade").style.display="block";
52+
document.getElementById("fc-fade").style.webkitAnimation="backfadesin 1s";
53+
document.getElementById("fc-fade").style.animation="backfadesin 1s";
54+
document.getElementById("fc-fade").style.mozAnimation="backfadesin 1s";
55+
document.getElementById("fc-light").style.display="block";
56+
document.getElementById("fc-light").style.webkitAnimation="fadesin 1.5s";
57+
document.getElementById("fc-light").style.animation="fadesin 1.5s";
58+
document.getElementById("fc-light").style.mozAnimation="fadesin 1.5s";
59+
document.getElementById("fc-main").style.display="block";
60+
document.getElementById("fc-main").style.webkitAnimation="fadesin 1.5s";
61+
document.getElementById("fc-main").style.animation="fadesin 1.5s";
62+
document.getElementById("fc-main").style.mozAnimation="fadesin 1.5s";
63+
document.getElementById("fc-close").style.display="block";
64+
document.getElementById("fc-close").style.webkitAnimation="fadesin 1.5s";
65+
document.getElementById("fc-close").style.animation="fadesin 1.5s";
66+
document.getElementById("fc-close").style.mozAnimation="fadesin 1.5s";
67+
document.getElementById("fc-myFrame").style.display="block";
68+
document.getElementById("fc-myFrame").style.webkitAnimation="fadesin 1.5s";
69+
document.getElementById("fc-myFrame").style.animation="fadesin 1.5s";
70+
document.getElementById("fc-myFrame").style.mozAnimation="fadesin 1.5s";
71+
document.getElementById("fc-myFrame").src="https://www.flipcause.com/widget/"+cause_id;
72+
}
73+
}
74+
function close_window() {
75+
document.getElementById("fc-fade").style.display="none";
76+
document.getElementById("fc-light").style.display="none";
77+
document.getElementById("fc-main").style.display="none";
78+
document.getElementById("fc-close").style.display="none";
79+
document.getElementById("fc-myFrame").style.display="none";
80+
}
81+
</script>
82+
<div id="fc-fade" class="fc-black_overlay" onclick="close_window()"></div>
83+
<div id="fc-light" class="fc-white_content">
84+
<div id="fc-main" class="fc-main-box">
85+
<div id="fc-close" class="fc-widget_close" onclick="close_window()"></div>
86+
<iframe id="fc-myFrame" iframe height="580" width="925" style="border: 0; border-radius:5px 5px 5px 5px; box-shadow:0 0 8px rgba(0, 0, 0, 0.5);" scrolling="no" src=""></iframe>
87+
</div>
88+
</div>
89+
<!-- /flipcause -->
90+
4091
<div class="header-wrapper">
4192
<div class="header">
4293
<div class="logo"><a href="index.html">
@@ -176,15 +227,26 @@ <h3>Book</h3>
176227
<div class="tile" id="donate">
177228
<h4>Support IPython</h4>
178229

179-
<center>
180-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
181-
<input type="hidden" name="cmd" value="_s-xclick">
182-
<input type="hidden" name="hosted_button_id" value="SMCAHLP2ST42G">
183-
<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!">
184-
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
185-
</form>
186-
187-
</center>
230+
<!--This relies on some CSS & JS which is added in the _templates folder-->
231+
<div style="background: #34677c;
232+
border-radius:0px 0px 0px 0px;
233+
font-weight:normal;
234+
font-family:Arial, Helvetica, sans-serif;
235+
border:none;
236+
box-shadow:none;
237+
left: 50%;
238+
margin-left:-72.5px; margin-top: 1em; margin-bottom: 1em;
239+
clear: both; display: block;
240+
width:145px; height:45px;
241+
line-height:2.8;
242+
position:relative;
243+
font-size:16px;
244+
text-align:center;
245+
cursor:pointer;
246+
color:#fff;
247+
text-decoration: none;
248+
z-index:1"
249+
onclick="open_window('MjI1Ng==')">Donate Now</div>
188250
<a href="donate.html">Find out more...</a>
189251

190252
</div>

citing.html

Lines changed: 72 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<link rel="stylesheet" href="_static/agogo.css" type="text/css" />
2121
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
2222
<link rel="stylesheet" href="_static/ipython.css" type="text/css" />
23+
<link rel="stylesheet" href="_static/flipcause.css" type="text/css" />
2324

2425
<script type="text/javascript">
2526
var DOCUMENTATION_OPTIONS = {
@@ -39,6 +40,56 @@
3940
<link rel="prev" title="Jupyter and the future of IPython" href="index.html" />
4041
</head>
4142
<body role="document">
43+
<!-- Flipcause integration: -->
44+
<script>
45+
function open_window(cause_id) {
46+
var protocol=String(document.location.protocol);
47+
var new_url;
48+
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
49+
new_url="https://www.flipcause.com/widget/"+cause_id
50+
window.open(new_url);
51+
}
52+
else {
53+
document.getElementById("fc-fade").style.display="block";
54+
document.getElementById("fc-fade").style.webkitAnimation="backfadesin 1s";
55+
document.getElementById("fc-fade").style.animation="backfadesin 1s";
56+
document.getElementById("fc-fade").style.mozAnimation="backfadesin 1s";
57+
document.getElementById("fc-light").style.display="block";
58+
document.getElementById("fc-light").style.webkitAnimation="fadesin 1.5s";
59+
document.getElementById("fc-light").style.animation="fadesin 1.5s";
60+
document.getElementById("fc-light").style.mozAnimation="fadesin 1.5s";
61+
document.getElementById("fc-main").style.display="block";
62+
document.getElementById("fc-main").style.webkitAnimation="fadesin 1.5s";
63+
document.getElementById("fc-main").style.animation="fadesin 1.5s";
64+
document.getElementById("fc-main").style.mozAnimation="fadesin 1.5s";
65+
document.getElementById("fc-close").style.display="block";
66+
document.getElementById("fc-close").style.webkitAnimation="fadesin 1.5s";
67+
document.getElementById("fc-close").style.animation="fadesin 1.5s";
68+
document.getElementById("fc-close").style.mozAnimation="fadesin 1.5s";
69+
document.getElementById("fc-myFrame").style.display="block";
70+
document.getElementById("fc-myFrame").style.webkitAnimation="fadesin 1.5s";
71+
document.getElementById("fc-myFrame").style.animation="fadesin 1.5s";
72+
document.getElementById("fc-myFrame").style.mozAnimation="fadesin 1.5s";
73+
document.getElementById("fc-myFrame").src="https://www.flipcause.com/widget/"+cause_id;
74+
}
75+
}
76+
function close_window() {
77+
document.getElementById("fc-fade").style.display="none";
78+
document.getElementById("fc-light").style.display="none";
79+
document.getElementById("fc-main").style.display="none";
80+
document.getElementById("fc-close").style.display="none";
81+
document.getElementById("fc-myFrame").style.display="none";
82+
}
83+
</script>
84+
<div id="fc-fade" class="fc-black_overlay" onclick="close_window()"></div>
85+
<div id="fc-light" class="fc-white_content">
86+
<div id="fc-main" class="fc-main-box">
87+
<div id="fc-close" class="fc-widget_close" onclick="close_window()"></div>
88+
<iframe id="fc-myFrame" iframe height="580" width="925" style="border: 0; border-radius:5px 5px 5px 5px; box-shadow:0 0 8px rgba(0, 0, 0, 0.5);" scrolling="no" src=""></iframe>
89+
</div>
90+
</div>
91+
<!-- /flipcause -->
92+
4293
<div class="header-wrapper">
4394
<div class="header">
4495
<div class="logo"><a href="index.html">
@@ -178,15 +229,26 @@ <h3>Book</h3>
178229
<div class="tile" id="donate">
179230
<h4>Support IPython</h4>
180231

181-
<center>
182-
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
183-
<input type="hidden" name="cmd" value="_s-xclick">
184-
<input type="hidden" name="hosted_button_id" value="SMCAHLP2ST42G">
185-
<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!">
186-
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
187-
</form>
188-
189-
</center>
232+
<!--This relies on some CSS & JS which is added in the _templates folder-->
233+
<div style="background: #34677c;
234+
border-radius:0px 0px 0px 0px;
235+
font-weight:normal;
236+
font-family:Arial, Helvetica, sans-serif;
237+
border:none;
238+
box-shadow:none;
239+
left: 50%;
240+
margin-left:-72.5px; margin-top: 1em; margin-bottom: 1em;
241+
clear: both; display: block;
242+
width:145px; height:45px;
243+
line-height:2.8;
244+
position:relative;
245+
font-size:16px;
246+
text-align:center;
247+
cursor:pointer;
248+
color:#fff;
249+
text-decoration: none;
250+
z-index:1"
251+
onclick="open_window('MjI1Ng==')">Donate Now</div>
190252
<a href="donate.html">Find out more...</a>
191253

192254
</div>
@@ -206,7 +268,7 @@ <h1>Citing IPython<a class="headerlink" href="#citing-ipython" title="Permalink
206268
please acknowledge that fact by citing the project. As of now, the canonical
207269
academic reference for IPython is <a class="reference external" href="http://fperez.org/papers/ipython07_pe-gr_cise.pdf">this paper</a>, for which here are both
208270
a BibTex and a plaintext reference you can use:</p>
209-
<div class="highlight-python"><div class="highlight"><pre>@Article{PER-GRA:2007,
271+
<div class="highlight-python"><div class="highlight"><pre><span></span>@Article{PER-GRA:2007,
210272
Author = {P\&#39;erez, Fernando and Granger, Brian E.},
211273
Title = {{IP}ython: a System for Interactive Scientific Computing},
212274
Journal = {Computing in Science and Engineering},

0 commit comments

Comments
 (0)