diff --git a/app.py b/app.py index 77f2c2e..a5b8689 100644 --- a/app.py +++ b/app.py @@ -10,7 +10,7 @@ from config import Config # Force unbuffered output for Docker logs os.environ['PYTHONUNBUFFERED'] = '1' -print("=== FantasyCron Starting ===", flush=True) +print("=== GameTime Starting ===", flush=True) print(f"=== Version: {Config.VERSION} ===", flush=True) app = Flask(__name__) @@ -361,5 +361,5 @@ def refresh_data(username, week): if __name__ == '__main__': print("DEBUG: Starting Flask app on 0.0.0.0:5000", flush=True) - print(f"DEBUG: FantasyCron {app.config['VERSION']} ready!", flush=True) + print(f"DEBUG: GameTime {app.config['VERSION']} ready!", flush=True) app.run(host='0.0.0.0', port=5000, debug=True) diff --git a/compose.yaml b/compose.yaml index fa8a721..7203c7b 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,6 @@ services: - fantasycron: - image: fantasycron:latest + gametime: + image: gametime:latest ports: - "5000:5000" restart: unless-stopped diff --git a/config.py b/config.py index 3c99977..14ffb91 100644 --- a/config.py +++ b/config.py @@ -2,7 +2,7 @@ import os class Config: # App version - VERSION = '0.1.0' + VERSION = '1.0.0' SECRET_KEY = os.environ.get('SECRET_KEY') or 'dev-secret-key' @@ -12,6 +12,5 @@ class Config: # League colors - assigned in order LEAGUE_COLORS = [ - '#006400', '#00FFFF', '#FF0000', '#FFD700', '#1E90FF', - '#C71585', '#00FF00', '#00FFFF', '#0000FF', '#1E90FF' + '#003594', '#ffa300', '#8a2be2', '#ff69b4', '#40e0d0', '#dda0dd' ] diff --git a/static/style.css b/static/style.css index 878a0f6..f46121d 100644 --- a/static/style.css +++ b/static/style.css @@ -1293,4 +1293,48 @@ body { pointer-events: none; } +/* Game league footer - subtle info at bottom of game cards */ +.game-league-footer { + display: flex; + flex-wrap: wrap; + gap: 12px; + margin-top: 12px; + padding-top: 8px; + border-top: 1px solid var(--border-light); + justify-content: center; +} + +.league-footer-item { + display: flex; + align-items: center; + gap: 4px; + font-size: 10px; + color: var(--text-muted); + opacity: 0.7; + padding: 2px 6px; + border-radius: 10px; + background: var(--overlay-light); +} + +.league-footer-item .league-dot { + width: 6px; + height: 6px; + border-radius: 50%; + flex-shrink: 0; +} + +.league-name-small { + font-weight: 500; + max-width: 80px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.player-count { + font-weight: 600; + color: var(--text-secondary); + opacity: 0.8; +} + diff --git a/templates/base.html b/templates/base.html index 4cc46e3..c3cfcc8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,7 +3,7 @@
-Enter your Sleeper username to view your fantasy teams