about summary refs log tree commit diff stats
path: root/app/assets
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-20 10:49:38 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-20 10:49:38 -0400
commit2e1365d37bddf787c7089126c1a5ff1c623ab0e2 (patch)
treeb28ebb51e4070bfafea486984ca8e393a378f84c /app/assets
parentc319edf970b238cfc795f54e44de41ddab48ea71 (diff)
downloadthoughts-2e1365d37bddf787c7089126c1a5ff1c623ab0e2.tar.gz
thoughts-2e1365d37bddf787c7089126c1a5ff1c623ab0e2.tar.bz2
thoughts-2e1365d37bddf787c7089126c1a5ff1c623ab0e2.zip
Added mass pending comment deletion/markspamming
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}