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" <[email protected]> > To: "Michal Skrivanek" <[email protected]> > Cc: [email protected] > 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 <[email protected]> wrote: > > Hi Michal > > > > > > > > On Fri, Aug 8, 2014 at 8:14 PM, Michal Skrivanek > > > > <[email protected]> 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 > >>> [email protected] > >>> http://lists.ovirt.org/mailman/listinfo/devel > > > > -- > > RHCE#805007969328369 _______________________________________________ Devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/devel
