Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widgets_FEKK
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
Kyla Martin
widgets_FEKK
Commits
1c2be452
Commit
1c2be452
authored
May 11, 2022
by
Emmanuel Linus T. Evangelista
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add breadcrumbs in Forum posts
parent
784990b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
details.css
WidgetFEKK/Forum/static/Forum/details.css
+16
-0
details.html
WidgetFEKK/Forum/templates/Forum/details.html
+11
-0
No files found.
WidgetFEKK/Forum/static/Forum/details.css
View file @
1c2be452
...
...
@@ -2,6 +2,22 @@ body {
padding
:
64px
160px
;
}
#back
{
margin
:
0
0
32px
;
display
:
flex
;
align-items
:
center
;
}
#back
a
{
color
:
black
;
text-decoration
:
none
;
margin-left
:
8px
;
}
#back
a
:hover
{
text-decoration
:
underline
;
}
#thumbnail
{
width
:
150px
;
height
:
150px
;
...
...
WidgetFEKK/Forum/templates/Forum/details.html
View file @
1c2be452
...
...
@@ -12,6 +12,17 @@
{% block content %}
<article>
<div
id=
"back"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
fill=
"currentColor"
viewBox=
"0 0 16 16"
>
<path
fill-rule=
"evenodd"
d=
"M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"
stroke=
"black"
/>
</svg>
<a
href=
"/forum"
>
Back to all posts
</a>
</div>
<img
id=
"thumbnail"
src=
"{% static 'Forum/thumbnail.jpg' %}"
alt=
"placeholder image"
/>
<h1
id=
"title"
>
{{ post.post_title }}
</h1>
<h4
id=
"subtitle"
>
by {{ post.author.first_name }} {{ post.author.last_name }}, {{ post.pub_date|date:"d/m/Y" }}
</h4>
...
...
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