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
056c295d
Commit
056c295d
authored
May 15, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed formatinng of forms and templates
parent
b9635047
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
2 deletions
+2
-2
__init__.cpython-310.pyc
...gabi/widget_calendar/__pycache__/__init__.cpython-310.pyc
+0
-0
apps.cpython-310.pyc
...cessgabi/widget_calendar/__pycache__/apps.cpython-310.pyc
+0
-0
models.cpython-310.pyc
...ssgabi/widget_calendar/__pycache__/models.cpython-310.pyc
+0
-0
models.py
widget_princessgabi/widget_calendar/models.py
+1
-1
event-details.html
...get_calendar/templates/widget_calendar/event-details.html
+1
-1
__init__.cpython-310.pyc
.../widget_princessgabi/__pycache__/__init__.cpython-310.pyc
+0
-0
settings.cpython-310.pyc
.../widget_princessgabi/__pycache__/settings.cpython-310.pyc
+0
-0
No files found.
widget_princessgabi/widget_calendar/__pycache__/__init__.cpython-310.pyc
0 → 100644
View file @
056c295d
File added
widget_princessgabi/widget_calendar/__pycache__/apps.cpython-310.pyc
0 → 100644
View file @
056c295d
File added
widget_princessgabi/widget_calendar/__pycache__/models.cpython-310.pyc
0 → 100644
View file @
056c295d
File added
widget_princessgabi/widget_calendar/models.py
View file @
056c295d
...
...
@@ -17,8 +17,8 @@ class Location(models.Model):
return
self
.
venue
class
Event
(
models
.
Model
):
target_datetime
=
models
.
DateTimeField
(
'target date'
)
activity
=
models
.
TextField
()
target_datetime
=
models
.
DateTimeField
(
'target date/time'
)
estimated_hours
=
models
.
FloatField
()
location
=
models
.
ForeignKey
(
Location
,
on_delete
=
models
.
CASCADE
)
course
=
models
.
ForeignKey
(
Course
,
on_delete
=
models
.
CASCADE
)
...
...
widget_princessgabi/widget_calendar/templates/widget_calendar/event-details.html
View file @
056c295d
...
...
@@ -13,7 +13,7 @@
{% block body %}
<div
class=
"event-content"
>
{% block content %}
<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>
{{ object.course.code }} {{ object.course.title }} - {{ object.course.section }}
</h4>
<h4>
Mode: {{ object.location.mode }}
</h4>
...
...
widget_princessgabi/widget_princessgabi/__pycache__/__init__.cpython-310.pyc
View file @
056c295d
No preview for this file type
widget_princessgabi/widget_princessgabi/__pycache__/settings.cpython-310.pyc
View file @
056c295d
No preview for this file type
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