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
7f746275
Commit
7f746275
authored
May 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'announcementsv2'
parents
b89e8355
303a62fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
18 deletions
+30
-18
announcements.css
...ouncementboard/static/announcementboard/announcements.css
+0
-0
announcements.html
...ementboard/templates/announcementboard/announcements.html
+30
-18
No files found.
widget_princessgabi/announcementboard/static/announcementboard/announcements.css
0 → 100644
View file @
7f746275
widget_princessgabi/announcementboard/templates/announcementboard/announcements.html
View file @
7f746275
{% extends 'base.html' %}
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
href=
"{% static 'announcements.css' %}"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
>
{% endblock %}
{% block title %} Widget's Announcement Board {% endblock %}
{% block header %}
<h1>
Welcome to Widget's Announcement Board!
</h1>
{% endblock %}
{% block body %}
{% block content %}
<h2>
Announcements:
</h2><br>
<div
class=
"main"
>
<div
class=
"list"
>
<h2>
Announcements:
</h2><br>
<div>
<u
l>
<o
l>
{% for announcement in announcements %}
<li>
<a
href=
"{{ announcement.get_absolute_url }}"
>
{{ announcement.title }} by {{ announcement.author.first_name }} {{ announcement.author.last_name }}
{{ announcement.title }} by {{ announcement.author.first_name }} {{
announcement.author.last_name }}
</a>
</li>
{% endfor %}
</u
l>
</o
l>
</div>
<div>
<a
href=
"/announcements/add/"
>
New Announcement
</a>
</div>
<a
href=
"/dashboard/"
>
Dashboard
</a>
<a
href=
"/forum/"
>
Forum
</a>
<a
href=
"/assignments/"
>
Assignments
</a>
<a
href=
"/calendar/"
>
Calendar
</a>
<a
href=
"/announcements/add/"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Announcement
</a>
</div>
{% endblock %}
<div
class=
"links"
>
<a
href=
"/dashboard/"
class=
"btn-primary"
>
Dashboard
</a>
<a
href=
"/forum/"
class=
"btn-primary"
>
Forum
</a>
<a
href=
"/assignments/"
class=
"btn-primary"
>
Assignments
</a>
<a
href=
"/calendar/"
class=
"btn-primary"
>
Calendar
</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