From 5e7d7190a20ac3eb83ad5dd5e58fa216533eabad Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Sat, 28 Jan 2017 01:20:11 +0530 Subject: added select all to remove all trial papers --- yaksh/static/yaksh/js/moderator_dashboard.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 yaksh/static/yaksh/js/moderator_dashboard.js (limited to 'yaksh/static') diff --git a/yaksh/static/yaksh/js/moderator_dashboard.js b/yaksh/static/yaksh/js/moderator_dashboard.js new file mode 100644 index 0000000..87d039c --- /dev/null +++ b/yaksh/static/yaksh/js/moderator_dashboard.js @@ -0,0 +1,14 @@ +$(document).ready(function(){ +$(".selectall").change(function(){ + if($(this).prop("checked")) { + $("#trial input:checkbox").each(function(index, element) { + $(this).prop('checked', true); + }); + } + else { + $("#trial input:checkbox").each(function(index, element) { + $(this).prop('checked', false); + }); + } + }); +}); \ No newline at end of file -- cgit From ac549e9cc3064d0a83661b01e9ad71f72c8c2077 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Sun, 29 Jan 2017 11:00:55 +0530 Subject: added bootstrap modal as student info links in course detail page. --- yaksh/static/yaksh/js/moderator_dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/static') diff --git a/yaksh/static/yaksh/js/moderator_dashboard.js b/yaksh/static/yaksh/js/moderator_dashboard.js index 87d039c..e40e67e 100644 --- a/yaksh/static/yaksh/js/moderator_dashboard.js +++ b/yaksh/static/yaksh/js/moderator_dashboard.js @@ -11,4 +11,4 @@ $(".selectall").change(function(){ }); } }); -}); \ No newline at end of file +}); -- cgit