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
57d7b9f0
Commit
57d7b9f0
authored
May 14, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Plain Diff
Edited forumpost-details.html: fixed error
parents
2f3742dc
53806eba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
22 deletions
+27
-22
forum.css
widget_princessgabi/forum/static/forum.css
+0
-0
forum.css
widget_princessgabi/forum/static/forum/forum.css
+0
-0
forum.html
widget_princessgabi/forum/templates/forum/forum.html
+27
-22
No files found.
widget_princessgabi/forum/static/forum.css
0 → 100644
View file @
57d7b9f0
widget_princessgabi/forum/static/forum/forum.css
0 → 100644
View file @
57d7b9f0
widget_princessgabi/forum/templates/forum/forum.html
View file @
57d7b9f0
{% 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 %}
{% for post in forumposts %}
<div
class=
"main"
>
<li>
<h2>
Forum posts:
</h2>
<a
href =
"{{ post.get_absolute_url }}"
>
<div
class=
"list"
>
{{ post.title }} by {{ post.author.first_name }} {{ post.author.last_name }}
<ol>
{% for post in forumposts %}
<a
href=
"{{ post.get_absolute_url }}"
>
<li>
{{ post.title }} by {{ post.author.first_name }} {{ post.author.last_name }}
</li>
</a>
</a>
</li>
{% endfor %}
{% endfor %}
</ol>
</ul>
<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