Commit f723b185 authored by Katrina Bernice Tan's avatar Katrina Bernice Tan

Edited buttons and headings to align them to the final project's specifications

parent 9a53c3fd
......@@ -76,9 +76,4 @@ a:hover{
#details h4{
font-size: 20px;
font-weight: 500;
}
#button a{
font-weight: 900px;
padding: 5em;
}
\ No newline at end of file
......@@ -13,17 +13,17 @@
{% block content %}
<div id = "header">
<h1> Create a new assignment </h1>
<h1> New assignment </h1>
</div>
<div id = "courses" style="margin: 5em;">
<a href = "/assignments"> > Back to home </a>
<form action="{% url 'Assignments:assignment-list' %}" method = "POST" style = "padding-top: 5em;" enctype = "multipart/form-data">
<form action="{% url 'Assignments:assignment-list' %}" method = "POST" enctype = "multipart/form-data">
{% csrf_token %}
{{form}}
<input type = "submit" value = "Create New Subject">
{{form.as_p}}
<input type = "submit" value = "Save Assignment" style = "text-align: right;">
</form>
......
......@@ -17,8 +17,8 @@
<h1> List of courses: </h1>
</div>
{% include "Assignments/assignment_list.html" with assignments=assignment course=course %}
<div id = "button">
<a href = "/assignments/add" id = "assignment-button" style = "font-weight: 900px"> > New Assignment </a>
<div id = "post_button">
<a href = "/assignments/add" id = "button"> > New Assignment </a>
</div>
......
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