-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve CSS for reports #3
Comments
A suggestion in #43 surfaced about a custom base template for reports.you might consider creating reports_base.html. This is so that you can set reports up independent of the base.html with its navigation etc that will not make much sense on a pdf report. We see from the weasyprint documentation that using page selectors, we can create a block rules that weasyprint will respond to. A practical example could be setting the page size and orientation (which can also be passed in as variables in the context data). Here's an example of a reports_base.html taken from bits and pieces of their documentation and a bit of regular html/django:
|
HI Kevin, yes reports base template is an excellent idea and one I employ in my own code. |
Improve the look and feel of the e-commerce website using CSS.
The aim is to make the site feel modern. You may consider the following challenges (optional):
The text was updated successfully, but these errors were encountered: