Go to file
Kumi 6033a47b6a
feat: enhance financial transparency with dynamic tables
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.
2024-05-29 14:50:52 +02:00
assets feat: enhance financial transparency with dynamic tables 2024-05-29 14:50:52 +02:00
contrib feat(Caddyfile): support security.txt redirection 2024-03-15 10:55:50 +01:00
helpers feat: enhance financial transparency with dynamic tables 2024-05-29 14:50:52 +02:00
templates feat: enhance financial transparency with dynamic tables 2024-05-29 14:50:52 +02:00
.gitignore Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
finances.json feat(finances): Add initial 2024 financial records 2024-05-28 20:38:38 +02:00
LICENSE Add LICENSE 2023-03-09 17:26:44 +00:00
main.py feat: enhance financial transparency with dynamic tables 2024-05-29 14:50:52 +02:00
README.md feat(README): add support badge 2024-04-17 09:38:03 +02:00
requirements.txt Implement dynamic service rendering with Flask 2023-12-31 13:59:13 +01:00
services.json feat(services): Update YOURLS service details 2024-05-29 07:31:48 +02:00

Private.coffee Website

Support Private.coffee!

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.