2014-10-15 12:58:00 +03:00
|
|
|
$ ->
|
2015-05-24 01:15:46 +03:00
|
|
|
$('.cfp-toggle').click ->
|
|
|
|
$(this).addClass("disabled")
|
2015-04-20 19:35:43 +03:00
|
|
|
Morris.Line
|
|
|
|
element: 'submissions-chart'
|
|
|
|
data: $('#submissions-chart').data('submissions')
|
|
|
|
xkey: 'created_at'
|
|
|
|
ykeys: ['all_submissions', 'all_confirmations']
|
|
|
|
labels: ['Submissions', 'Confirmed submissions']
|
|
|
|
lineColors: ['#D9230F', '#469408']
|
|
|
|
resize: true
|