diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-20 10:49:38 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-20 10:49:38 -0400 |
commit | 2e1365d37bddf787c7089126c1a5ff1c623ab0e2 (patch) | |
tree | b28ebb51e4070bfafea486984ca8e393a378f84c /app/assets | |
parent | c319edf970b238cfc795f54e44de41ddab48ea71 (diff) | |
download | thoughts-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.coffee | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/admin/dashboard.scss | 5 |
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/ |
4 | dash_ready = -> | 4 | dash_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 | } | ||