diff --git a/README.md b/README.md index 2ec8491..76236d4 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,6 @@ pygmentize -S dracula -f html -a .codehilite > styles.css * Replace all css for .codehilite in src/static/main.css with what's in styles.css ## Future features, todo -* Put the pickle file in a folder by itself so it works with docker volumes -* Test the dockerfile * A squirrel ascii picture somewhere in the page :3 * A link "export all in markdown" * Replace pickle with sqlite or smth diff --git a/docker-compose.yml b/docker-compose.yml index 0fb2252..832f191 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,8 +13,8 @@ services: #ports: #- 8080:8080 labels: - - "traefik.http.routers.gitea.rule=Host(`notes.sq.lan`)" - - "traefik.http.services.gitea.loadbalancer.server.port=8080" + - "traefik.http.routers.sqnotes.rule=Host(`notes.sq.lan`)" + - "traefik.http.services.sqnotes.loadbalancer.server.port=8080" - "traefik.docker.network=traefik_traefik" networks: traefik_traefik: diff --git a/src/__pycache__/app.cpython-310.pyc b/src/__pycache__/app.cpython-310.pyc deleted file mode 100644 index f100912..0000000 Binary files a/src/__pycache__/app.cpython-310.pyc and /dev/null differ diff --git a/src/__pycache__/app.cpython-39.pyc b/src/__pycache__/app.cpython-39.pyc deleted file mode 100644 index ebcb052..0000000 Binary files a/src/__pycache__/app.cpython-39.pyc and /dev/null differ diff --git a/src/__pycache__/classes.cpython-39.pyc b/src/__pycache__/classes.cpython-39.pyc deleted file mode 100644 index 168291d..0000000 Binary files a/src/__pycache__/classes.cpython-39.pyc and /dev/null differ diff --git a/src/__pycache__/funcs.cpython-39.pyc b/src/__pycache__/funcs.cpython-39.pyc deleted file mode 100644 index d66397d..0000000 Binary files a/src/__pycache__/funcs.cpython-39.pyc and /dev/null differ diff --git a/src/static/sspro-ita.ttf b/src/static/sspro-ita.ttf new file mode 100644 index 0000000..9e2638f Binary files /dev/null and b/src/static/sspro-ita.ttf differ diff --git a/src/static/sspro.ttf b/src/static/sspro.ttf new file mode 100644 index 0000000..033fa91 Binary files /dev/null and b/src/static/sspro.ttf differ diff --git a/src/static/styles/main.css b/src/static/styles/main.css index 74a0bde..0f71b16 100644 --- a/src/static/styles/main.css +++ b/src/static/styles/main.css @@ -1,3 +1,7 @@ +@font-face { + src: {{ url_for('static', filename='sspro-ita.ttf') }}; +} + html { background-color: #22242e; font-family: 'Source Sans Pro'; diff --git a/src/templates/edit.html b/src/templates/edit.html index 89502e3..619d527 100644 --- a/src/templates/edit.html +++ b/src/templates/edit.html @@ -2,12 +2,12 @@
- -