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
7bc96f16
Commit
7bc96f16
authored
May 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'forumv2'
parents
ce93b9f0
1cd32955
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
23 deletions
+30
-23
forum.css
widget_princessgabi/forum/static/forum.css
+0
-0
forum.html
widget_princessgabi/forum/templates/forum/forum.html
+30
-23
No files found.
widget_princessgabi/forum/static/forum.css
0 → 100644
View file @
7bc96f16
widget_princessgabi/forum/templates/forum/forum.html
View file @
7bc96f16
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load static %}
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
href=
"{% static 'forum.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 Forum{% endblock %}
{% block title %}Widget's Forum{% endblock %}
{% block content %}
{% block header %}
<h1>
Welcome to Widget's Forum!
</h1>
<h1>
Welcome to Widget's Forum!
</h1>
{% endblock %}
<h2>
Forum posts:
</h2>
{% block body %}
<ul>
{% block content %}
<div
class=
"main"
>
<h2>
Forum posts:
</h2>
<div
class=
"list"
>
<ol>
{% for post in forumposts %}
{% for post in forumposts %}
<li>
<li>
<a
href =
"{{ post.get_absolute_url }}"
>
<a
href=
"{{ post.get_absolute_url }}"
>
{{ post.title }} by {{ post.author.first_name }} {{ post.author.last_name }}
{{ post.title }} by {{ post.author.first_name }} {{ post.author.last_name }}
</a>
</a>
</li>
</li>
{% endfor %}
{% endfor %}
</ul>
</ol>
<a
href=
"../forumposts/add/"
>
New Post
</a>
<div>
<a
href =
"../dashboard/"
>
Dashboard
</a>
<a
href =
"../announcements/"
>
Announcement Board
</a>
<a
href =
"../assignments/"
>
Assignments
</a>
<a
href =
"../calendar/"
>
Calendar
</a>
</div>
</div>
<a
href=
"../forumposts/add/"
class=
"add-btn"
><i
class=
"fa fa-plus"
></i>
New Post
</a>
</div>
{% endblock %}
<div
class=
"links"
>
<a
href=
"../dashboard/"
class=
"btn-primary"
>
Dashboard
</a>
<a
href=
"../announcements/"
class=
"btn-primary"
>
Announcement Board
</a>
<a
href=
"../assignments/"
class=
"btn-primary"
>
Assignments
</a>
<a
href=
"../calendar/"
class=
"btn-primary"
>
Calendar
</a>
</div>
{% endblock %}
{% 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