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