From 17e6315792e45c051d3abe443bfda5ca72736cc4 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 25 Feb 2026 17:51:23 -0800 Subject: [PATCH] bbg is foothill blue, now foreground letters are white, more updates to zip file content naming --- app.py | 2 +- templates/index.html | 4 +++- templates/passage.css | 8 +++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app.py b/app.py index bf646f4..2b793fb 100644 --- a/app.py +++ b/app.py @@ -91,7 +91,7 @@ def index(): # You can now send png_bytes to a response or store it in a DB print(f"Page {page_index} is {len(png_bytes)} bytes.") - zf.writestr("{}-{}/{}-slide-number-{:02d}.png".format(filenameref, version, filenameref, page_index), png_bytes) + zf.writestr("{}-{}/{}-Slide{:02d}.png".format(filenameref, version, filenameref, page_index), png_bytes) doc.close() diff --git a/templates/index.html b/templates/index.html index db73679..ac1c731 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,9 @@ Scripture Slide Generator for Foothill - +

Scripture Slide Generator for Foothill

Enter scripture reference and version, then press the download button. A zip file with slides in it will be downloaded. Unzip the file and drop the folder into the ProPresenter play list.

diff --git a/templates/passage.css b/templates/passage.css index 313c469..679b359 100644 --- a/templates/passage.css +++ b/templates/passage.css @@ -4,11 +4,13 @@ font-size: 1.6rem; line-height: 36px; line-height: 2.4rem; + color: #FFF; } @page { /* Set specific page dimensions: width height */ size: 8in 4.5in; margin: 0.5in; + background-color: #2c5aa0; color: white; } .text-html p, .text-html td, @@ -341,7 +343,7 @@ } .text-html h3 { /* color: #676767; */ - color: #000000; + color: #FFFFFF; font-family: "Times New Roman", Times, serif; letter-spacing: 0; font-weight: bold; @@ -350,7 +352,7 @@ text-transform: none; } .text-html h4 { - color: #000; + color: #FFF; font-family: "Times New Roman", Times, serif; font-weight: bold; font-size: 1em; @@ -550,7 +552,7 @@ .text-html div.short-aside { background-color: #f5f3f1; margin: 0 1em; - color: #000; + color: #FFF; } .text-html div.long-aside { margin: 1em;