From dbe52125fd83370dea94ac9c8d870f572f0a14a7 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Thu, 20 Jun 2019 15:39:48 +0530 Subject: UI improvements - show lessons in tree structure on sidebar menu. - Use div inplace of table in index.html to show modules and lessons. --- yaksh/static/yaksh/css/offline.css | 9 ++++++++ yaksh/templates/yaksh/index.html | 46 ++++++++++++++++++++------------------ yaksh/templates/yaksh/quiz.html | 38 +++++++++++++++++-------------- yaksh/templates/yaksh/unit.html | 38 +++++++++++++++++-------------- 4 files changed, 75 insertions(+), 56 deletions(-) diff --git a/yaksh/static/yaksh/css/offline.css b/yaksh/static/yaksh/css/offline.css index 66d805e..79584e0 100644 --- a/yaksh/static/yaksh/css/offline.css +++ b/yaksh/static/yaksh/css/offline.css @@ -71,6 +71,15 @@ text-transform: uppercase; } +section{ + padding: 2rem; +} + +.bg-grey{ + background-color:#dbf9f2; +} + + /*.footer { position: fixed; left: 0; diff --git a/yaksh/templates/yaksh/index.html b/yaksh/templates/yaksh/index.html index 05ade47..cf5f35c 100644 --- a/yaksh/templates/yaksh/index.html +++ b/yaksh/templates/yaksh/index.html @@ -30,30 +30,32 @@
- {{module.name}}
-
-
+
+
-
|
- - - | -- Go to Module - | -