<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>There's not one html file like that, since we use GWT [1]. However, if you search for *.ui.xml files, you'll find all the GWT UIBinder files. That's the place to start for simple UI tweaks. The application is partitioned into small components, so you'll have to do some digging. For example, each dialog has its own ui.xml file -- so if you want to tweak a specific dialog, you'll need to find the right file. Feel free to post questions about those to engine-devel and we can help you out.</div><div><br></div><div>Greg</div><div><br></div><div>[1] <a href="http://www.gwtproject.org/" data-mce-href="http://www.gwtproject.org/">http://www.gwtproject.org/</a></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Aditya Mamidwar" <aditya.mamidwar@gmail.com><br><b>To: </b>"Einav Cohen" <ecohen@redhat.com>, "Vojtech Szocs" <vszocs@redhat.com><br><b>Cc: </b>engine-devel@ovirt.org, users@ovirt.org<br><b>Sent: </b>Saturday, March 15, 2014 8:30:21 AM<br><b>Subject: </b>Re: [Users] adding scripts<br><div><br></div><div><div style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif;">Hey thanks on the previous issue.<br>Also is there a way i can access WebAdmin.Html to add custom buttons and make few tweaks for personal use?<br>I just cant find that file after using git.<br><div><br></div>Aditya Mamidwar</div></div><div dir="ltr"><hr><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif; font-weight: bold;">From: </span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif;"><a href="mailto:ecohen@redhat.com" target="_blank" data-mce-href="mailto:ecohen@redhat.com">Einav Cohen</a></span><br><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif; font-weight: bold;">Sent: </span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif;">14-03-2014 01:21</span><br><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif; font-weight: bold;">To: </span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif;"><a href="mailto:aditya.mamidwar@gmail.com" target="_blank" data-mce-href="mailto:aditya.mamidwar@gmail.com">aditya mamidwar</a>; <a href="mailto:vszocs@redhat.com" target="_blank" data-mce-href="mailto:vszocs@redhat.com">Vojtech Szocs</a></span><br><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif; font-weight: bold;">Cc: </span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif;"><a href="mailto:users@ovirt.org" target="_blank" data-mce-href="mailto:users@ovirt.org">users@ovirt.org</a>; <a href="mailto:engine-devel@ovirt.org" target="_blank" data-mce-href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a></span><br><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif; font-weight: bold;">Subject: </span><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif" data-mce-style="font-size: 11pt; font-family: Calibri,sans-serif;">Re: [Users] adding scripts</span><br><div><br></div></div>if you are trying to hook into UI-specific events, it sounds <br>like you will need to write an oVirt UI Plugin [1] in order to <br>do that. However, I believe that the oVirt UI Plugins <br>infrastructure doesn't support hooking to events such as "tab <br>x was selected" and/or "button b was clicked". <br>It does allow you to add new (custom) tabs/sub-tabs/buttons of <br>your own, and there is a chance that it allows you to hook <br>into events such as 'row x was selected in the grid'. <br><div><br></div>@Vojtech will know better. Vojtech?<br><div><br></div>if you are trying to hook into engine events (e.g. you want to <br>run a script every time a VM is started in oVirt, no matter if <br>the user started it by clicking the 'run' button in the oVirt-<br>engine webadmin, or invoked a REST API request, or an SDK <br>command), then it will require some sort of an "engine-plugin" <br>infrastructure that we don't have at the moment AFAIK. <br>there is a chance that for some of the events you will be able <br>to utilize the VDSM hooks (at the Host level) [2].<br><div><br></div>----<br>Thanks,<br>Einav<br><div><br></div>[1] http://www.ovirt.org/Features/UIPlugins<br><div><br></div>[2] http://www.ovirt.org/VDSM-Hooks<br><div><br></div><br>----- Original Message -----<br>> From: "aditya mamidwar" <aditya.mamidwar@gmail.com><br>> To: users@ovirt.org, engine-devel@ovirt.org<br>> Sent: Thursday, March 13, 2014 11:23:35 AM<br>> Subject: [Users] adding scripts<br>> <br>> <br>> I want to commit changes to the engine by adding some bash scripts.<br>> the scripts should be invoked once a button or tab is selected in the<br>> webadmin portal by the user.<br>> <br>> can someone guide on achieving this.<br>> <br>> --<br>> -Aditya Mamidwar<br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@ovirt.org<br>> http://lists.ovirt.org/mailman/listinfo/users<br>> <br><br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><div><br></div></div></body></html>