Commit b814c062 authored by Joan Denise Nocos's avatar Joan Denise Nocos

added CSS styling to index and details templates of assignments app

parent c91fe2c7
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
{% 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>
......
{% 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 %}
......
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