Skip to content

Commit

Permalink
Fix internetstandards#1043 - Remove tweet button from result page
Browse files Browse the repository at this point in the history
Thanks to @bwbroersma for finding all references
  • Loading branch information
mxsasha committed Oct 9, 2023
1 parent e4f890a commit 44c8866
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 36 deletions.
2 changes: 0 additions & 2 deletions frontend/css/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ nav,
aside,
.footlink,
.panel-button-container,
.tweet,
.panel-title a .icon,
.timestamp,
#site-description {
Expand Down Expand Up @@ -74,7 +73,6 @@ div[aria-hidden=true] {
main,
.mainwrap,
.testresults,
.tweet,
.body-with-semifixed-header {
background-color: #ffffff !important;
}
Expand Down
22 changes: 0 additions & 22 deletions frontend/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1371,28 +1371,6 @@ footer ul li:last-child {

/* ============ */
/* social media */
.tweet {
background: url('/static/icon-twitter.svg');
background: url('/static/icon-twitter.png');
background-color: #e3e3e3;
background-repeat: no-repeat;
background-position: 5px center;
background-size: 1.25em 1.25em;
color: #ffffff;
padding: .1em .75em .15em 2em;
border: solid .15em #e3e3e3;
border-radius: 1em;
font-family: 'robotobold', arial, sans-serif;
font-weight: bold;
font-size: 100%;
text-decoration: none;
display: block;
float: right;
}
.tweet:hover {
background-color: #ffffff
}

.mastodonfollow {
background: url('/static/uxwing/icon-mastodonfollow-small.png');
background-color: transparent;
Expand Down
Binary file removed interface/static/icon-twitter.png
Binary file not shown.
1 change: 0 additions & 1 deletion interface/static/icon-twitter.svg

This file was deleted.

1 change: 0 additions & 1 deletion interface/templates/base-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
</ul>
{% block testmiddlecontent %}
<div class="timestamp">
<span><a class="tweet" href="https://twitter.com/intent/tweet?url={{permalink}}&amp;text={% translate tweetmessage %}">Tweet</a></span>
<a href="{% url "faqs_report" %}" class="icon-testinfo">{% include "string.html" with name="results test-info" %}</a>
<br>
<a href="{{permalink}}" class="permalink">{% include "string.html" with name="results permalink" %}</a>
Expand Down
5 changes: 0 additions & 5 deletions interface/templates/domain-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ <h1>
{{block.super}}
{% endblock %}

{% block testmiddlecontent %}
{% expand "domain tweetmessage" as tweetmessage %}
{{block.super}}
{% endblock %}

{% block testdetailitems %}
{% if probe.name == 'siteipv6' %}
<div class="test-subsection">
Expand Down
5 changes: 0 additions & 5 deletions interface/templates/mail-results.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ <h1>
{{block.super}}
{% endblock %}

{% block testmiddlecontent %}
{% expand "mail tweetmessage" as tweetmessage %}
{{block.super}}
{% endblock %}

{% block testdetailitems%}
{% if probe.name == 'mailipv6' %}
<div class="test-subsection">
Expand Down

0 comments on commit 44c8866

Please sign in to comment.