Skip to content

Commit

Permalink
Removed feedbackify js. Fixes #555
Browse files Browse the repository at this point in the history
Found that the logo in the new feedback modal was missing the
latest logo. Fixed.
  • Loading branch information
Matt Phillips committed Jun 17, 2014
1 parent bc216e5 commit c0f4fe5
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 47 deletions.
9 changes: 1 addition & 8 deletions perma_web/perma/templates/base-archive-responsive.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,7 @@

{% block templates %}
{% endblock %}
<script type="text/javascript">
var fby = fby || [];
(function () {
var f = document.createElement('script'); f.type = 'text/javascript'; f.async = true;
f.src = '//cdn.feedbackify.com/f.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(f, s);
})();
</script>

{{ analytics_code }}
</body>
</html>
9 changes: 1 addition & 8 deletions perma_web/perma/templates/base-archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,7 @@

{% block templates %}
{% endblock %}
<script type="text/javascript">
var fby = fby || [];
(function () {
var f = document.createElement('script'); f.type = 'text/javascript'; f.async = true;
f.src = '//cdn.feedbackify.com/f.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(f, s);
})();
</script>

{{ analytics_code }}
</body>
</html>
13 changes: 3 additions & 10 deletions perma_web/perma/templates/base-responsive.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<div class="logo-condensed-header">
<a href="{% url 'landing' %}">perma.cc<img class="infinity-logo" src="{{ STATIC_URL }}img/infinity-logo.png"></a>
<a href="{% url 'landing' %}">perma.cc<img class="infinity-logo" src="{{ STATIC_URL }}img/infinity-logo2.png"></a>
</div>
</div>
<div class="center">
Expand Down Expand Up @@ -441,15 +441,8 @@ <h4>Feedback</h4>
<script type="text/javascript">
feedback_url = "{% url 'service_receive_feedback' %}";
</script>

<script type="text/javascript">
var fby = fby || [];
(function () {
var f = document.createElement('script'); f.type = 'text/javascript'; f.async = true;
f.src = '//cdn.feedbackify.com/f.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(f, s);
})();
</script>


{{ analytics_code }}
</body>
</html>
8 changes: 0 additions & 8 deletions perma_web/perma/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,6 @@ <h4>Perma feedback</h4>
feedback_url = "{% url 'service_receive_feedback' %}";
</script>

<script type="text/javascript">
var fby = fby || [];
(function () {
var f = document.createElement('script'); f.type = 'text/javascript'; f.async = true;
f.src = '//cdn.feedbackify.com/f.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(f, s);
})();
</script>
{{ analytics_code }}
</body>
</html>
10 changes: 0 additions & 10 deletions perma_web/static/css/style-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ kbd a:hover, kbd:hover, kbd:active {
padding-top:5px;
}

#feedbackify .rating-intro {display: none;}
#feedbackify .score-tbl {display: none;}

div.main-container {
overflow: hidden;
margin: 0 auto;
Expand Down Expand Up @@ -1120,13 +1117,6 @@ img.watermark-image {
color:#ff4100;
}


#feedbackify .score-tbl {
visibility:hidden;
margin-bottom:-10px;
}


.lower {
margin: 5px 0 -5px 0;
}
Expand Down
3 changes: 0 additions & 3 deletions perma_web/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ body {
padding-top:5px;
}

#feedbackify .rating-intro {display: none;}
#feedbackify .score-tbl {display: none;}

div.main-container {
overflow: hidden;
margin: 0 auto;
Expand Down

0 comments on commit c0f4fe5

Please sign in to comment.