Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove broken Twitter widget #2329

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions static/sass/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2771,10 +2771,6 @@ p.quote-by-organization {
/*<aside class="main-sidebar | right-sidebar | left-sidebar">*/
.left-sidebar .sidebar-widget {
margin-bottom: 0.875em; }
.left-sidebar .twitter-widget {
padding: 0; }
.left-sidebar .twtr-doc {
padding: .75em; }

.jobs-form p {
padding: 0 0.3125em; }
Expand Down
3 changes: 0 additions & 3 deletions static/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1913,9 +1913,6 @@ $colors: $blue, $psf, $yellow, $green, $purple, $red;
margin-bottom: rhythm( .5 );
}

.twitter-widget { padding: 0; }

.twtr-doc { padding: .75em; }
}

.right-sidebar {
Expand Down
4 changes: 0 additions & 4 deletions templates/components/tweets-from-psf.html

This file was deleted.

2 changes: 0 additions & 2 deletions templates/pages/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ <h1 class="page-title">{{ page.title }}</h1>

{% include "components/navigation-widget.html" %}

{% include "components/tweets-from-psf.html" %}

<div class="psf-sidebar-widget sidebar-widget">
{% box 'widget-sidebar-aboutpsf' %}

Expand Down
2 changes: 0 additions & 2 deletions templates/pages/pep-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ <h1 class="page-title">{{ page.title }}</h1>

{% include "components/navigation-widget.html" %}

{% include "components/tweets-from-psf.html" %}

<div class="psf-sidebar-widget sidebar-widget">
{% box 'widget-sidebar-aboutpsf' %}

Expand Down
2 changes: 0 additions & 2 deletions templates/psf/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ <h1 class="page-title">{{ page.title }}</h1>

</div>

{% include "components/tweets-from-psf.html" %}

</aside>

{% endblock left_sidebar %}
33 changes: 1 addition & 32 deletions templates/python/inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -623,40 +623,9 @@ <h1 id="form">Form Example</h1>

{% block left_sidebar %}
<aside class="left-sidebar" role="secondary">

{% include "components/navigation-widget.html" %}

<div class="twitter-widget sidebar-widget">
<script type="text/javascript" src="//widgets.twimg.com/j/2/widget.js"></script>
<script type="text/javascript">// <![CDATA[
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 3,
interval: 30000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#f2f2f2',
color: '#666666'
},
tweets: {
background: '#f2f2f2',
color: '#666666',
links: '#3776ab'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('ThePSF').start();
// ]]></script>
</div>

<div class="psf-sidebar-widget sidebar-widget">
<h3 class="widget-title">The PSF</h3>
<p>The Python Software Foundation is the organization behind Python. Become a member of the PSF and help advance the software and our mission. </p>
Expand Down
2 changes: 0 additions & 2 deletions templates/successstories/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@

</div>

{% include "components/tweets-from-psf.html" %}

</aside>
{% endblock left_sidebar %}
34 changes: 1 addition & 33 deletions templates/waitforit.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,5 @@ <h1 class="giga">Wait for it&hellip;</h1>

{% block left_sidebar %}
<aside class="left-sidebar" role="secondary">

<div class="twitter-widget sidebar-widget">
<script type="text/javascript" src="//widgets.twimg.com/j/2/widget.js"></script>
<script type="text/javascript">// <![CDATA[
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 3,
interval: 30000,
width: 'auto',
height: 300,
theme: {
shell: {
background: '#efefef',
color: '#666666'
},
tweets: {
background: '#f2f2f2',
color: '#666666',
links: '#3776ab'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('ThePSF').start();
// ]]></script>
</div>

</aside>
{% endblock left_sidebar %}
{% endblock left_sidebar %}
Loading