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 @@
{% block title %}{{ post.post_title }}{% endblock %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/
detail
_styles.css' %}"
>
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/
forum_details
_styles.css' %}"
>
{% endblock %}
{% block content %}
<body>
{% 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 %}
{% 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 %}
{% 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 %}
<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' }}
</h2>
{{ post.post_body }}
</h3>
<h4>
{{ post.post_body }}
</h4>
<h3>
Replies:
</h3>
<div
class=
"replies"
>
<h2>
Replies:
</h2>
{% for reply in reply_list %}
<h
2
>
by {{ reply.author.first_name }} {{ reply.author.last_name }}, {{ reply.pub_date|date:'d/m/Y' }}
</h
2
>
{{ reply.reply_body }}
<h
5
>
{{ reply.author.first_name }} {{ reply.author.last_name }}, {{ reply.pub_date|date:'d/m/Y' }} :
</h
5
>
<p>
{{ reply.reply_body }}
</p>
{% endfor %}
</div>
</body>
{% 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 @@
{% block title %}Forum{% endblock %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/list_styles.css' %}"
>
{% endblock %}
{% block styles %}
<link
rel=
"stylesheet"
href=
"{% static 'forum/css/forum_list_styles.css' %}"
>
{% endblock %}
{% block content %}
<header>
<h1>
Welcome to Widget’s Forum!
</h1>
</header>
<p>
<h3>
Forum posts:
</h3>
<body>
<header>
Welcome to Widget’s Forum!
</header>
<h1>
Forum posts:
</h1>
{% for post in post_list %}
<li>
<a
href=
"{% url 'forum:post-details' pk=post.pk %}"
>
...
...
@@ -22,5 +16,5 @@
</a>
</li>
{% endfor %}
</
p
>
</
body
>
{% 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