From fd0d852cc46ae5e23341358682e7d8e682c81414 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 22 Jun 2024 04:27:44 -0500 Subject: Add footer and version info --- VERSION | 1 + 1 file changed, 1 insertion(+) create mode 100644 VERSION (limited to 'VERSION') diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..a7ee35a --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.8.3 -- cgit 1.4.1 From 3f1cdf10c4b986d0ac9b0d0eaf4cc0312eeba063 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 23 Jun 2024 04:12:40 -0500 Subject: Working footer - but still overlapping body --- .gitignore | 1 + VERSION | 2 +- server.py | 3 ++- static/style.css | 33 +++++++++++++++++++++++++++++++++ templates/layout.html | 18 ++++++------------ 5 files changed, 43 insertions(+), 14 deletions(-) (limited to 'VERSION') diff --git a/.gitignore b/.gitignore index 355a0c3..eb52520 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .key +minipubmed/ diff --git a/VERSION b/VERSION index a7ee35a..65d5469 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.3 +1.8.4-pre1 diff --git a/server.py b/server.py index ae9ffc3..d691dd9 100755 --- a/server.py +++ b/server.py @@ -24,7 +24,8 @@ from flask import (Flask, Response, flash, jsonify, redirect, render_template, from flask_sqlalchemy import SQLAlchemy from numpy import array -nltk.download('punkt') +# nltk.download('punkt') -- let's not just download data + import pickle from collections import Counter from datetime import datetime diff --git a/static/style.css b/static/style.css index d4cc2ee..47b0e22 100644 --- a/static/style.css +++ b/static/style.css @@ -72,3 +72,36 @@ a:active { ul { margin-left:40px; } + +.main { + flex: 1; + padding: 30px 0; +} + +body +{ + display: flex; + min-height: 80vh; + flex-direction: column; + padding-bottom: 40px; +} + +footer { + color: white; + font-size: small; + padding: 3px 0; + position: absolute; + left: 0; + bottom: 0; + width: 100%; +} + +.footer a { + color: yellow; + text-decoration: none; + transition: color 0.3s ease; +} + +.footer a:hover { + color: #adb5bd; +} diff --git a/templates/layout.html b/templates/layout.html index fafbae9..ba064e1 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -91,30 +91,24 @@ {% endwith %}
-
+
{% block content %}{% endblock %}
- -- cgit 1.4.1 From c74739ad59abc0f99c213119964fa2c941c1ed31 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Mon, 24 Jun 2024 01:31:49 -0500 Subject: Header and footer in GN color scheme --- VERSION | 2 +- static/style.css | 14 ++++++++++---- templates/layout.html | 4 ++-- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'VERSION') diff --git a/VERSION b/VERSION index 65d5469..3a48e0d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.4-pre1 +1.8.4-pre2 diff --git a/static/style.css b/static/style.css index 0633cdc..3030424 100644 --- a/static/style.css +++ b/static/style.css @@ -78,14 +78,19 @@ ul { padding-bottom: 100px; } +.navbar { + background-color: #336699; + border-color: #080808; +} + body { - // display: flex; - // flex-direction: column; } .footer { - color: white; + color: black; + background-color: #f5f5f5; + border-color: #080808; font-size: small; padding: 3px 0; position: absolute; @@ -95,9 +100,10 @@ body } .footer a { - color: yellow; text-decoration: none; transition: color 0.3s ease; + color: #1e87f0; + cursor: pointer; } .footer a:hover { diff --git a/templates/layout.html b/templates/layout.html index 3160de5..1c73fd9 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -16,7 +16,7 @@ -
{% if not no_footer %} -