Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Tweaks to navbar & sidebar #13

Merged
merged 3 commits into from

1 participant

@takluyver
Owner

As discussed on the mailing list.

  • Moved the donation bubble below other links.
  • Removed Wiki from the navbar, as it acts differently to the other links there.
@takluyver
Owner

I'll merge this tomorrow unless there are any objections.

@takluyver takluyver merged commit 1488d8e into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 21 additions and 20 deletions.
  1. +0 −1  _templates/navbar.html
  2. +21 −19 _templates/sidebar_links.html
View
1  _templates/navbar.html
@@ -2,7 +2,6 @@
<a href="{{pathto('download')}}">Download</a> ·
<a href="{{pathto('documentation')}}">Documentation</a> ·
<a href="{{pathto('videos')}}">Videos</a> ·
-<a href="http://wiki.ipython.org">Wiki</a> ·
<a href="{{pathto('news')}}">News</a> ·
<a href="{{pathto('citing')}}">Citation</a> ·
<a href="{{pathto('donate')}}">Donate</a>
View
40 _templates/sidebar_links.html
@@ -1,23 +1,6 @@
{%- block sidebarlinks %}
<div class="sidebarblock">
-<h3>{{ _('Donate') }}</h3>
-
-<div class="tile" id="donate">
- <h4>Support IPython</h4>
-
-<a href="{{pathto('donate')}}">Find out more...</a>
-
-<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="SMCAHLP2ST42G">
-<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>
-</div>
-</div>
-
-<div class="sidebarblock">
<h3>{{ _('Links') }}</h3>
<ul class="simple">
@@ -43,8 +26,7 @@
<li><a href="{{pathto('faq')}}">FAQ</a></li>
<li><a class="reference external"
href="{{pathto('presentation')}}">Presentations</a></li>
- <li><a class="reference external"
- href="videos.html">Videos</a></li>
+ <li><a class="reference external" href="http://wiki.ipython.org">Wiki</a></li>
<li><a class="reference external"
href="http://wiki.ipython.org/Cookbook">Cookbook</a></li>
<li><a class="reference external"
@@ -57,4 +39,24 @@
Travis CI</a></li>
</ul>
</div>
+
+<div class="sidebarblock">
+<h3>{{ _('Donate') }}</h3>
+
+<div class="tile" id="donate">
+ <h4>Support IPython</h4>
+
+<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="SMCAHLP2ST42G">
+<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!"
+ style="display:block; margin-left:auto; margin-right:auto;">
+<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
+
+<a href="{{pathto('donate')}}">Find out more...</a>
+
+</form>
+</div>
+</div>
{%- endblock %}
Something went wrong with that request. Please try again.