Merge branch 'master' into check-booth-logo
This commit is contained in:
commit
2b5b1de546
3 changed files with 7 additions and 4 deletions
|
|
@ -38,7 +38,10 @@ RUN chown -R osem.root /osem/ && \
|
|||
# data directory is used to cache the secret key in a file
|
||||
ENV DATA_DIR /data
|
||||
RUN install -d -m 0770 -o osem -g root $DATA_DIR
|
||||
VOLUME ["$DATA_DIR"]
|
||||
# data persistence for uploaded files (logos, other pictures, etc)
|
||||
RUN mkdir 0775 -p /osem/tmp/cache /osem/tmp/uploads/ && \
|
||||
chown -R osem.osem /osem/tmp/
|
||||
VOLUME ["$DATA_DIR", "/osem/tmp/uploads/", "/osem/public/system/"]
|
||||
|
||||
USER osem
|
||||
EXPOSE 9292
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
- if @program.cfps
|
||||
.row
|
||||
.col-md-12
|
||||
%table.table.table-hover.datatable#tickets
|
||||
%table.table.table-hover#tickets
|
||||
%thead
|
||||
%th Type
|
||||
%th Start Date
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.text-center
|
||||
%h4 #{title}
|
||||
%canvas.doughnut_chart{ id: "dough_#{title}", 'data-chart' => data.to_json }
|
||||
%canvas.doughnut_chart{ id: "dough_#{title.parameterize.underscore}", 'data-chart' => data.to_json }
|
||||
- if data
|
||||
- data.each do |key, value|
|
||||
%span{ 'style' => "border-bottom: 3px solid #{value['color']}" } #{key}: #{value['value']}
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
:javascript
|
||||
$(document).ready( function(){
|
||||
|
||||
var d = $("#dough_#{title}");
|
||||
var d = $("#dough_#{title.parameterize.underscore}");
|
||||
var dt = d.get(0).getContext('2d');
|
||||
|
||||
$(window).resize( respondCanvas );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue