From 718f2f27b8a1743e8578daca7254f7ef98af0ce6 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 5 Oct 2017 16:27:58 +0530 Subject: Changed snippet to textfield. Not pushing migration file, as it will be merged with release. --- yaksh/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaksh/models.py b/yaksh/models.py index 68bde48..2fcb767 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -350,7 +350,7 @@ class Question(models.Model): tags = TaggableManager(blank=True) # Snippet of code provided to the user. - snippet = models.CharField(max_length=256, blank=True) + snippet = models.TextField(blank=True) # user for particular question user = models.ForeignKey(User, related_name="user") -- cgit From 6aa8fbc417df79befd51eee53cfe87d6883dbfb3 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 5 Oct 2017 18:28:50 +0530 Subject: changed div class to avoid conflict with bootstrap --- yaksh/static/yaksh/css/dashboard.css | 5 +++-- yaksh/templates/base.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/yaksh/static/yaksh/css/dashboard.css b/yaksh/static/yaksh/css/dashboard.css index 94005e1..20a0339 100644 --- a/yaksh/static/yaksh/css/dashboard.css +++ b/yaksh/static/yaksh/css/dashboard.css @@ -88,10 +88,11 @@ body { float: right; } -.info { +.logged_user_info { height: 70px; padding:0 5%; position:absolute; bottom:0; width: 100%; -} \ No newline at end of file +} + diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html index efac26d..e7cc15c 100644 --- a/yaksh/templates/base.html +++ b/yaksh/templates/base.html @@ -53,7 +53,7 @@ {% endblock %}