mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Show charts for survey replies
This commit is contained in:
parent
683f62a27c
commit
e1adf28081
10 changed files with 13 additions and 1 deletions
1
Gemfile
1
Gemfile
|
|
@ -125,6 +125,7 @@ gem 'jquery-datatables-rails', '~> 2.2.1'
|
|||
|
||||
# for charts
|
||||
gem 'chart-js-rails'
|
||||
gem 'chartkick'
|
||||
|
||||
# for displaying maps
|
||||
gem 'leaflet-rails'
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ GEM
|
|||
fastimage
|
||||
chart-js-rails (0.0.6)
|
||||
railties (> 3.1)
|
||||
chartkick (2.2.5)
|
||||
chronic (0.10.2)
|
||||
chunky_png (1.3.8)
|
||||
climate_control (0.2.0)
|
||||
|
|
@ -590,6 +591,7 @@ DEPENDENCIES
|
|||
carrierwave
|
||||
carrierwave-bombshelter
|
||||
chart-js-rails
|
||||
chartkick
|
||||
climate_control
|
||||
cloudinary
|
||||
cocoon
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
//= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
|
||||
//= require cocoon
|
||||
//= require bootstrap
|
||||
//= require Chart
|
||||
//= require osem
|
||||
//= require osem-dashboard
|
||||
//= require ahoy
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
= javascript_include_tag 'Chart'
|
||||
.row
|
||||
.col-sm-3.col-xs-3
|
||||
.dashbox.text-center
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
= javascript_include_tag 'Chart'
|
||||
|
||||
%h1
|
||||
%span.fa.fa-tachometer
|
||||
Dashboard for #{@conference.title}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
= javascript_include_tag 'Chart'
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
= javascript_include_tag 'Chart'
|
||||
|
||||
.container
|
||||
.row
|
||||
.col-md-12.page-header
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
= javascript_include_tag 'Chart'
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
|
|
|
|||
|
|
@ -9,3 +9,4 @@ Rails.application.config.assets.version = '1.0'
|
|||
# Precompile additional assets.
|
||||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
||||
# Rails.application.config.assets.precompile += %w( search.js )
|
||||
Rails.application.config.assets.precompile += %w( Chart.js )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue