about summary refs log tree commit diff stats
path: root/app/assets
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/admin/dashboard.coffee2
-rw-r--r--app/assets/stylesheets/admin/dashboard.scss5
2 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/admin/dashboard.coffee b/app/assets/javascripts/admin/dashboard.coffee index 4fa6cd8..bc48315 100644 --- a/app/assets/javascripts/admin/dashboard.coffee +++ b/app/assets/javascripts/admin/dashboard.coffee
@@ -3,6 +3,8 @@
3# You can use CoffeeScript in this file: http://coffeescript.org/ 3# You can use CoffeeScript in this file: http://coffeescript.org/
4dash_ready = -> 4dash_ready = ->
5 $(".datepicker").datepicker({"dateFormat": "yy-mm-dd"}) 5 $(".datepicker").datepicker({"dateFormat": "yy-mm-dd"})
6 $("#check_all").change ->
7 $(".comment_ids").prop("checked", $(this).prop("checked"))
6 8
7$(document).ready(dash_ready) 9$(document).ready(dash_ready)
8$(document).on('turbolinks:load', dash_ready) 10$(document).on('turbolinks:load', dash_ready)
diff --git a/app/assets/stylesheets/admin/dashboard.scss b/app/assets/stylesheets/admin/dashboard.scss index 60c257a..44e13b3 100644 --- a/app/assets/stylesheets/admin/dashboard.scss +++ b/app/assets/stylesheets/admin/dashboard.scss
@@ -40,3 +40,8 @@
40 } 40 }
41 } 41 }
42} 42}
43
44#action-box {
45 text-align: center;
46 margin: 1em 0;
47}