Skip to content

Instantly share code, notes, and snippets.

@knil-sama
Created December 20, 2016 10:26
Show Gist options
  • Save knil-sama/dcf00f727805402f5c026b845794f0b0 to your computer and use it in GitHub Desktop.
Save knil-sama/dcf00f727805402f5c026b845794f0b0 to your computer and use it in GitHub Desktop.
$('#global_sentiment').html(' <p>Debug @remove count good : '+response["count_good"]+' count neutral : '+response["count_neutral"]+' count bad : '+response["count_bad"]+'</p> \
<div class="progress">\
<div class="progress-bar progress-bar-success" role="progressbar" style="width:'+response["pourcent_good"]+'%">\
Positive\
</div>\
<div class="progress-bar progress-bar-warning" role="progressbar" style="width:'+response["pourcent_neutral"]+'%">\
Neutral\
</div>\
<div class="progress-bar progress-bar-danger" role="progressbar" style="width:'+response["pourcent_bad"]+'%">\
Negative\
</div>\
</div>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment