Skip to content

Commit

Permalink
Set background when no completed tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed Jan 28, 2016
1 parent 9a4fcd6 commit 4fe8b23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libcrowds_statistics/templates/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ <h4 class="padding-bottom-sm text-center">Total Hourly Activity</h4>
<script src="{{url_for('statistics.static', filename='js/charts.js')}}"></script>
<script>
$(function(){
// Set background
$('body').addClass('pattern-white-wall');

var stats = {{ stats|safe }};
var locs = {{ locs|safe }};
var leaderboard = {{ leaderboard|safe }};
Expand Down Expand Up @@ -200,5 +197,9 @@ <h4 class="padding-bottom-sm text-center">Total Hourly Activity</h4>
resizeStatsRow();});
</script>
{% endif %}

<script>
$(function(){
$('body').addClass('pattern-white-wall');
});
</script>
{% endblock %}

0 comments on commit 4fe8b23

Please sign in to comment.