Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
midterm_OhMyBash
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
Nheo Samson
midterm_OhMyBash
Commits
c1b3e4b0
Commit
c1b3e4b0
authored
May 13, 2023
by
Alliyah Marcelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified forum.html to display Forum page.
parent
f6e510de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
forum.html
widget_OhMyBash/forum/templates/forum/forum.html
+28
-1
No files found.
widget_OhMyBash/forum/templates/forum/forum.html
View file @
c1b3e4b0
forum
{% extends 'base.html' %}
\ No newline at end of file
{% load static %}
{% block title %}Widget's Forum{% endblock %}
{% block heading %}Welcome to Widget's Forum!{% endblock %}
{% block content %}
<p>
Forum Posts:
<br>
{% for post in posts %}
<a
href=
"{{ post.get_absolute_url }}"
>
{{ post.title }} by {{ post.author }}
</a><br>
{% endfor %}
</p>
{% endblock %}
{% block footing %}
<a
href=
"{% url 'forum:forumpost-create' %}"
>
<button
class=
"btn add"
>
New Post
</button>
</a><br>
<a
href=
"/dashboard/"
class=
"link"
>
Dashboard
</a><br>
<a
href=
"/announcements/"
class=
"link"
>
Announcements
</a><br>
<a
href=
"/assignments/"
class=
"link"
>
Assignments
</a><br>
<a
href=
"/widget_calendar/"
class=
"link"
>
Calendar
</a>
{% 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