Difference between revisions of "Custom web pages"

From Larnitech wiki page
Jump to navigation Jump to search
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
<languages/>
 +
<translate>
 +
<!--T:1-->
 
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
  
 +
<!--T:2-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<smart-house>
 
<smart-house>
Line 16: Line 20:
 
*text – text in web-page-panel
 
*text – text in web-page-panel
  
 +
<!--T:3-->
 
After it, you can see your web-pages in menu
 
After it, you can see your web-pages in menu
 
<div style="clear:both;">
 
<div style="clear:both;">
Line 24: Line 29:
 
[[File:Web2.png|400px]]
 
[[File:Web2.png|400px]]
 
</div>
 
</div>
 +
</translate>

Latest revision as of 11:38, 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