Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group 25
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
Andre Matthew Dumandan
widget_group 25
Commits
31851678
Commit
31851678
authored
May 17, 2022
by
Stephanie Tullao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified forum's html files
parent
85dc8d0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
forum_details.html
...oup_25/widget_group_25/templates/forum/forum_details.html
+18
-12
forum_list.html
..._group_25/widget_group_25/templates/forum/forum_list.html
+5
-11
No files found.
widget_group_25/widget_group_25/templates/forum/forum_details.html
View file @
31851678
...
@@ -4,30 +4,36 @@
...
@@ -4,30 +4,36 @@
{% block title %}{{ post.post_title }}{% endblock %}
{% block title %}{{ post.post_title }}{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/
detail
_styles.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/
forum_details
_styles.css' %}"
>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<body>
{% if post.id == 1 %}
{% if post.id == 1 %}
<img
src=
"{% static 'forum/img/GitBranch.png' %}"
alt=
"view branch"
>
<img
src=
"{% static 'forum/img/GitBranch.png' %}"
alt=
"view branch"
class=
"center"
>
{% endif %}
{% endif %}
{% if post.id == 2 %}
{% if post.id == 2 %}
<img
src=
"{% static 'forum/img/GitCheckout.png' %}"
alt=
"switch branch"
>
<img
src=
"{% static 'forum/img/GitCheckout.png' %}"
alt=
"switch branch"
class=
"center"
>
{% endif %}
{% endif %}
{% if post.id == 3 %}
{% if post.id == 3 %}
<img
src=
"{% static 'forum/img/GitBranchCreate.png' %}"
alt=
"create branch"
>
<img
src=
"{% static 'forum/img/GitBranchCreate.png' %}"
alt=
"create branch"
class=
"center"
>
{% endif %}
{% endif %}
<h1>
{{ post.post_title }}
</h1>
<h1>
{{ post.post_title }}
</h1>
<h
2
>
<h
3
>
by {{ post.author.first_name }} {{ post.author.last_name }}, {{ post.pub_date|date:'d/m/Y' }}
by {{ post.author.first_name }} {{ post.author.last_name }}, {{ post.pub_date|date:'d/m/Y' }}
</h2>
</h3>
{{ post.post_body }}
<h4>
{{ post.post_body }}
</h4>
<h3>
Replies:
</h3>
<div
class=
"replies"
>
<h2>
Replies:
</h2>
{% for reply in reply_list %}
{% for reply in reply_list %}
<h
2
>
<h
5
>
by {{ reply.author.first_name }} {{ reply.author.last_name }}, {{ reply.pub_date|date:'d/m/Y' }}
{{ reply.author.first_name }} {{ reply.author.last_name }}, {{ reply.pub_date|date:'d/m/Y' }} :
</h
2
>
</h
5
>
{{ reply.reply_body }}
<p>
{{ reply.reply_body }}
</p>
{% endfor %}
{% endfor %}
</div>
</body>
{% endblock %}
{% endblock %}
\ No newline at end of file
widget_group_25/widget_group_25/templates/forum/forum_list.html
View file @
31851678
...
@@ -3,18 +3,12 @@
...
@@ -3,18 +3,12 @@
{% block title %}Forum{% endblock %}
{% block title %}Forum{% endblock %}
{% block styles %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/forum_list_styles.css' %}"
>
{% endblock %}
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/list_styles.css' %}"
>
{% endblock %}
{% block content %}
{% block content %}
<header>
<body>
<h1>
<header>
Welcome to Widget’s Forum!
</header>
Welcome to Widget’s Forum!
<h1>
Forum posts:
</h1>
</h1>
</header>
<p>
<h3>
Forum posts:
</h3>
{% for post in post_list %}
{% for post in post_list %}
<li>
<li>
<a
href=
"{% url 'forum:post-details' pk=post.pk %}"
>
<a
href=
"{% url 'forum:post-details' pk=post.pk %}"
>
...
@@ -22,5 +16,5 @@
...
@@ -22,5 +16,5 @@
</a>
</a>
</li>
</li>
{% endfor %}
{% endfor %}
</
p
>
</
body
>
{% 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