DeepBlueCLtd / Fi3ldMan

Field Service Manual with advanced data exploitation
https://deepbluecltd.github.io/Fi3ldMan/
Apache License 2.0
1 stars 1 forks source link

Feature - security warning on headers and footers #88

Closed IanMayo closed 9 months ago

IanMayo commented 9 months ago

For every page, we require a security warning in the header and footer.

This will be a full-width div. The background color will be light green, and contain black 14px arial text saying "COMMERCIALLY SENSITIVE"

Note: this appears to be an article covering how to do this: https://www.dita-ot.org/dev/topics/html-customization-header

frank-zimmermann commented 9 months ago

@IanMayo, I created a small screenshot. Please let me know if I understood it right. I would implement it configurable as described in https://github.com/DeepBlueCLtd/Fi3ldMan/issues/89

image

IanMayo commented 9 months ago

Yes, @frank-zimmermann - that looks fine.

frank-zimmermann commented 9 months ago

Should the footer text be changed? image

Now I have the possibility to overwrite existing XSLT templates by creating our own XSLT files in the template folder.

frank-zimmermann commented 9 months ago

image

For our own styles, I would create a new CSS file. Changes could of course done in oxygen.css, but for modularity, I would create a new one. Agree?

IanMayo commented 9 months ago

Should the footer text be changed?

That is a future issue to be worked upon

Now I have the possibility to overwrite existing XSLT templates by creating our own XSLT files in the template folde

This is my favoured sequence for modifying output:

I would create a new CSS file.

For now, I'm happy for them to go at the top of the oxygen.css file, please. Let's introduce separate CSS file as a future task - once we know it is justified.