Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group22
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
John Tamano
widget_group22
Commits
1f4f8b35
Commit
1f4f8b35
authored
May 08, 2022
by
Julliana Zarah C. Cruz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the html files for the announcement app
parent
9af29825
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
0 deletions
+56
-0
announcements.html
.../announcements/templates/announcements/announcements.html
+20
-0
base.html
...t_group22/announcements/templates/announcements/base.html
+15
-0
details.html
...roup22/announcements/templates/announcements/details.html
+21
-0
No files found.
widget_group22/announcements/templates/announcements/announcements.html
0 → 100644
View file @
1f4f8b35
{% extends "announcements/base.html" %}
{% block content %}
<h1>
Announcement Board
</h1>
<body>
<p>
Important Announcements:
</p>
<ol
style=
"list-style-type:circle"
>
{% for announcement in all_announcements %}
<p>
<a
href =
{%
url
'
announcements:details
'
announcement
.
id
%}
>
{{announcement.announcement_title}} by
{{announcement.author.first_name}}
{{announcement.author.last_name}}
dated {{announcement.pub_date|date:"d/m/Y"}}
</a>
</p>
{% endfor %}
</ol>
</body>
{% endblock %}
widget_group22/announcements/templates/announcements/base.html
0 → 100644
View file @
1f4f8b35
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<link
rel=
"stylesheet"
href=
"style.css"
>
<title>
{% block title %}{% endblock %}
</title>
{% block styles %}{% endblock %}
</head>
<body>
<div
id=
"content"
>
{% block content %}{% endblock %}
</div>
{% block scripts %}{% endblock %}
</body>
</html>
widget_group22/announcements/templates/announcements/details.html
0 → 100644
View file @
1f4f8b35
{% extends "announcements/base.html" %}
{% block content %}
<h1>
{{announcement_details.announcement_title}}
</h1>
<h2>
by
{{announcement_details.author.first_name}}
{{announcement_details.author.last_name}}
dated {{announcement_details.pub_date|date:"d/m/Y"}}
</h2>
<p>
{{announcement_details.announcement_body}}
</p>
<li>
Like: {{like}}
</li>
<li>
Love: {{love}}
</li>
<li>
Angry: {{angry}}
</li>
<img
src=
http://images.gmanews.tv/webpics/2021/11/rastaman_2021_11_07_16_56_21.png
>
{% 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