Commit 455166a2 authored by Ysabella Panghulan's avatar Ysabella Panghulan

edited event template

parent c9fbe324
{% extends 'base.html'%} {% extends 'base.html'%}
{% load static %} {% load static %}
{% block stylesheets %} {% 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"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{% endblock %} {% endblock %}
......
{%extends 'base.html'%} {% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'widget_calendar/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 %}{{ object }}{% endblock %} {% block title %}{{ object }}{% endblock %}
...@@ -9,14 +15,14 @@ ...@@ -9,14 +15,14 @@
{% block body %} {% block body %}
<div class="event-content"> <div class="event-content">
{% block content %} {% block content %}
<div class="details">
<h4>Date and Time: {{ object.target_datetime|date:'m/d/Y' }} {{ object.target_datetime|date:'h:i A' }} </h4> <h4>Date and Time: {{ object.target_datetime|date:'m/d/Y' }} {{ object.target_datetime|date:'h:i A' }} </h4>
<h4>Estimated Hours: {{ object.estimated_hours }}</h4> <h4>Estimated Hours: {{ object.estimated_hours }}</h4>
<h4>{{ object.course.code }} {{ object.course.title }} - {{ object.course.section }}</h4> <h4>{{ object.course.code }} {{ object.course.title }} - {{ object.course.section }}</h4>
<h4>Mode: {{ object.location.mode }}</h4> <h4>Mode: {{ object.location.mode }}</h4>
<h4>Venue: {{ object.location.venue }}</h4> <h4>Venue: {{ object.location.venue }}</h4>
</div>
{% endblock %} {% endblock %}
</div> <a href="{{object.get_absolute_url}}../edit" class="edit-btn"><i class="fa fa-edit"></i> Edit Activity</a>
<div class="links">
<a href="{{object.get_absolute_url}}../edit" class="btn-primary">Edit Activity</a>
</div> </div>
{% endblock %} {% endblock %}
\ No newline at end of file
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