From ebcb9088d723465debbdcdc6f6b5cfc2f01e8aab Mon Sep 17 00:00:00 2001 From: Max Value Date: Fri, 3 Jan 2025 20:55:00 +0000 Subject: [PATCH] Visual changes to player + added pallet + added pallet to homepage + added requirement.txt - visual changes to player - changes to play and pause button - changes to todo --- critters.py | 2 +- requirements.txt | 3 + static/pallet.html | 44 ++++++++++++ static/pause.svg | 69 +++++++++++++++--- static/play.svg | 68 +++++++++++++++--- static/player.html | 168 ++++++++++++++++++++++++++++++++++---------- static/style.css | 1 + templates/home.html | 6 +- 8 files changed, 301 insertions(+), 60 deletions(-) create mode 100644 requirements.txt create mode 100644 static/pallet.html diff --git a/critters.py b/critters.py index 943ae45..33cdfe0 100755 --- a/critters.py +++ b/critters.py @@ -1,4 +1,4 @@ -#! .venv/bin/python3 +#!.venv/bin/python3 from flask import Flask, Response, request, render_template_string, redirect, send_from_directory, url_for from flask_httpauth import HTTPBasicAuth diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..22fdb90 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +flask +flask_httpauth +werkzeug diff --git a/static/pallet.html b/static/pallet.html new file mode 100644 index 0000000..d20eac7 --- /dev/null +++ b/static/pallet.html @@ -0,0 +1,44 @@ + + + + + + +
Background
+
Dark
+
Primary
+
Off-primary
+
Secondary
+
Tertiary
+ + diff --git a/static/pause.svg b/static/pause.svg index d48e265..5d6e3af 100644 --- a/static/pause.svg +++ b/static/pause.svg @@ -6,9 +6,58 @@ version="1.1" xml:space="preserve" id="SVGRoot" + sodipodi:docname="pause.svg" + inkscape:version="1.4 (e7c3feb100, 2024-10-09)" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" - xmlns:svg="http://www.w3.org/2000/svg"> + xmlns:svg="http://www.w3.org/2000/svg"> -