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
e8a7dcf2
Commit
e8a7dcf2
authored
May 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'calendarv2'
parents
4a6e2c68
455166a2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
10 deletions
+31
-10
event.css
...cessgabi/widget_calendar/static/widget_calendar/event.css
+14
-0
calendar.html
...i/widget_calendar/templates/widget_calendar/calendar.html
+2
-1
event-details.html
...get_calendar/templates/widget_calendar/event-details.html
+15
-9
No files found.
widget_princessgabi/widget_calendar/static/widget_calendar/event.css
0 → 100644
View file @
e8a7dcf2
body
{
height
:
100vh
;
background-color
:
#E9E3FE
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.event-content
{
margin-top
:
auto
;
padding
:
2rem
;
border-radius
:
0.5rem
;
background-color
:
white
}
\ No newline at end of file
widget_princessgabi/widget_calendar/templates/widget_calendar/calendar.html
View file @
e8a7dcf2
...
@@ -21,10 +21,11 @@
...
@@ -21,10 +21,11 @@
</a>
</a>
{% endfor %}
{% endfor %}
</ol>
</ol>
{% endblock %}
</div>
</div>
<a
href=
"events/add"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Activity
</a>
<a
href=
"events/add"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Activity
</a>
</div>
</div>
{% endblock %}
<div
class=
"links"
>
<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>
...
...
widget_princessgabi/widget_calendar/templates/widget_calendar/event-details.html
View file @
e8a7dcf2
{%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
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