
On Thursday, January 5, 2017 9:04:00 AM EST Yedidyah Bar David wrote:
On Wed, Jan 4, 2017 at 6:17 PM, Derek Atkins <derek@ihtfp.com> wrote:
On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote:
Thanks, Didi. I've read through this page and it provides lots of goodness if I wanted to add new tabs to the portal, but I can't find any hints how I would change the page that's seen when someone first connects to the /ovirt-engine/ page when they first connect to ovirt.
Perhaps you were looking for this one:
https://www.ovirt.org/develop/release-management/features/ux/branding/
AHA!! There's a section there called "Welcome Page" which pointed me to /usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which seems to be exactly what I want to edit!
Looks like I need to rewrite that in place, but that's okay. I'm sure it will get overwritten every update but I'll note to fix it then too.
Please check also BRANDING.adoc from the engine source tree [1]. You should be able to add your own directory wherever you want and link to it from /etc/ovirt-engine/branding with a higher number, and it will override the default. You can try either copying only what you want or all of the existing directory.
Yes you can make 01-mystuff.brand and in there put a specific template and properties file. In the properties file you can specify if you want to append or completely overwrite the welcome page. If you just want to add a link, I would suggest appending instead of overwriting. If you need more detailed instructions let me know. I am very familiar with that piece of code (since I wrote it).
Best,
[1] https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=BRANDING.adoc
I would never have considered this "branding".. :) And of course google never brought me to that link. I'm sure in 20/20 hindsight I would have better search terms for "modify ovirt welcome page" that would've worked.
Thank you.
Best, -- Didi
-derek
--
Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant