Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_vincentdjango
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
1
Merge Requests
1
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
Almira Redoble
midterm_vincentdjango
Commits
7fcf5f9f
Commit
7fcf5f9f
authored
May 07, 2023
by
Joaquin Inigo Crisologo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added sorting by pub_datetime
parent
7ad4a0f8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
README.txt
README.txt
+2
-0
db.sqlite3
widget_vincentdjango/db.sqlite3
+0
-0
forum.html
widget_vincentdjango/forum/templates/forum/forum.html
+1
-1
base.html
widget_vincentdjango/templates/base.html
+1
-0
No files found.
README.txt
View file @
7fcf5f9f
...
...
@@ -14,6 +14,7 @@ March 6, 2023;
This is to certify that this project was made in whole by our group, which
is composed of Joaquin Crisologo, Andrew Idquival, Jayson Lim, Almira Redoble
and Neptune Sy.;
https://www.w3schools.com/html/html_css.asp
https://www.w3schools.com/html/html_styles.asp
https://github.com/github/gitignore/blob/main/Python.gitignore;
...
...
@@ -22,6 +23,7 @@ https://www.w3docs.com/snippets/html/how-to-create-an-html-button-that-acts-like
https://stackoverflow.com/questions/44492393/how-to-add-custom-styling-to-forms-created-with-django-createview
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Breadcrumb_Navigation
https://stackoverflow.com/questions/6540032/sorting-related-items-in-a-django-template
(sgd) Joaquin Crisologo, 7 May, 2023
(sgd) Andrew Idquival, 28 February, 2023
...
...
widget_vincentdjango/db.sqlite3
View file @
7fcf5f9f
No preview for this file type
widget_vincentdjango/forum/templates/forum/forum.html
View file @
7fcf5f9f
...
...
@@ -8,7 +8,7 @@
{% block content %}
<h2>
Forum Posts:
</h2>
<ul>
{% for forumpost in forumposts %}
{% for forumpost in forumposts
|dictsortreversed:"pub_datetime"
%}
<li>
<a
href=
"{{ forumpost.get_absolute_url }}"
>
{{ forumpost.title }} by {{ forumpost.author.first_name }} {{ forumpost.author.last_name }}
</a>
</li>
...
...
widget_vincentdjango/templates/base.html
View file @
7fcf5f9f
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
{% load static %}
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"{% block style %}{% endblock %}"
>
<title>
{% block title %}{% endblock %}
</title>
...
...
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