From 5b9075b1b12004246cf8d6f73b67883648b4cebb Mon Sep 17 00:00:00 2001 From: Akshen Date: Wed, 7 Jun 2017 15:22:21 +0530 Subject: Change Nav-Brand CSS color and Help text in Register --- workshop_app/forms.py | 7 +++---- workshop_app/models.py | 5 ++++- workshop_app/static/workshop_app/css/sticky-footer.css | 5 +++++ workshop_app/templates/workshop_app/register.html | 10 ++++++++-- 4 files changed, 20 insertions(+), 7 deletions(-) (limited to 'workshop_app') diff --git a/workshop_app/forms.py b/workshop_app/forms.py index 3ee457a..5113095 100644 --- a/workshop_app/forms.py +++ b/workshop_app/forms.py @@ -44,10 +44,9 @@ class UserRegistrationForm(forms.Form): help_text='Institute/Organization') department = forms.CharField(max_length=64, help_text='Department you work/\ study') - position = forms.ChoiceField(help_text='Instructors, please wait \ - for our admin approval, if your instructor \ - account is not activated in 7 days, please\ - mail us at workshops[at]fossee[dot]in', + position = forms.ChoiceField(help_text='Select Coordinator if you want to organise a workshop\ + in your college/school.
Select Instructor if you want to conduct\ + a workshop.', choices=position_choices ) diff --git a/workshop_app/models.py b/workshop_app/models.py index 422eee7..70a22ee 100644 --- a/workshop_app/models.py +++ b/workshop_app/models.py @@ -29,7 +29,10 @@ class Profile(models.Model): Up to 15 digits allowed.") )] ,null=False) - position = models.CharField(max_length=32, choices=position_choices) + position = models.CharField(max_length=32, choices=position_choices, + help_text='Select Coordinator if you want to organise a workshop\ + in your college/school.
Select Instructor if you want to conduct\ + a workshop.') is_email_verified = models.BooleanField(default=False) activation_key = models.CharField(max_length=255, blank=True, null=True) key_expiry_time = models.DateTimeField(blank=True, null=True) diff --git a/workshop_app/static/workshop_app/css/sticky-footer.css b/workshop_app/static/workshop_app/css/sticky-footer.css index cb21144..924258c 100644 --- a/workshop_app/static/workshop_app/css/sticky-footer.css +++ b/workshop_app/static/workshop_app/css/sticky-footer.css @@ -31,6 +31,11 @@ background-color: black; } +.navbar-custom .navbar-brand:hover{ + color: black; + background-color: #efefef; +} + /* Footer CSS */ .footer { position: relative; diff --git a/workshop_app/templates/workshop_app/register.html b/workshop_app/templates/workshop_app/register.html index 6e688d5..fcb0739 100644 --- a/workshop_app/templates/workshop_app/register.html +++ b/workshop_app/templates/workshop_app/register.html @@ -18,8 +18,10 @@ {% endblock %} - + + {% block content %} +