Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_placeholdername
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
Rajo Christian Cadorna
widget_placeholdername
Commits
5a962a96
Commit
5a962a96
authored
May 13, 2022
by
Eugene Ezekiel P. Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added css formatting for decoration
parent
2516def2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
0 deletions
+23
-0
models.cpython-39.pyc
Forum/__pycache__/models.cpython-39.pyc
+0
-0
models.py
Forum/models.py
+1
-0
style.css
Forum/static/Forum/style.css
+21
-0
post.html
Forum/templates/Forum/post.html
+1
-0
db.sqlite3
db.sqlite3
+0
-0
No files found.
Forum/__pycache__/models.cpython-39.pyc
View file @
5a962a96
No preview for this file type
Forum/models.py
View file @
5a962a96
...
...
@@ -14,3 +14,4 @@ class Reply(models.Model):
pub_date
=
models
.
DateTimeField
(
"date published"
)
reply_author
=
models
.
ForeignKey
(
WidgetUser
,
on_delete
=
models
.
CASCADE
,
default
=
1
)
Forum/static/Forum/style.css
View file @
5a962a96
h1
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
}
h3
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
border
:
2px
solid
black
;
background-color
:
azure
;
}
body
{
background-color
:
bisque
;
}
ul
{
font-family
:
'Franklin Gothic Medium'
,
'Arial Narrow'
,
Arial
,
sans-serif
;
list-style-type
:
square
;
border
:
5px
solid
black
;
background-color
:
aliceblue
;
}
\ No newline at end of file
Forum/templates/Forum/post.html
View file @
5a962a96
{% extends "Forum/base.html" %}
{% block content %}
<h1>
{{post.post_title}}
</h1>
<h4>
{{post.post_author.first_name}} {{post.post_author.last_name}}, {{post.pub_date.day}}/{{post.pub_date.month}}/{{post.pub_date.year}}
</h4>
...
...
db.sqlite3
View file @
5a962a96
No preview for this file type
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