Commit 96508d52 authored by justin's avatar justin

feat: finalized ss (TODO: do for assignments page)

parent f9ba1a62
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<p> {{ object.body }} </p> <br> <p> {{ object.body }} </p> <br>
{# iterate through reactions, show name: tally #} {# iterate through reactions, show name: tally #}
Reactions: <p>Reactions:</p>
<ul> <ul>
{% for reaction in object.reactlist.all %} {% for reaction in object.reactlist.all %}
<li> <b>{{ reaction.name}}:</b> {{ reaction.tally }} </li> <li> <b>{{ reaction.name}}:</b> {{ reaction.tally }} </li>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
{% block title %}{{ object.title }}{% endblock %} {% block title %}{{ object.title }}{% endblock %}
{% block content %} {% block content %}
<h1>{{ object.activity }}</h1> <h1>{{ object.activity }}</h1>
<b>Date and Time: </b> {{ object.target_datetime|date:"m/d/Y, h:i A" }} <br> <b>Date and Time: </b> <p>{{ object.target_datetime|date:"m/d/Y, h:i A" }}</p> <br/>
<b>Estimated Hours: </b>{{ object.estimated_hours }} <br> <b>Estimated Hours: </b><p>{{ object.estimated_hours }}</p> <br/>
<b>Course: </b>{{ object.course }} <br> <b>Course: </b><p>{{ object.course }}</p> <br/>
<b>Mode: </b>{{ object.location.mode }} <br> <b>Mode: </b><p>{{ object.location.mode }}</p> <br/>
<b>Venue: </b>{{ object.location.getvenue|urlize }} <br> <b>Venue: </b><p>{{ object.location.getvenue|urlize }}</p> <br/>
<form action="../edit"> <form action="../edit">
<button type="Submit">Edit Activity</button> <button type="Submit">Edit Activity</button>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<h2> {{ object.author.first_name }} {{ object.author.last_name }}</h2> <h2> {{ object.author.first_name }} {{ object.author.last_name }}</h2>
<h3> {{ object.pub_datetime|date:"m/d/Y, h:i A" }} </h3> <h3> {{ object.pub_datetime|date:"m/d/Y, h:i A" }} </h3>
<p> {{ object.body }} </p> <br> <p> {{ object.body }} </p> <br>
Post Replies: <p>Post Replies:</p>
<ul> <ul>
{% for reply in object.replies.all %} {% for reply in object.replies.all %}
<li> <li>
......
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;500&family=Roboto:wght@700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Poppins:ital,wght@0,200;0,500;1,200&family=Roboto:wght@700&display=swap');
:root { :root {
--fg: #b7bdf8; --fg: #b7bdf8;
...@@ -39,6 +39,7 @@ ul { ...@@ -39,6 +39,7 @@ ul {
li { li {
padding: 0.15rem; padding: 0.15rem;
font-family: 'Roboto';
} }
h1 { h1 {
...@@ -50,6 +51,20 @@ h2 { ...@@ -50,6 +51,20 @@ h2 {
font-weight: 200; font-weight: 200;
} }
h3 {
font-family: 'Poppins', sans-serif;
font-style: italic;
}
p {
font-family: 'Poppins', sans-serif;
font-weight: 200;
}
b {
font-family: 'Poppins', sans-serif;
}
button { button {
border-radius: 0.15rem; border-radius: 0.15rem;
padding: 0.5rem; padding: 0.5rem;
......
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