Commit fcf8f869 authored by Ysabella Panghulan's avatar Ysabella Panghulan

edited calendar template

parent c7916771
{%extends 'base.html'%} {%extends 'base.html'%}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" href="{% static 'calendar.css' %}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{% endblock %}
{% block title %} Widget's Calendar of Activties {% endblock %} {% block title %} Widget's Calendar of Activties {% endblock %}
{% block header %} {% block header %}
...@@ -7,16 +12,20 @@ ...@@ -7,16 +12,20 @@
{% block body %} {% block body %}
{% block content %} {% block content %}
<ul> <div class="main">
{% for event in events %} <div class="list">
<a href="{{ event.get_absolute_url }}"> <ol>
<li>{{ event }}</li> {% for event in events %}
</a> <a href="{{ event.get_absolute_url }}">
{% endfor %} <li>{{ event }}</li>
</ul> </a>
{% endblock %} {% endfor %}
<div class="calendar-links"> </ol>
<a href="events/add" class="btn-primary">New Activity</a> {% endblock %}
</div>
<a href="events/add" class="add-btn"><i class="fa fa-plus"></i> New Activity</a>
</div>
<div class="links">
<a href="../dashboard" class="btn-primary">Dashboard</a> <a href="../dashboard" class="btn-primary">Dashboard</a>
<a href="../announcements" class="btn-primary">Announcements</a> <a href="../announcements" class="btn-primary">Announcements</a>
<a href="../forum" class="btn-primary">Forum</a> <a href="../forum" class="btn-primary">Forum</a>
......
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