Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_tee jays angelos
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
Ramon Angelo Enriquez
widget_tee jays angelos
Commits
954a1d5e
Commit
954a1d5e
authored
May 09, 2022
by
Paul Angelo Sy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaked CSS styles for Assignments app
parent
df458c7c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
8 deletions
+37
-8
views.cpython-310.pyc
...ays_angelos/assignments/__pycache__/views.cpython-310.pyc
+0
-0
style.css
...tee_jays_angelos/assignments/static/assignments/style.css
+24
-1
detail.html
...ays_angelos/assignments/templates/assignments/detail.html
+5
-3
index.html
...jays_angelos/assignments/templates/assignments/index.html
+6
-4
base.html
widget_tee_jays_angelos/templates/base.html
+2
-0
No files found.
widget_tee_jays_angelos/assignments/__pycache__/views.cpython-310.pyc
View file @
954a1d5e
No preview for this file type
widget_tee_jays_angelos/assignments/static/assignments/style.css
View file @
954a1d5e
...
...
@@ -3,4 +3,27 @@ h1 {
font-weight
:
bold
;
}
body
{
background-color
:
coral
;}
ul
li
{
text-decoration
:
underline
;
}
li
{
padding-bottom
:
20px
;
}
.bold
{
font-weight
:
bold
;
color
:
red
;
font-size
:
20px
;
}
.small
{
font-weight
:
normal
color
:
black
;
font-size
:
17px
;
}
widget_tee_jays_angelos/assignments/templates/assignments/detail.html
View file @
954a1d5e
{% extends 'base.html' %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/style.css' %}"
{% block head %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/style.css' %}"
>
{% endblock %}
{% block content %}
<h1>
{{course}} {{course.course_title}}
</h1>
<li>
Name: {{assignment.name}}
</li>
<li
class =
"bold"
>
Name: {{assignment.name}}
</li>
<li>
Description: {{assignment.description}}
</li>
<li>
Perfect Score: {{assignment.max_points}}
</li>
<li>
Passing Score: {{assignment.passing_score}}
</li>
...
...
widget_tee_jays_angelos/assignments/templates/assignments/index.html
View file @
954a1d5e
{% extends 'base.html' %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/style.css' %}"
{% block head %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/style.css' %}"
>
{% endblock %}
{% block content %}
<h1>
Assignments Per Course
</h1>
{% if course_list %}
{% for course in course_list %}
<li>
{{course}} {{course.course_title}} {{course.section}}
<li
class =
"bold"
>
{{course}} {{course.course_title}} {{course.section}}
{% for assignment in assignment_list %}
{% if assignment.course_code == course %}
<ul>
<ul
class =
"small"
>
<li>
<a
href=
"/assignments/{{assignment.name}}/"
>
{{assignment.name}}
</a></li>
</ul>
{% endif %}
...
...
widget_tee_jays_angelos/templates/base.html
View file @
954a1d5e
...
...
@@ -6,6 +6,8 @@
<meta
charset =
"UTF-8"
<
meta
http-equiv=
"X-UA-COMPATIBLE"
content=
"IE=edge"
>
<meta
name=
"viewport"
content =
"width=device-width, inital-scale=1.0"
>
{% block head %}
{% endblock %}
</head>
<body>
{% block content %}
...
...
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