From d94f28984782e2fd14f7730dff29a078cf6976c0 Mon Sep 17 00:00:00 2001 From: adityacp Date: Tue, 21 Apr 2020 17:31:26 +0530 Subject: Replace students list of names with a drop down --- yaksh/static/yaksh/css/custom.css | 7 +++++++ yaksh/templates/yaksh/grade_user.html | 24 +++++++++++++----------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/yaksh/static/yaksh/css/custom.css b/yaksh/static/yaksh/css/custom.css index 63ee455..c3050d5 100644 --- a/yaksh/static/yaksh/css/custom.css +++ b/yaksh/static/yaksh/css/custom.css @@ -97,3 +97,10 @@ body, .dropdown-menu { min-height: 100vh; transition: all 0.3s; } + +@media (min-width: 1024px) { + + .students-list { + position: fixed !important; + } +} diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html index 7206525..14666e1 100644 --- a/yaksh/templates/yaksh/grade_user.html +++ b/yaksh/templates/yaksh/grade_user.html @@ -87,16 +87,17 @@ $(document).ready(function()