Commit 8aa8cc25 authored by Bryan Carlo Guanlao's avatar Bryan Carlo Guanlao

added background color for announcement form

parent 80da0443
...@@ -4,19 +4,20 @@ ...@@ -4,19 +4,20 @@
<h1>New Announcement</h1> <h1>New Announcement</h1>
</div> </div>
<div class="form"> <div class="body2">
<form method="POST"> <div class="form">
{% csrf_token %} <form method="POST">
<table border="1"> {% csrf_token %}
{{form.as_table}} <table border="1">
<tr> {{form.as_table}}
<td colspan="2"><input class="save-btn" type="submit" value="Save Announcement"></td> <tr>
</tr> <td colspan="2"><input class="save-btn" type="submit" value="Save Announcement"></td>
</table> </tr>
</form> </table>
<a class="go-back" href="{% url 'announcements:announcement-list' %}"><button>Go back</button></a> </form>
<a class="go-back" href="{% url 'announcements:announcement-list' %}"><button>Go back</button></a>
</div>
</div> </div>
{% load static %} {% load static %}
<link rel="stylesheet" href="{% static 'announcements/css/announcement-form.css' %}"> <link rel="stylesheet" href="{% static 'announcements/css/announcement-form.css' %}">
{% endblock content %} {% endblock content %}
\ No newline at end of file
body {
background-color: bisque;
}
table { table {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-top: 30px; margin-top: 30px;
background-color: rgb(230, 230, 230);
} }
.header { .header {
......
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