No description
Kumi
6033a47b6a
Implemented dynamic financial transparency tables to automatically generate and display monthly financial data for memberships, including incomes, expenses, and balances across multiple currencies. This change involved adding a new `finances.py` helper to process financial data and integrate it with the existing Flask application. Additionally, adjusted the CSS for better alignment and readability of currency columns in the transparency tables. - Introduced a `generate_transparency_table` function to generate HTML tables dynamically based on the latest financial data. - Expanded the `main.py` Flask route for the membership page to include financial data rendering, ensuring up-to-date information is presented to users. - Removed static HTML table from the membership template in favor of dynamically generated content, offering real-time insight into finances. - Adjusted the width and text alignment of currency columns in `base.css` for enhanced table aesthetics and readability. This update significantly improves the transparency of financial information, making it easier for members to understand the flow of funds within the organization. |
||
---|---|---|
assets | ||
contrib | ||
helpers | ||
templates | ||
.gitignore | ||
finances.json | ||
LICENSE | ||
main.py | ||
README.md | ||
requirements.txt | ||
services.json |
Private.coffee Website
This is the source code for the Private.coffee website.
It is a simple Flask application that generates the HTML for the website based
on the services defined in the services.json
file.
Development
To run the website locally, you will need to have Python 3 installed. Then, you can install the dependencies and run the website with the following commands:
pip install -r requirements.txt
python main.py
The website will be available at http://localhost:9810
.
License
This project is licensed under the MIT License - see the LICENSE file for details.