yuki / myVault

A web interface for HashiCorp Vault which allow to edit secrets with a Markdown editor
https://yuki.github.io/myVault/
GNU General Public License v3.0
0 stars 0 forks source link

Create a good CSS for printing #45

Open yuki opened 6 years ago

yuki commented 6 years ago

Right now the print option is functional, and when saving into PDF with chrome, all the links works great.

But it can be better... There should be a header, at least, in the first page with myVault "logo" (aka, the name and the lock). In the header, the option to have the URL of the secret?

A custom footer with the page number will be great.

yuki commented 6 years ago

w3c documentation: https://www.w3.org/TR/css-gcpm-3/#running-elements

https://stackoverflow.com/questions/1360869/how-to-use-html-to-print-header-and-footer-on-every-printed-page-of-a-document

https://stackoverflow.com/questions/9729461/creating-page-headers-and-footers-using-css-for-print