Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_someone here is possessed by an owl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laetitia de Castro
widget_someone here is possessed by an owl
Commits
3392cbd1
Commit
3392cbd1
authored
May 25, 2022
by
kylemendozaa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added styles to assignments pages
parent
6a309017
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
3 deletions
+24
-3
assignment_detail.html
assignments/templates/assignments/assignment_detail.html
+3
-3
assignments.css
static/assignments.css
+21
-0
No files found.
assignments/templates/assignments/assignment_detail.html
View file @
3392cbd1
...
...
@@ -8,7 +8,7 @@
{% endblock %}
{% block content %}
<h1>
{{ assignment.course.course_code }} {{ assignment.course.course_title }} {{ assignment.course.section }}
</h1>
<h1
class=
"assignment-heading"
>
{{ assignment.course.course_code }} {{ assignment.course.course_title }} {{ assignment.course.section }}
</h1>
<h2>
{{ assignment.name }}
</h2>
<p>
{{ assignment.description }}
</p>
...
...
@@ -20,7 +20,7 @@
<img
src=
"{% static 'code.jpg' %}"
>
{% endif %}
<p>
Perfect Score:
<span>
{{ assignment.max_points }}
</span></p>
<p>
Passing Score:
<span>
{{ assignment.passing_score }}
</span></p>
<p
class=
"score"
>
Perfect Score:
<span>
{{ assignment.max_points }}
</span></p>
<p
class=
"score"
>
Passing Score:
<span>
{{ assignment.passing_score }}
</span></p>
{% endblock %}
\ No newline at end of file
static/assignments.css
0 → 100644
View file @
3392cbd1
@import
url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap')
;
*
{
font-family
:
'Montserrat'
,
sans-serif
;
background-color
:
#aeadeb
;
}
.assignment-heading
{
text-align
:
center
;
}
.score
{
font-weight
:
700
;
text-align
:
center
;
}
img
{
display
:
block
;
margin
:
0
auto
;
max-width
:
500px
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment