Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-05 Thread Alexander Wels
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  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
> >de...@ihtfp.com www.ihtfp.com
> >Computer and Internet Security Consultant


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Yedidyah Bar David
On Wed, Jan 4, 2017 at 6:17 PM, Derek Atkins  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.

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
>de...@ihtfp.com www.ihtfp.com
>Computer and Internet Security Consultant
>



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Derek Atkins

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.

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
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Yedidyah Bar David
On Wed, Jan 4, 2017 at 5:50 PM, Derek Atkins  wrote:
> Hi Michal,
>
> Michal Skrivanek  writes:
>
>> On 16-12-2016 20:01, Derek Atkins wrote:
>> Hi,
>>
>> I'd like to make some modifications to the main /ovirt-engine/ landing
>> page that I (and my users) hit when then first connect to my server.
>> Specifically, I want to add another link under the "Downloads" section
>> to the ovirt CA certificate to make it much easier to download:
>>
>> > href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>> CA Certificate
>>
>> However I can't find the HTML for this page, and any links I've found
>> seem to refer back to 3.x locations and not anything for 4.0.5.
>>
>> What exact version do you have? It was changed/fixed several months
>> ago to a link as above
>
> I am running ovirt-engine-4.0.5.5-1.el7.centos.noarch and nowhere in
> /usr or /etc can I find the HTML for the ovirt-engine main page.
>
> Yes, if I **manually type in** the link above it works just fine.  As a
> courtesy to my users I want to add the CA certificate URL as a clickable
> link off the ovirt main page which is accessible from
> https:///ovirt-engine/
>
> According to some googling I found that back in the 3.x days this was
> just an HTML page, but if that's still the case in 4.0 I cannot find it
> in order to add the above HREF.
>
 I wouldn't even know where to start to use the plugin architecture to do
 this.  Any documentation pointers?
>>>
>>> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
>
> 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/

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Derek Atkins
Hi Michal,

Michal Skrivanek  writes:

> On 16-12-2016 20:01, Derek Atkins wrote:
> Hi,
>
> I'd like to make some modifications to the main /ovirt-engine/ landing
> page that I (and my users) hit when then first connect to my server.
> Specifically, I want to add another link under the "Downloads" section
> to the ovirt CA certificate to make it much easier to download:
>
>  href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
> CA Certificate
>
> However I can't find the HTML for this page, and any links I've found
> seem to refer back to 3.x locations and not anything for 4.0.5.
>
> What exact version do you have? It was changed/fixed several months
> ago to a link as above

I am running ovirt-engine-4.0.5.5-1.el7.centos.noarch and nowhere in
/usr or /etc can I find the HTML for the ovirt-engine main page.

Yes, if I **manually type in** the link above it works just fine.  As a
courtesy to my users I want to add the CA certificate URL as a clickable
link off the ovirt main page which is accessible from
https:///ovirt-engine/

According to some googling I found that back in the 3.x days this was
just an HTML page, but if that's still the case in 4.0 I cannot find it
in order to add the above HREF.

>>> I wouldn't even know where to start to use the plugin architecture to do
>>> this.  Any documentation pointers?
>>
>> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/

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.

Thanks,

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Michal Skrivanek
> On 04 Jan 2017, at 14:31, Yedidyah Bar David  wrote:
>
>> On Sun, Dec 18, 2016 at 10:23 PM, Derek Atkins  wrote:
>> Joop,
>>
>> Joop  writes:
>>
 On 16-12-2016 20:01, Derek Atkins wrote:
 Hi,

 I'd like to make some modifications to the main /ovirt-engine/ landing
 page that I (and my users) hit when then first connect to my server.
 Specifically, I want to add another link under the "Downloads" section
 to the ovirt CA certificate to make it much easier to download:

 >>> href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
 CA Certificate

 However I can't find the HTML for this page, and any links I've found
 seem to refer back to 3.x locations and not anything for 4.0.5.

What exact version do you have? It was changed/fixed several months
ago to a link as above


 Where can I find the HTML for this landing page, or how can I get this
 link added?  I presume I'll have to modify the page every time I update
 the engine, too.
