Difference between revisions of "Custom web pages"

From Larnitech wiki page
Jump to navigation Jump to search
Line 1: Line 1:
 +
<languages/>
 +
<translate>
 
You can add custom web-pages to your LT app.
 
You can add custom web-pages to your LT app.
 
Add page list to logix.xml
 
Add page list to logix.xml
Line 24: Line 26:
 
[[File:Web2.png|400px]]
 
[[File:Web2.png|400px]]
 
</div>
 
</div>
 +
</translate>

Revision as of 11:37, 23 January 2022

Other languages:
English • ‎русский

You can add custom web-pages to your LT app. Add page list to logix.xml

1<smart-house>
2    <web-pages>
3        <page url="https://google.com" image="a" label="Google" text="Google"/>
4        <page url="https://web.telegram.org/" image="chat" label="Chat" text="Telegram"/>
5    </web-pages>
6</smart-house/>

where:

  • url – url of web page
  • image – png file name from folder menu-right/ ("menu-right/" and ".png" will be added automatically)
  • label – description in menu
  • text – text in web-page-panel

After it, you can see your web-pages in menu

Web1.png

Example of opened page:

Web2.png