[ovirt-devel] Intro

Michal Skrivanek michal.skrivanek at redhat.com
Thu Aug 14 11:24:54 UTC 2014


On Aug 13, 2014, at 01:01 , Colin Coe <colin.coe at gmail.com> wrote:

> Hi Franta
> 
> Nope, the JavaScript snippets didn't work, even ^W doesn't work. ^F4

Then if you don't need it I'd just remove the link from the welcome page completely, and replace the link in user portal to lead to nowhere

> closes all browser windows not just the client resources page.  The
> IGEL runs FF 17 and Virt Viewer 0.5.2, all pretty old.  We're
> expecting an update from IGEL which we're told will have Virt Viewer
> 0.5.6 (not sure what FF version it will have).
> 
> CC
> 
> On Tue, Aug 12, 2014 at 3:52 PM, Frantisek Kobzik <fkobzik at redhat.com> wrote:
>> Hi Colin,
>> 
>> just for my curiosity - does the window closing method from your link work or not? Also which FF version do you run on IGEL?
>> 
>> Thanks!
>> Franta.
>> 
>> 
>> ----- Original Message -----
>> From: "Colin Coe" <colin.coe at gmail.com>
>> To: "Frantisek Kobzik" <fkobzik at redhat.com>
>> Cc: awels at redhat.com, devel at ovirt.org
>> Sent: Tuesday, August 12, 2014 3:55:19 AM
>> Subject: Re: [ovirt-devel] Intro
>> 
>> Hi all
>> 
>> Many thanks for the pointers.  It seems FireFox on the IGEL is a bit
>> tricky to programatically close browser windows.  I tried a couple of
>> approaches including what was suggested above and also at
>> http://www.yournewdesigner.com/css-experiments/javascript-window-close-firefox.html
>> 
>> I'll update the support ticket I have with GSS on this as some
>> collaboration with the folks at IGEL may be required.
>> 
>> Thanks again
>> 
>> CC
>> 
>> 
>> 
>> On Mon, Aug 11, 2014 at 9:27 PM, Frantisek Kobzik <fkobzik at redhat.com> wrote:
>>> You're right, thanks!
>>> F.
>>> 
>>> 
>>> ----- Original Message -----
>>> From: "Alexander Wels" <awels at redhat.com>
>>> To: devel at ovirt.org
>>> Cc: "Frantisek Kobzik" <fkobzik at redhat.com>, "Colin Coe" <colin.coe at gmail.com>
>>> Sent: Monday, August 11, 2014 3:07:38 PM
>>> Subject: Re: [ovirt-devel] Intro
>>> 
>>> On Monday, August 11, 2014 08:56:51 AM Frantisek Kobzik wrote:
>>>> Hi Colin,
>>>> 
>>>> adding closing button to the 'console resources' page should be quite easy.
>>>> 
>>>> 1, Open this file:
>>>> /etc/ovirt-engine/branding/50-rhev-1.brand/applications/rhev.ear/rhev.war/WE
>>>> B-INF/client-resources.jsp 2, somewhere in the page, add this code snippet:
>>>> <button type="button" onclick="window.close()">Close page</button>
>>>> (or you can use <a>, or whatever you like)
>>>> 
>>>> ... and that should do the trick.
>>>> 
>>>> If you want to have the button localized, you can do it by adding keys to
>>>> resources files in
>>>> /etc/ovirt-engine/branding/50-rhev-1.brand/applications/rhev.ear/rhev.war/W
>>>> EB-INF/classes subdirectory.
>>>> 
>>>> If there's anything else about this, feel free to contact me!
>>>> 
>>>> Cheers,
>>>> Franta.
>>>> 
>>> 
>>> Just to add to this, I highly suggest you don't modify the RHEV branding
>>> directly like that, a new version will override you changes. The suggested
>>> method is to create your own branding package (possibly using the RHEV one as
>>> a base) and make the modifications that you want there. The branding packages
>>> are overlayed on top of each other, so if you make a new branding package your
>>> changes will be applied last.
>>> 
>>> A good overview of how to make branding packages can be found on the ovirt
>>> wiki [1].
>>> 
>>> Alexander
>>> 
>>> [1] http://www.ovirt.org/Features/Branding
>>> 
>>>> ----- Original Message -----
>>>> From: "Colin Coe" <colin.coe at gmail.com>
>>>> To: "Michal Skrivanek" <michal.skrivanek at redhat.com>
>>>> Cc: devel at ovirt.org
>>>> Sent: Monday, August 11, 2014 8:45:15 AM
>>>> Subject: Re: [ovirt-devel] Intro
>>>> 
>>>> Hi all
>>>> 
>>>> On Mon, Aug 11, 2014 at 7:13 AM, Colin Coe <colin.coe at gmail.com> wrote:
>>>>> Hi Michal
>>>>> 
>>>>> 
>>>>> 
>>>>> On Fri, Aug 8, 2014 at 8:14 PM, Michal Skrivanek
>>>>> 
>>>>> <michal.skrivanek at redhat.com> wrote:
>>>>>> On 8 Aug 2014, at 02:43, Colin Coe wrote:
>>>>>>> Hi all
>>>>>>> 
>>>>>>> I'm a long time RHEV admin (since 2.1/2.2 days).  I'm in the process of
>>>>>>> getting a dev workstation built to do some hacking to resolve some
>>>>>>> small issues that are explained below.
>>>>>>> 
>>>>>>> 1)
>>>>>>> The business is moving to thin clients for specific users.  We're using
>>>>>>> IGEL thin clients in appliance mode.  We have a problem where if the
>>>>>>> user (in the User Portal) clicks on the "Client Resources" hyperlink, a
>>>>>>> new browse window comes up that the user cannot move or dismiss.
>>>>>>> 
>>>>>>> I figure the  easiest way to resolve this is to put a "Close" button on
>>>>>>> the Client Resources page.  Would this be acceptable to the project?>>
>>>>>> What is the browser on the IGEL client? Are you talking about RHEV or
>>>>>> oVirt? Either way it's a branding item..you can as well disable/remove
>>>>>> the link completely as I suppose it's not really relevant on a thin
>>>>>> client>
>>>>> The IGEL client runs Firefox.  From memory the OS is Ubuntu 10.4.
>>>>> We're talking RHEV not oVirt.  What do you mean a branding item?  Do
>>>>> you mean I can change this?
>>>>> 
>>>>>>> 2)
>>>>>>> In the power User Portal, VM descriptions are shown in parentheses.  In
>>>>>>> the "normal" User Portal the description is not shown.  I'd like to
>>>>>>> have the description shown in the normal User Portal also, maybe in
>>>>>>> parentheses on a new line between the VM name and the VM's icon.  Is
>>>>>>> this acceptable to the project?>>
>>>>>> should be easy enough. care to file a bug for it?
>>>>> 
>>>>> Sure. BZ 1128501
>>>> 
>>>> Looks like the description is shown.  Apologies.  I'll close that BZ
>>>> as a carbon error.
>>>> 
>>>>>>> 3)
>>>>>>> Lastly, the normal user portal shows the VM image and to get a console,
>>>>>>> a double click is required.  This is pretty much universally hated by
>>>>>>> our users  :(  The Power User Portal single click is loved by our users
>>>>>>> but I don't want to to give them the added capabilities in the Power
>>>>>>> User Portal.  Would it be acceptable to the project to change the
>>>>>>> double click to the same single click as in the Power User Portal?>>
>>>>>> there's a new button now in 3.5
>>>>> 
>>>>> Great!
>>>>> 
>>>>>> Thanks,
>>>>>> michal
>>>>>> 
>>>>>>> Thanks
>>>>>>> 
>>>>>>> CC
>>>>>>> 
>>>>>>> --
>>>>>>> RHCE#805007969328369
>>>>>>> _______________________________________________
>>>>>>> Devel mailing list
>>>>>>> Devel at ovirt.org
>>>>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>> 
>>>>> --
>>>>> RHCE#805007969328369
>>> 
>> 
>> 
>> 
>> --
>> https://www.redhat.com/wapps/training/certification/verify.html?certNumber=100-019-488&isSearch=False&verify=Verify
> 
> 
> 
> -- 
> https://www.redhat.com/wapps/training/certification/verify.html?certNumber=100-019-488&isSearch=False&verify=Verify
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel




More information about the Devel mailing list