Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
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
Ysabella Panghulan
midterm_princessgabi
Commits
8c6b1465
Commit
8c6b1465
authored
May 14, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed extra forum.css and fixed errors
parent
4a725a42
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
23 deletions
+20
-23
forum.css
widget_princessgabi/forum/static/forum.css
+0
-14
forum.css
widget_princessgabi/forum/static/forum/forum.css
+14
-0
forumpost-details.html
...princessgabi/forum/templates/forum/forumpost-details.html
+5
-8
forumpost-edit.html
...et_princessgabi/forum/templates/forum/forumpost-edit.html
+1
-1
No files found.
widget_princessgabi/forum/static/forum.css
deleted
100644 → 0
View file @
4a725a42
body
{
height
:
100vh
;
background-color
:
#E9E3FE
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.forum-content
{
margin-top
:
auto
;
padding
:
2rem
;
border-radius
:
0.5rem
;
background-color
:
white
}
widget_princessgabi/forum/static/forum/forum.css
View file @
8c6b1465
body
{
height
:
100vh
;
background-color
:
#E9E3FE
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.forum-content
{
margin-top
:
auto
;
padding
:
2rem
;
border-radius
:
0.5rem
;
background-color
:
white
}
widget_princessgabi/forum/templates/forum/forumpost-details.html
View file @
8c6b1465
...
...
@@ -3,8 +3,9 @@
{% load static %}
{% block stylesheets %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static ‘forum/forum.css' %}"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'forum/forum.css' %}"
>
<link
rel=
"stylesheet"
href=
"'https://cdnjs.cloudfare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
>
{% endblock %}
{% block title %} {{ object.title }} {% endblock %}
...
...
@@ -26,11 +27,7 @@
{% endfor %}
</ul>
<a
href =
"{% url 'forum:formpost-edit' forumpost.id %}"
class =
"edit-btn"
><i
class =
"fa fa-edit"
></i>
Edit Post
</a>
<form
action =
"./edit"
>
<input
type =
"submit"
value =
"Edit Post"
>
</form>
<a
href =
"{% url 'forum:forumpost-edit' forumpost.id %}"
class =
"edit-btn"
><i
class =
"fa fa-edit"
></i>
Edit Post
</a>
</div>
{% endblock %}
\ No newline at end of file
widget_princessgabi/forum/templates/forum/forumpost-edit.html
View file @
8c6b1465
...
...
@@ -23,7 +23,7 @@
<h1>
Edit Post:
</h1>
<div
class =
"form"
>
<div
class =
"for
u
m"
>
<form
method =
'POST'
>
{% csrf_token %}
{{ form.as_p }}
...
...
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