Skip to content
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

Html page flexibility: header or footer, links? #72

Closed
rusefi opened this issue Feb 3, 2019 · 7 comments
Closed

Html page flexibility: header or footer, links? #72

rusefi opened this issue Feb 3, 2019 · 7 comments

Comments

@rusefi
Copy link

rusefi commented Feb 3, 2019

Is there any way to control or customize (header or footer?) html output in any way? For instance I would like IBOM html to have a link to the relevant wiki or forum, is that possible?

@qu1ck
Copy link
Member

qu1ck commented Feb 3, 2019

Top 4 fields (title, company, revision, date) are generated from pcb metadata. In Pcbnew go to File -> Page Settings... and you can modify those fields. Is that enough?

@rusefi
Copy link
Author

rusefi commented Feb 3, 2019

This is a lot, but neither of them is a URL so if my user clicks on the BOM there is no way for him to navigate from it. I have a feeling that a lot of people are not aware of the "Back" button.

Would custom static html header be easy to add or not really?

@qu1ck
Copy link
Member

qu1ck commented Feb 3, 2019

You can put html in any of the fields and it works, example for an url:

<a href="http://myforumurl.com">My forum</a>

Adding custom static header is doable in theory but it's a whole can of worms of it's own. Making arbitrary headers fit into the page without breaking layout is hard.

@rusefi
Copy link
Author

rusefi commented Feb 3, 2019

I am 99.9% OK with that solution and you are right that custom static header is a can of worms.

Thank you for your amazing tool and prompt responses.

@qu1ck
Copy link
Member

qu1ck commented Feb 3, 2019

No problem.
May I add your board to list of demos? This one
https://github.com/rusefi/rusefi/tree/master/hardware/frankenso

@rusefi
Copy link
Author

rusefi commented Feb 3, 2019

Absolutely! Just added a few more of our smaller boards and created a nightly refresh https://rusefi.com/docs/ibom/

@qu1ck
Copy link
Member

qu1ck commented Feb 3, 2019

Cool, thanks. I will generate it myself from kicad files though because generating demos is part of my QA process.

qu1ck added a commit that referenced this issue Feb 3, 2019
This will make links in custom fields appear better even without
inline styling.

Issue #72
@qu1ck qu1ck closed this as completed in c71cebc May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant