Skip to content

Commit 19a3316

Browse files
glouppeGaelVaroquaux
authored andcommitted
Website: bottom buttons
1 parent dc94662 commit 19a3316

File tree

2 files changed

+18
-38
lines changed

2 files changed

+18
-38
lines changed

doc/index.rst

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,18 @@
273273
<li><em>Mailing list:</em> <a href="https://lists.sourceforge.net/lists/listinfo/scikit-learn-general">[email protected]</a></li>
274274
<li><em>IRC:</em> #scikit-learn @ <a href="http://webchat.freenode.net/">freenode</a></li>
275275
</ul>
276+
277+
<form target="_top" id="paypal-form" method="post" action="https://www.paypal.com/cgi-bin/webscr">
278+
<input type="hidden" value="_s-xclick" name="cmd">
279+
<input type="hidden" value="74EYUMF3FTSW8" name="hosted_button_id">
280+
</form>
281+
282+
<a class="btn btn-warning btn-big" onclick="document.getElementById('paypal-form').submit(); return false;">Help us, <strong>donate!</strong></a>
283+
<a class="btn btn-warning btn-big" href="./about.html#citing-scikit-learn"><strong>Cite us!</strong></a>
284+
285+
<small style="display: block; margin-top: 10px"><a href="about.html#funding">Read more about donations</a></small>
276286
</div>
287+
277288
<!-- who using -->
278289
<div class="span4">
279290
<h4>Who uses scikit-learn?</h4>
@@ -312,21 +323,7 @@
312323
<a href="testimonials/testimonials.html">More testimonials</a>
313324
</small>
314325
</p>
315-
</div>
316-
317-
<!-- help us -->
318-
<div class="bottom-button">
319-
<form target="_top" id="paypal-form" method="post" action="https://www.paypal.com/cgi-bin/webscr">
320-
<input type="hidden" value="_s-xclick" name="cmd">
321-
<input type="hidden" value="74EYUMF3FTSW8" name="hosted_button_id">
322-
</form>
323-
<strong>Help us:</strong>
324-
<button class="btn btn-warning btn-big" onclick="document.getElementById('paypal-form').submit(); return false;"><b>Donate!</b></button> (<a href="about.html#funding">read more</a>)
325-
<a class="btn btn-warning btn-big"
326-
href="./about.html#citing-scikit-learn">
327-
<b>Cite us!</b>
328-
</a>
329-
</div>
326+
</div>
330327

331328
</div>
332329
</div>

doc/themes/scikit-learn/static/nature.css_t

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -785,28 +785,6 @@ div.container.index-lower h4, div.container.index-lower h4 a{
785785
color: #FF9C34;
786786
}
787787

788-
div.container.index-lower div.bottom-button {
789-
float: right;
790-
padding-right: 17%;
791-
}
792-
793-
form#paypal-from {
794-
margin-bottom: 10px;
795-
}
796-
797-
div.container.index-lower div.bottom-button button.btn{
798-
padding-left: 30px;
799-
padding-right: 30px;
800-
margin-left: 10px;
801-
margin-right: 5px;
802-
}
803-
804-
div.container.index-lower div.bottom-button a.btn{
805-
padding-left: 30px;
806-
padding-right: 30px;
807-
margin-left: 70px;
808-
}
809-
810788
div.container.index-lower h4 {
811789
margin-bottom: 10px;
812790
margin-left: 0px;
@@ -831,6 +809,11 @@ div.container.index-lower ul li em {
831809
font-weight: bold;
832810
}
833811

812+
#paypal-form {
813+
margin: 0;
814+
padding: 0;
815+
}
816+
834817
div.box h2 {
835818
height: 26px;
836819
background-color: transparent;
@@ -1048,7 +1031,7 @@ div.testimonial span.testimonial-author p{
10481031
}
10491032

10501033
.btn-group {
1051-
height: 100% height: 100%;
1034+
height: 100%;
10521035
}
10531036

10541037
.btn-group .dropdown-menu {

0 commit comments

Comments
 (0)