some baseline stuff
This commit is contained in:
23
templates/index.html
Normal file
23
templates/index.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<span class="title"><h1>{% block title %} Events {% endblock %}</h1></span>
|
||||
<div class="content">
|
||||
{% for event in events %}
|
||||
<div class="event">
|
||||
<p><b>Period {{ event.period_num }}</b></p>
|
||||
<b>
|
||||
<p class="title">
|
||||
<a href="/task/{{ event.tasks.id }}">
|
||||
{{ event.tasks.title }}
|
||||
</a>
|
||||
</p>
|
||||
</b>
|
||||
<div class="content">
|
||||
<p>{{ event.tasks.description }}</p>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user