diff --git a/phittest/pages/models.py b/phittest/pages/models.py index 917c8cb..2e1d049 100644 --- a/phittest/pages/models.py +++ b/phittest/pages/models.py @@ -28,7 +28,7 @@ class Survey(models.Model): ) survey_id = models.AutoField(primary_key=True) user = models.ForeignKey(User, on_delete=models.CASCADE, default=0) - date = models.DateField(null=True, auto_now_add=True) #auto_now_add=True + date = models.DateField(null=True,auto_now_add=True) #auto_now_add=True incomplete_emptying = models.IntegerField(blank=False, null=True, default=0) frequency = models.IntegerField(blank=False, null=True, default=0) intermittency = models.IntegerField(blank=False, null=True, default=0) diff --git a/phittest/static/register.css b/phittest/static/register.css index 3921e46..e11aabc 100644 --- a/phittest/static/register.css +++ b/phittest/static/register.css @@ -35,7 +35,8 @@ form{ background-color: rgba(255, 255, 255, .3); width: 100%; height:100%; - min-height: 1050px; + max-height: 1050px; + min-height:650px; max-width: 840px; padding:15px; border-radius:20px; @@ -65,6 +66,7 @@ h1{ .title{ text-shadow: 2px 2px 4px rgba(0, 0, 0, .2); opacity: 0.9; + margin-top:20px; } input{