Commit c7c203a9 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

apparently something was changed in the styles.css, and I just added an 'is...

apparently something was changed in the styles.css, and I just added an 'is upperclass' function in the model
parent 87c9b9b7
...@@ -12,15 +12,15 @@ body { ...@@ -12,15 +12,15 @@ body {
min-height: 100%; min-height: 100%;
height: auto; height: auto;
/* Negative indent footer by its height */ /* Negative indent footer by its height */
margin: 0 auto -25px; margin: 0 auto -30px;
/* Pad bottom by footer height */ /* Pad bottom by footer height */
padding: 0 0 25px; padding: 0 0 30px;
padding-top: 25px; padding-top: 30px;
} }
/* Set the fixed height of the footer here */ /* Set the fixed height of the footer here */
#footer { #footer {
height: 60px; height: 30px;
background-color: #f5f5f5; background-color: #f5f5f5;
text-align: center; text-align: center;
} }
...@@ -25,6 +25,12 @@ class Course(BaseModel): ...@@ -25,6 +25,12 @@ class Course(BaseModel):
courseDescription = models.TextField() courseDescription = models.TextField()
credits = models.IntegerField() credits = models.IntegerField()
def isUpperClass:
if courseNumber > 300:
return True:
else:
return False
# available next semester? # available next semester?
# CRN # CRN
# section number # section number
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment