]> git.p6c8.net - pcdenotes.git/log
pcdenotes.git
2 years agoAdded Django logo and moved bottom links to the moddle
Patrick Canterino [Mon, 14 Feb 2022 19:01:58 +0000 (20:01 +0100)]
Added Django logo and moved bottom links to the moddle

2 years agoRemoved now unnecessary slash
Patrick Canterino [Sun, 13 Feb 2022 19:25:29 +0000 (20:25 +0100)]
Removed now unnecessary slash

2 years agoRemove a margin-bottom coming from Bootstrap
Patrick Canterino [Sun, 13 Feb 2022 11:54:36 +0000 (12:54 +0100)]
Remove a margin-bottom coming from Bootstrap

2 years agoAdded CSS for <blockquote> (still needs finetuning)
Patrick Canterino [Sun, 13 Feb 2022 10:52:30 +0000 (11:52 +0100)]
Added CSS for <blockquote> (still needs finetuning)

2 years agoConvert month numbers to month names
Patrick Canterino [Sun, 13 Feb 2022 10:34:56 +0000 (11:34 +0100)]
Convert month numbers to month names

2 years agoChanged way of generating HTML
Patrick Canterino [Sun, 13 Feb 2022 10:23:20 +0000 (11:23 +0100)]
Changed way of generating HTML

-  Use python-markdown directly without django-markdownify
- Don't use linebreaksbr template filter
- Linebreaks are now created using <p> and so on
- blockquotes work now (they didn't work because of linebreaksbr)

2 years agoSet max-width for images
Patrick Canterino [Sun, 13 Feb 2022 09:13:47 +0000 (10:13 +0100)]
Set max-width for images

2 years agoUpdated dependencies
Patrick Canterino [Fri, 11 Feb 2022 19:18:51 +0000 (20:18 +0100)]
Updated dependencies

2 years agoAutomatically select the current user when creating a note
Patrick Canterino [Sun, 6 Feb 2022 13:33:03 +0000 (14:33 +0100)]
Automatically select the current user when creating a note

2 years agoAutomatically generate slug using the title
Patrick Canterino [Sun, 6 Feb 2022 13:25:25 +0000 (14:25 +0100)]
Automatically generate slug using the title

2 years agoAdded license file
Patrick Canterino [Sat, 5 Feb 2022 19:46:47 +0000 (20:46 +0100)]
Added license file

2 years agoAdded sample for .env file
Patrick Canterino [Sat, 5 Feb 2022 19:44:27 +0000 (20:44 +0100)]
Added sample for .env file

2 years agoUpdated Django to 3.2.12
Patrick Canterino [Sat, 5 Feb 2022 16:35:48 +0000 (17:35 +0100)]
Updated Django to 3.2.12

2 years agoMoved more styles to CSS file
Patrick Canterino [Sat, 5 Feb 2022 12:29:06 +0000 (13:29 +0100)]
Moved more styles to CSS file

2 years agoMoved more styles to CSS file
Patrick Canterino [Sat, 5 Feb 2022 12:20:59 +0000 (13:20 +0100)]
Moved more styles to CSS file

2 years agoCenter copyright note only on large screens
Patrick Canterino [Thu, 3 Feb 2022 20:30:19 +0000 (21:30 +0100)]
Center copyright note only on large screens

2 years agoChanged <div id="content"> to <main>
Patrick Canterino [Mon, 31 Jan 2022 19:59:30 +0000 (20:59 +0100)]
Changed <div id="content"> to <main>

2 years agoCSS and template tweaks
Patrick Canterino [Mon, 31 Jan 2022 19:50:39 +0000 (20:50 +0100)]
CSS and template tweaks

2 years agoMoved CSS file to "notes" subdirectory
Patrick Canterino [Mon, 31 Jan 2022 18:35:12 +0000 (19:35 +0100)]
Moved CSS file to "notes" subdirectory

2 years agoBottom nav looks good now
Patrick Canterino [Mon, 31 Jan 2022 18:33:33 +0000 (19:33 +0100)]
Bottom nav looks good now

2 years agoMoved more styles to CSS file
Patrick Canterino [Mon, 31 Jan 2022 18:15:24 +0000 (19:15 +0100)]
Moved more styles to CSS file

2 years agoAdded "static" directory
Patrick Canterino [Sun, 30 Jan 2022 20:12:31 +0000 (21:12 +0100)]
Added "static" directory

2 years agoFixed <h2> CSS classes in archive views
Patrick Canterino [Sun, 30 Jan 2022 20:09:10 +0000 (21:09 +0100)]
Fixed <h2> CSS classes in archive views

2 years agoRemoved needless double quote
Patrick Canterino [Sun, 30 Jan 2022 20:05:39 +0000 (21:05 +0100)]
Removed needless double quote

2 years agoReplaced some hard-coded URLs in templates with "url"
Patrick Canterino [Sun, 30 Jan 2022 18:00:01 +0000 (19:00 +0100)]
Replaced some hard-coded URLs in templates with "url"

2 years agoMoved some styles into a CSS file
Patrick Canterino [Sun, 30 Jan 2022 17:47:36 +0000 (18:47 +0100)]
Moved some styles into a CSS file

2 years agoBegan work on footer navigation
Patrick Canterino [Sun, 30 Jan 2022 17:26:33 +0000 (18:26 +0100)]
Began work on footer navigation

Still needs work...

2 years agoAnd now we can list the notes in a certain month
Patrick Canterino [Sun, 30 Jan 2022 14:03:05 +0000 (15:03 +0100)]
And now we can list the notes in a certain month

2 years agoNow we can list the months in archive
Patrick Canterino [Sun, 30 Jan 2022 13:55:49 +0000 (14:55 +0100)]
Now we can list the months in archive

2 years agoFilter drafts when creating year list
Patrick Canterino [Sun, 30 Jan 2022 13:16:23 +0000 (14:16 +0100)]
Filter drafts when creating year list

2 years agoBegan to implement archive view
Patrick Canterino [Sun, 30 Jan 2022 13:08:31 +0000 (14:08 +0100)]
Began to implement archive view

You can already list the years

2 years agoRedirect /notes/ to /
Patrick Canterino [Sat, 29 Jan 2022 12:20:36 +0000 (13:20 +0100)]
Redirect /notes/ to /

2 years agoFlipped title of detail view
Patrick Canterino [Sat, 29 Jan 2022 12:06:23 +0000 (13:06 +0100)]
Flipped title of detail view

2 years agoWhen an admin is logged on, display drafts
Patrick Canterino [Fri, 28 Jan 2022 19:50:09 +0000 (20:50 +0100)]
When an admin is logged on, display drafts

2 years agoAdded copyright notice
Patrick Canterino [Mon, 24 Jan 2022 18:10:01 +0000 (19:10 +0100)]
Added copyright notice

2 years agoAllow a title of a note used be more than once
Patrick Canterino [Sun, 23 Jan 2022 21:05:01 +0000 (22:05 +0100)]
Allow a title of a note used be more than once

2 years agoDo pagination only if there is more than one page
Patrick Canterino [Sun, 23 Jan 2022 21:02:33 +0000 (22:02 +0100)]
Do pagination only if there is more than one page

2 years agoMade footer stay at the bottom
Patrick Canterino [Sun, 23 Jan 2022 20:41:16 +0000 (21:41 +0100)]
Made footer stay at the bottom

Found at:
https://www.codegrepper.com/code-examples/css/how+to+take+footer+in+bottom+but+not+fixed+in+bootstrap

2 years agoUsing <header> and <footer> in HTML
Patrick Canterino [Sun, 23 Jan 2022 20:36:44 +0000 (21:36 +0100)]
Using <header> and <footer> in HTML

2 years agoModified templates
Patrick Canterino [Sun, 23 Jan 2022 20:24:31 +0000 (21:24 +0100)]
Modified templates

2 years agoFixed some things in the templates
Patrick Canterino [Sun, 23 Jan 2022 20:08:50 +0000 (21:08 +0100)]
Fixed some things in the templates

2 years agoAdded pagination
Patrick Canterino [Sun, 23 Jan 2022 20:01:20 +0000 (21:01 +0100)]
Added pagination

2 years agoChanged the way the .env file is loaded
Patrick Canterino [Sun, 23 Jan 2022 17:26:22 +0000 (18:26 +0100)]
Changed the way the .env file is loaded

2 years agoSwitched from SQLite3 to MariaDB / MySQL
Patrick Canterino [Sun, 23 Jan 2022 16:53:38 +0000 (17:53 +0100)]
Switched from SQLite3 to MariaDB / MySQL

2 years agoGet SECRET_KEY and DEBUG from .env
Patrick Canterino [Sun, 23 Jan 2022 15:01:09 +0000 (16:01 +0100)]
Get SECRET_KEY and DEBUG from .env

Also set ALLOW_HOSTS to '*'

2 years agoAdded STATIC_ROOT
Patrick Canterino [Sun, 23 Jan 2022 14:10:11 +0000 (15:10 +0100)]
Added STATIC_ROOT

2 years agoAdded basic bootstrap layout
Patrick Canterino [Sun, 23 Jan 2022 14:04:54 +0000 (15:04 +0100)]
Added basic bootstrap layout

2 years agoUse template inheritance
Patrick Canterino [Sun, 23 Jan 2022 13:44:35 +0000 (14:44 +0100)]
Use template inheritance

2 years agoMoved venv
Patrick Canterino [Fri, 21 Jan 2022 16:05:30 +0000 (17:05 +0100)]
Moved venv

2 years agoFirst commit of my notes Django application
Patrick Canterino [Thu, 20 Jan 2022 19:38:50 +0000 (20:38 +0100)]
First commit of my notes Django application

It's mainly a very simple blog without comments and other stuff.
Main purpose is to post short articles, called "notes".

It's loosely based on some Django tutorials.

This is the very first commit. The application is able to list the
notes and to display a single note.

patrick-canterino.de