>>> It might be hiding in the war file if that is used to deploy the
>>> application (engine) on wildfly (10.x). Another thought occured, can you
>>> use the plugin architecture to provide the extra link?
>>
>> I wouldn't even know where to start to use the plugin architecture to do
>> this.  Any documentation pointers?
>
> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/
>
> Best,
> --
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2017-01-04 Thread Yedidyah Bar David
On Sun, Dec 18, 2016 at 10:23 PM, Derek Atkins  wrote:
> Joop,
>
> Joop  writes:
>
>> On 16-12-2016 20:01, Derek Atkins wrote:
>>> Hi,
>>>
>>> I'd like to make some modifications to the main /ovirt-engine/ landing
>>> page that I (and my users) hit when then first connect to my server.
>>> Specifically, I want to add another link under the "Downloads" section
>>> to the ovirt CA certificate to make it much easier to download:
>>>
>>> >> href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>>> CA Certificate
>>>
>>> However I can't find the HTML for this page, and any links I've found
>>> seem to refer back to 3.x locations and not anything for 4.0.5.
>>>
>>> Where can I find the HTML for this landing page, or how can I get this
>>> link added?  I presume I'll have to modify the page every time I update
>>> the engine, too.
>>>
>> It might be hiding in the war file if that is used to deploy the
>> application (engine) on wildfly (10.x). Another thought occured, can you
>> use the plugin architecture to provide the extra link?
>
> I wouldn't even know where to start to use the plugin architecture to do
> this.  Any documentation pointers?

https://www.ovirt.org/develop/release-management/features/ux/uiplugins/

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2016-12-18 Thread Derek Atkins
Joop,

Joop  writes:

> On 16-12-2016 20:01, Derek Atkins wrote:
>> Hi,
>>
>> I'd like to make some modifications to the main /ovirt-engine/ landing
>> page that I (and my users) hit when then first connect to my server.
>> Specifically, I want to add another link under the "Downloads" section
>> to the ovirt CA certificate to make it much easier to download:
>>
>> > href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>> CA Certificate
>>
>> However I can't find the HTML for this page, and any links I've found
>> seem to refer back to 3.x locations and not anything for 4.0.5.
>>
>> Where can I find the HTML for this landing page, or how can I get this
>> link added?  I presume I'll have to modify the page every time I update
>> the engine, too.
>>
> It might be hiding in the war file if that is used to deploy the
> application (engine) on wildfly (10.x). Another thought occured, can you
> use the plugin architecture to provide the extra link?

I wouldn't even know where to start to use the plugin architecture to do
this.  Any documentation pointers?

> Joop

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2016-12-17 Thread Joop
On 16-12-2016 20:01, Derek Atkins wrote:
> Hi,
>
> I'd like to make some modifications to the main /ovirt-engine/ landing
> page that I (and my users) hit when then first connect to my server.
> Specifically, I want to add another link under the "Downloads" section
> to the ovirt CA certificate to make it much easier to download:
>
>  href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>  CA Certificate
>
> However I can't find the HTML for this page, and any links I've found
> seem to refer back to 3.x locations and not anything for 4.0.5.
>
> Where can I find the HTML for this landing page, or how can I get this
> link added?  I presume I'll have to modify the page every time I update
> the engine, too.
>
It might be hiding in the war file if that is used to deploy the
application (engine) on wildfly (10.x). Another thought occured, can you
use the plugin architecture to provide the extra link?

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2016-12-16 Thread Derek Atkins
Hi,

I'd like to make some modifications to the main /ovirt-engine/ landing
page that I (and my users) hit when then first connect to my server.
Specifically, I want to add another link under the "Downloads" section
to the ovirt CA certificate to make it much easier to download:

Ovirt
 CA Certificate

However I can't find the HTML for this page, and any links I've found
seem to refer back to 3.x locations and not anything for 4.0.5.

Where can I find the HTML for this landing page, or how can I get this
link added?  I presume I'll have to modify the page every time I update
the engine, too.

Thanks,

-derek
-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users