diff options
| author | Bobby <[email protected]> | 2022-11-12 14:14:37 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-12 14:14:37 -0500 |
| commit | 55eba843c0d2fe55691578ac071407e3321edaeb (patch) | |
| tree | 1acc69f8ba6235f1bfaee37db016a4dc54e948a5 /templates | |
| parent | 80cde1427254ce4bab2f868ea9f79cf0cec93fe4 (diff) | |
| download | thatcomputerscientist-55eba843c0d2fe55691578ac071407e3321edaeb.tar.xz thatcomputerscientist-55eba843c0d2fe55691578ac071407e3321edaeb.zip | |
changes to the announcement section
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/blog/home.html | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/templates/blog/home.html b/templates/blog/home.html index c8b0fa4f..cfce7399 100644 --- a/templates/blog/home.html +++ b/templates/blog/home.html @@ -30,13 +30,26 @@ {% if announcements is not None %} <fieldset> <legend> - <img src = "{% static 'images/gifs/update.gif' %}" height="16px"> + <img src = "{% static 'images/gifs/update.gif' %}" height="16px" width="80px" class="updates"> </legend> <marquee behavior="scroll" direction="up" height="250" scrollamount="2" scrolldelay="10" onmouseover="this.stop()" onmouseout="this.start()"> <ul class="announcements"> {% for announcement in announcements %} - <li {% if announcement.is_new %}class="newac"{% endif %}> - <b>{{ announcement.created_at | date:"M d, Y" }}</b> {{ announcement.content }} + <li style="margin-bottom: 20px;"> + <table> + <tr> + <td width="30px"> + {% if announcement.is_new %} + <img class="ac" src="{% static 'images/gifs/new_announcement.gif' %}"/> + {% else %} + <img class="ac2" src="{% static 'images/gifs/hand.gif' %}"/> + {% endif %} + </td> + <td style="color: white;"> + <b>{{ announcement.created_at | date:"M d, Y" }}</b> {{ announcement.content }} + </td> + </tr> + </table> </li> {% endfor %} </ul> |
