Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group22
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
John Tamano
widget_group22
Commits
e08fe1f5
Commit
e08fe1f5
authored
May 21, 2022
by
N1o9r4b7e9r6to
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed some of the layout for better view
parent
592ac8f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
addforumposts.html
widget_group22/forum/templates/forum/addforumposts.html
+7
-8
details.html
widget_group22/forum/templates/forum/details.html
+1
-1
No files found.
widget_group22/forum/templates/forum/addforumposts.html
View file @
e08fe1f5
{% extends "forum/base.html" %}
{% block content %}
<
center>
New Forum Post
</center
>
<
h1><center>
New Forum Post
</center></h1
>
<a
href =
"/forum/"
style=
"background-color:whitesmoke;border:2px solid black;"
>
Back to main Forum
</a>
<button
class=
"button"
type=
"submit"
>
Save Post
</button>
<form
action=
"{% url 'forum:addForumPosts' %}"
method=
"POST"
>
{% csrf_token %}
<center>
Title:{{addposts.post_title}}
Author: {{addposts.author}} {{addposts.pub_date}}
</center>
<b
r>
<center>
Title:{{addposts.post_title}}
<br>
Author: {{addposts.author}} {{addposts.pub_date}}
</cente
r>
<br>
Post Body:
<p6
style=
"background-color:aquamarine;"
>
Post Body:
</p6>
<center
style=
"background-color: aquamarine;"
>
{{addposts.post_body}}
</center>
<br>
<button
class=
"button"
type=
"submit"
>
Save Post
</button>
Optional: Add Photo
{{addposts.photo}}
</form>
<br>
{% endblock %}
\ No newline at end of file
widget_group22/forum/templates/forum/details.html
View file @
e08fe1f5
{% extends "forum/base.html" %}
{% block content %}
<h1><b>
'{{post.post_title}}'
</b></h1>
<h1><b>
<center>
'{{post.post_title}}'
</center>
</b></h1>
<p
style=
"font-size:15px;margin-left: 20px;border:none;background-color:aqua;"
>
by
<i>
{{post.author.first_name}} {{post.author.last_name}}
</i>
on {{post.pub_date|date:'d/m/Y'}}
</p>
<p
style=
"font-size:30px;margin-left: 40px;border:none;background-color:aqua;"
>
{{post.post_body}}{% load static %}
</p>
<center>
{% load static %}
<img
src=
"{% static img %}"
style=
"width:450px;"
/></center>
...
...
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