Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ysabella Panghulan
midterm_princessgabi
Commits
455166a2
Commit
455166a2
authored
May 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited event template
parent
c9fbe324
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
calendar.html
...i/widget_calendar/templates/widget_calendar/calendar.html
+0
-1
event-details.html
...get_calendar/templates/widget_calendar/event-details.html
+15
-9
No files found.
widget_princessgabi/widget_calendar/templates/widget_calendar/calendar.html
View file @
455166a2
{% 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 %}
...
...
widget_princessgabi/widget_calendar/templates/widget_calendar/event-details.html
View file @
455166a2
{%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 %}
...
...
@@ -9,14 +15,14 @@
{% block body %}
<div
class=
"event-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>
Estimated Hours: {{ object.estimated_hours }}
</h4>
<h4>
{{ object.course.code }} {{ object.course.title }} - {{ object.course.section }}
</h4>
<h4>
Mode: {{ object.location.mode }}
</h4>
<h4>
Venue: {{ object.location.venue }}
</h4>
</div>
{% endblock %}
</div>
<div
class=
"links"
>
<a
href=
"{{object.get_absolute_url}}../edit"
class=
"btn-primary"
>
Edit Activity
</a>
<a
href=
"{{object.get_absolute_url}}../edit"
class=
"edit-btn"
><i
class=
"fa fa-edit"
></i>
Edit Activity
</a>
</div>
{% endblock %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment