Technical archives des diffusions par email
Explorer les archives
Re: Trying to embed xterm.js as Odoo widgetpar
Check the difference of css classes and styles between the terminal dom nodes, when it load ok and when it doesn't to see the difference since I see that xterm.open function is creating an style that could be the cause of the delay, also you could apply the proper styles by yourself if it doesn't get applyIt's Axel by the wayBest RegardsOn Tue, May 16, 2017 at 3:20 AM, Maxim Litnitskiy <firstname.lastname@example.org> wrote: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:firstname.lastname@example.org
Post to: mailto:expert-framework@mail.