Stream: IG creation
Topic: template customization documentation
John Moehrke (Aug 17 2021 at 20:24):
Is there documentation on how a project might customize the basic look and feel? Things like colors? And has this been tested to be effective with the history page? I have a nicely colored IG, but I can't figure out how to get the history page using anything other than HL7 red.
Lloyd McKenzie (Aug 17 2021 at 20:52):
History page is a custom page that isn't generated or maintained as part of the IG - so anything you do with it is manual.
John Moehrke (Aug 17 2021 at 20:53):
okay... so, can you give me some hints on how to change the hl7 red to some other color? I have been poking around blindly all afternoon.
Grahame Grieve (Aug 17 2021 at 20:53):
what history page are you talking about?
Lloyd McKenzie (Aug 17 2021 at 20:54):
I believe Jose's put some documentation in the 'guidance' IG
John Moehrke (Aug 17 2021 at 20:54):
the history page that is created during the publication process
Grahame Grieve (Aug 17 2021 at 20:54):
which publication process?
Lloyd McKenzie (Aug 17 2021 at 20:54):
You can also look at the examples of the HL7 template, the CDA template, etc. All they do is change colors and add a logo.
Grahame Grieve (Aug 17 2021 at 20:54):
like Lloyd said, the history page is special
John Moehrke (Aug 17 2021 at 20:55):
hmm, I might have been cursed by browser caching.
John Moehrke (Aug 17 2021 at 20:55):
my attempts have succeeded
John Moehrke (Aug 17 2021 at 20:55):
https://profiles.ihe.net/fhir/ihe.formatcode.fhir/history.html
Jose Costa Teixeira (Aug 17 2021 at 20:56):
I thought I handled that for IHE (the removing of the red colors)
John Moehrke (Aug 17 2021 at 20:56):
now I just need to figure out which hack worked, so that I can them put that into the IHE publication mechanism
Jose Costa Teixeira (Aug 17 2021 at 20:56):
I do think the process documentation works there (don't forget the last step otherwise the history page will have be red)
John Moehrke (Aug 17 2021 at 20:57):
Jose Costa Teixeira said:
I thought I handled that for IHE (the removing of the red colors)
I think you said you had a solution that you had not yet committed.. so I went trying to solve it
Jose Costa Teixeira (Aug 17 2021 at 20:57):
it is there, i think
John Moehrke (Aug 17 2021 at 20:58):
that "last step" solution ... you mean copying all of the assets to assets-hist?
Jose Costa Teixeira (Aug 17 2021 at 20:59):
step 10, yes
https://confluence.hl7.org/pages/viewpage.action?pageId=104580055
Jose Costa Teixeira (Aug 17 2021 at 21:00):
that overrides the css for the assets-hist.
(there may be a cleaner way to handle this so that the history page gets the same css as the template provides, but hey, it's working)
John Moehrke (Aug 17 2021 at 21:00):
so, yes that works
Last updated: Apr 12 2022 at 19:14 UTC