diff --git a/static/nryg.less b/static/nryg.less index bad6fda2..9471d993 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -2,7 +2,7 @@ @text-color: #a0ccff; @quote-color: #a0ffcc; @spoiler-color: #ffa0cc; -@highlight-color: #ffcca0; +@highlight-color: #ffff95; @accent-color: white; @link-color: #00aaff; @visited-color: #aa66ff; diff --git a/templates/components/diarioentry.html b/templates/components/diarioentry.html index 41ecca6a..26d02dd1 100644 --- a/templates/components/diarioentry.html +++ b/templates/components/diarioentry.html @@ -8,6 +8,6 @@

- #{{ entry.id }} + #{{ entry.id }}
\ No newline at end of file diff --git a/webserver.py b/webserver.py index cb100f34..e44ed415 100644 --- a/webserver.py +++ b/webserver.py @@ -255,7 +255,7 @@ def page_wiki(key: str): @app.route("/diario") def page_diario(): db_session = db.Session() - diario_entries = db_session.query(db.Diario).all() + diario_entries = db_session.query(db.Diario).order_by(db.Diario.timestamp.desc()).all() db_session.close() return render_template("diario.html", config=config, entries=diario_entries)