Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_CtrlF
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
Fritzie Dianne Del Pilar
midterm_CtrlF
Commits
af3f6f1f
Commit
af3f6f1f
authored
May 15, 2023
by
Fritzie Dianne Del Pilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added block heading
parent
a36f8b27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
8 deletions
+49
-8
announcements.html
...uncement_board/templates/announcements/announcements.html
+49
-8
No files found.
widget_CtrlF/announcement_board/templates/announcements/announcements.html
View file @
af3f6f1f
...
...
@@ -3,15 +3,61 @@
{% block page-title %} Widget's Announcement Board {% endblock %}
{% block heading %}
<h1>
Welcome to Widget's Announcement Board!
</h1>
{% endblock %}
{% block heading %}
<!DOCTYPE html>
<html>
<head>
<style>
ul
{
list-style-type
:
none
;
margin
:
0
;
padding
:
0
;
overflow
:
hidden
;
background-color
:
#333
;
}
li
{
float
:
left
;
}
li
a
{
display
:
block
;
color
:
white
;
text-align
:
center
;
padding
:
14px
16px
;
text-decoration
:
none
;
}
li
a
:hover
{
background-color
:
#111
;
}
</style>
</head>
<body>
<ul>
<li><a
class=
"active"
href=
"/dashboard/"
>
Dashboard
</a></li>
<li><a
href=
"/forum/"
>
Forum
</a></li>
</ul>
</body>
</html>
<header>
<link
href=
'https://fonts.googleapis.com/css?family=Dancing Script'
rel=
'stylesheet'
>
<div
class=
"overlay"
>
<h>
Welcome to Widget's Announcement Board!
</h>
</div>
</header>
{% endblock %}
{% block content %}
<
p>
Announcements:
<br><br
>
{% for a in announcements_list %}
<
h3>
Announcements:
</h3
>
<p>
{% for a in announcements_list %}
<a
href=
"{% url 'announcement_board:announcement-details' a.pk %}"
>
{{a.title}} by {{ a.author.first_name }} {{ a.author.last_name }}
</a><br>
{% endfor %}
<br>
</p>
{% endblock %}
...
...
@@ -21,9 +67,4 @@
<button
class=
"btn add"
>
New Announcement
</button>
</a>
</p>
<p>
<a
href=
"/dashboard/"
class=
"link"
>
Dashboard
</a><br>
<a
href=
"/forum/"
class=
"link"
>
Forum
</a><br>
</p>
{% endblock %}
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