This widget is a merge of the Nicolas Deverge's Teammood widget Teammood.coffee and the Sparkline widget This widget show the average moods for a team and a sparkline whith the last 15 days average.
Simple Dashing widget to display your Teammood average and the average of the day before.
To use this widget :
- copy
sparklinemood.html
,sparklinemood.coffee
, andsparklinemood.scss
into the/widgets/sparklinemood
directory. - copy
sparklinemood.rb
into the/jobs
directory. - copy
icomoon.eot
,icomoon.svg
,icomoon.ttf
andicomoon.woff
into the/assets/fonts
directory - adapt the
sparklinemood.rb
job to set your team api key
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="sparklinemood" data-view="Sparklinemood" data-title="TeamMood" data-graphtype="area"></div>
</li>