Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group17
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
Vaughn Nephi Fajardo
widget_group17
Commits
b814c062
Commit
b814c062
authored
May 18, 2022
by
Joan Denise Nocos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added CSS styling to index and details templates of assignments app
parent
c91fe2c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
7 deletions
+52
-7
style.css
widget_group_17/assignments/static/style.css
+45
-0
details.html
...t_group_17/assignments/templates/assignments/details.html
+3
-3
index.html
widget_group_17/assignments/templates/assignments/index.html
+4
-4
No files found.
widget_group_17/assignments/static/style.css
0 → 100644
View file @
b814c062
h1
{
position
:
sticky
;
text-align
:
center
;
color
:
purple
;
font-size
:
55px
;
font-family
:
Georgia
;
}
h2
{
color
:
purple
;
font-size
:
30px
;
font-family
:
Georgia
;
}
h3
{
color
:
black
;
font-weight
:
bold
;
font-family
:
Courier
New
;
font-size
:
25px
;
}
p
{
color
:
black
;
font-family
:
Helvetica
;
font-size
:
20px
;
}
body
{
background-color
:
white
;
background-size
:
cover
;
background-position
:
center
;
background-attachment
:
fixed
;
font-family
:
Helvetica
;
}
a
{
color
:
blue
;
font-family
:
Courier
New
;
font-size
:
20px
;
font-weight
:
bold
;
}
ol
{
font-size
:
35px
;
font-family
:
Helvetica
;
color
:
black
;
font-weight
:
bold
;
}
a
:link
{
text-decoration
:
underline
;
}
\ No newline at end of file
widget_group_17/assignments/templates/assignments/details.html
View file @
b814c062
{% load static %}
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
>
{% comment %}
<link
rel=
"stylesheet"
type=
"text/css"
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'style.css' %}"
>
href=
"{% static 'style.css' %}"
>
{% endcomment %}
<title>
{% block page-title %}Assignment {{ assignment_id }} Details{% endblock %}
</title>
<title>
{% block page-title %}Assignment {{ assignment_id }} Details{% endblock %}
</title>
</head>
</head>
<body>
<body>
<h1>
{{ course.course_code }} {{ course.course_title }} {{ course.section }}
</h1>
<h1>
{{ course.course_code }} {{ course.course_title }} {{ course.section }}
</h1>
<
p>
Name: {{ assignment.name }}
</p
>
<
h3>
{{ assignment.name }}
</h3
>
<p>
Description: {{ assignment.description }}
</p>
<p>
Description: {{ assignment.description }}
</p>
<p>
Perfect Score: {{ assignment.max_points }}
</p>
<p>
Perfect Score: {{ assignment.max_points }}
</p>
<p>
Passing Score: {{ assignment.passing_score }}
</p>
<p>
Passing Score: {{ assignment.passing_score }}
</p>
...
...
widget_group_17/assignments/templates/assignments/index.html
View file @
b814c062
{% load static %}
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
>
{% comment %}
<link
rel=
"stylesheet"
type=
"text/css"
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'style.css' %}"
>
href=
"{% static 'style.css' %}"
>
{% endcomment %}
<title>
{% block page-title %}Assignments Per Course{% endblock %}
</title>
<title>
{% block page-title %}Assignments{% endblock %}
</title>
</head>
</head>
<body>
<body>
<h1>
Assignments Per Course
</h1>
<h1>
Assignments Per Course
</h1>
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
{% if course_list %}
{% if course_list %}
<ul>
<ul>
{% for course in course_list %}
{% for course in course_list %}
<
p>
{{ course.course_code }} {{ course.course_title }} {{ course.section }}
</p
>
<
li><h3>
{{ course.course_code }} {{ course.course_title }} {{ course.section }}
</h3></li
>
<ul>
<ul>
{% for assignment in assignment_list %}
{% for assignment in assignment_list %}
{% if assignment.course == course %}
{% if assignment.course == course %}
...
...
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