Technical mailing list archives
Re: Trying to embed xterm.js as Odoo widgetby
Thanks Juergen for your proposal.But I need more control over terminal access.Different Odoo roles will have different set of console commands.So when Odoo app and Xterm app will be in different frames I guess it will be more complex to achive.I think the idea with click on tab to open xterm and destroy it when tab is hidden shoud work.Anyway thanks for proposal!Regards,Max.On Tue, May 16, 2017 at 12:20 AM, Juergen Kienhoefer <email@example.com> wrote:Guys,I did something very similar without the need of creating code. Our Web app runs in an iframe.So, I just edit the page, and add an "embed video", which I used just a link to a static "image"in my own "empty" module for Odoo.This would be the link for the "iframe video" I used: /aircable_images/static/
app/preview.htmlwhich contains the code for the app. Nicely the app then runs in the picture area of block structure.The "aircable_images" is the name for my module, just to provide access to the files.It may be not perfect, and I still have issues with the sizing, but at least it works.Source code for the app is here: https://github.com/airca ble/SmartMeshCheersJuergen
Post to: mailto:expert-framework@mail.