From d081551e9bbe0604695d983f4d54979d67a455b1 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 6 Feb 2025 00:06:29 +0100 Subject: [PATCH] improved theming --- app.py | 2 ++ templates/header.html | 20 ++++++++++---------- templates/index.html | 8 ++++---- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/app.py b/app.py index 7a60093..4f2f4dc 100644 --- a/app.py +++ b/app.py @@ -26,6 +26,8 @@ API_KEY = config['DEFAULT']['API_KEY'] bootstrap = Bootstrap5(app) +app.config['BOOTSTRAP_BOOTSWATCH_THEME'] = 'sandstone' + # Initialize the logger logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) # Adjust as needed diff --git a/templates/header.html b/templates/header.html index 5154f72..8890e3c 100644 --- a/templates/header.html +++ b/templates/header.html @@ -13,20 +13,20 @@
-

Torn User Activity Scraper

-
\ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 89d1b8e..8a013ab 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,11 +16,11 @@ {{ form.run_interval.label(class="form-control-label") }} {{ form.run_interval(class="form-control") }} -
- {{ form.submit(class="btn btn-primary", type="submit", id="startButton") }} -
- +
+ {{ form.submit(class="btn btn-success", type="submit", id="startButton", form="scrapingForm") }} + {{ form.submit(class="btn btn-warning", type="submit", id="stopButton") }} +