-
Курс валют
(custom)
<style>
@import url("/css/fontawesome-pro-5.2.0-web/css/all.css");
.container {
border-radius: 14px;
border:2px solid #444;
padding: 10px;
/*background-color:rgba(0, 0, 0, 0.3);*/
}
.left_top {
float: right;
font-size: 100%;
}
.left_top div {
border-radius: 4px;
border:1px solid #444;
padding: 1px;
display:inline-block;
}
.name {
font-size: 110%;
}
.devices {
font-size: 200%;
margin-bottom: 4px;
padding-top: 4px;
}
.devices div{
vertical-align:top;
margin-right:6px;
}
.devices i{
vertical-align:top;
margin-right:6px;
}
.devices img{
vertical-align:top;
margin-right:6px;
}
.time {
font-size: 60%;
color:grey;
}
//animations
.spiner {
animation-name: spin;
animation-duration: 2000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
z-index: 100;
}
@keyframes spin {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
</style>
<div class="container" style="background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.8)), url(%.background%);">
<div class="left_top">
<div style='display:%cbr.USD|"none;inline-block"%'><font color="lime"><i class="fas fa-dollar-sign" aria-hidden="true"></i> %cbr.USD% </font> %cbr.dollar_fa%</div>
<div style='display:%cbr.EURO|"none;inline-block"%'><font color="yellow"><i class="fas fa-euro-sign" aria-hidden="true"></i> %cbr.EURO% </font>%cbr.euro_fa%</div> </div>
<div class="info">
<div class="name"><font color="%cbr.color%">%cbr.object_description%</font></div>
<div class="devices">
%cbr.deviceString%
</div>
<div class="loc" style='display:%cbr.RoomMsg|"none;block"%'><i class="fa fa-podcast" aria-hidden="true"></i> %cbr.RoomMsg%</div>
<div class="time" style='display:%cbr.uptime|"none;block"%'><i class="fas fa-sync-alt"></i> %cbr.uptime%</div>
</div>
<div style="clear:both;"></div>
</div>
-
Пробки
(custom)
<!--#Пробки#-->
<td width="8%" align="center" border="3" bordercolor="#02DCFD">
<a href="https://yandex.ru/maps/213/moscow/?ll=37.712997%2C55.740937&z=11&l=trf%2Ctrfe" target="new.window">
<div align="left"><font size="4">%yt_info.city_title%</font></div></a>
<img src="/templates/app_yatraffic/icons/%yt_info.icon%.png" align="right">
<div align="left" padding="10%"><font color="%yt_info.icon%" size="6">%yt_info.level%</font></div>
<div align="left"><font color="%yt_info.icon%">%yt_info.val%</font></div>
</td>
-
1
(custom)
<button class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left ui-icon-audio">Тест1</button>
<button class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left %test.val%">Тест4</button>
<button class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left %test.val2%">Тест2 (длинный)</button>
<button class="ui-btn ui-shadow ui-corner-all ui-btn-icon-left %test.val3%">Тест3 (длинный)</button>
<button href="#" class="button">Preview</button>
-
Тест1
(button)
Тест1
-
Button 1
(button)
Button 1
-
Кнопка
(button)
Кнопка
-
Fa
(custom)
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
</head>
<font color="blue"><i class="fa fa-battery-full "title='Dmitriy 11' style="font-size:28px"></i><title name="Рас"></title></font>
<font color="green"><i class="fa fa-television " title="Katy 100%"style="font-size:28px"></i></font>
<font color="%Alex.batterycolor%"><i class="fa %Alex.batteryfa% " title="Alex %Alex.BattLevel%%"></i></font>
<font color="%Chuwi.batterycolor%"><i class="fa %Chuwi.batteryfa% " title="Chuwi %Chuwi.BattLevel%%"></i></font>
-
IPTV
1
-
Switc
(custom)
<form>
<label for="flip-checkbox-1">Выключатель:</label>
<input type="checkbox" data-role="flipswitch" name="flip-checkbox-1" id="flip-checkbox-1">
</form>
-
Видеомессаге
(custom)
[#module name="app_videomessages"#]
-
Вывод данных
(custom)
<font size="2">Температура HDD: </font><font color="%PC.hdd1tempColor%" size="3">%PC.hdd1tempLabel%</font><font size="2"> °C</font>
-
Вызов приложения 2
(custom)
<a href="app://run:com.alibaba.aliexpresshd">Али</a>
-
Вызпв приложения
(button)
Вызпв приложения
-
Д.Д.Зал
(object)
-
Для рингтона
(selectbox)
4
-
ег
(switch)
-
Информер
(custom)
<style>
.wrapper {
width: 200px;
}
.progress-bar {
width: 100%;
background-color: #e0e0e0;
padding: 3px;
border-radius: 3px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
}
.progress-bar-fill {
display: block;
height: 22px;
background-color: #659cef;
border-radius: 3px;
transition: width 500ms ease-in-out;
}
.progressbar-value{
position:absolute;
left:5px;
top:6px;
color:#fff;
font-weight: bold;
padding:10px 15px;
border-radius:5px;
}
</style>
<div class="wrapper">
<div class="progress-bar">
<span class="progress-bar-fill" style="width: %Date.Wolts%%"></span>
<span class="progressbar-value">%Date.Wolts%%</span>
</div>
</div>
-
Камера
(custom)
<a href="rtsp://admin:111222333@192.168.8.191:10554/udp/av0_0">Камера1</a>
<a href="rtsp://192.168.8.116:8080/h264_ulaw.sdp">Камера2</a>
<a href="http://192.168.8.191:10554/videostream.cgi?user=admin&pwd=111222333">Камера3</a>
<a href="rtsp://192.168.8.142:554/user=admin&password=304567&channel=2&stream=1.sdp?">Камера4</a>
-
Кнопка
(custom)
<button class="ui-btn">Кнопка</button>
-
Онлайн
(custom)
[#module name="pinghosts" mobile="1"#]
-
Прогрес бар 2
(custom)
<style>
body {
background-color: #1D1F20;
}
.container {
margin-top: 40px;
padding-top: 20px;
/*background-color: #beb*/
}
.vertical {
display: inline-block;
width: 20%;
height: 40px;
-webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
transform: rotate(-90deg);
}
.vertical {
box-shadow: inset 0px 4px 6px #ccc;
}
.progress-bar {
box-shadow: inset 0px 4px 6px rgba(100,100,100,0.6);
}
</style>
<div class="container">
<div class="progress vertical">
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 40%;">
</div>
</div>
<div class="progress vertical">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
</div>
</div>
<div class="progress vertical">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 80%;">
</div>
</div>
<div class="progress vertical">
<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 95%;">
</div>
</div>
</div>
-
Пульт
(object)
-
пульт
(custom)
<link type="text/css" rel="stylesheet" href="../templates/app_lgtvrs232/css/style.css" />
<script language="javascript">
function setChannel(channel) {
var url = '/objects/?object=LG32LW575S&op=m&m=selectTVchannels&channel=';
url += channel;
//alert(url);
AJAXRequest(url, 'updateTVinfo();', '');
};
function setCommand(cmd) {
var url = '/objects/?object=LG32LW575S&op=m&m=controlTV&cmd=';
url += cmd;
//alert(url);
AJAXRequest(url, 'updateTVinfo();', '');
};
function setVolume(vol) {
var url = '/objects/?object=LG32LW575S&op=m&m=controlTV&cmd=setVOL&vol=';
url += vol;
//alert(url);
AJAXRequest(url, '', '');
};
function ajaxGetTVvolume(varname, id, timeout) {
var url="/";
url+='?md=application&action=ajaxgetglobal&var='+encodeURIComponent(varname);
$.ajax({
url: url
}).done(function(data) {
var obj=jQuery.parseJSON(data);
if (obj.DATA) {
$('#'+id).val(obj.DATA);
$('#'+id).slider("refresh");
}
});
if (timeout>0) {
window.setTimeout('ajaxGetTVvolume("'+varname+'", "'+id+'", '+timeout+');', timeout);
}
return false;
}
function updateTVinfo() {
ajaxGetTVvolume('LG32LW575S.volumeLevel', 'tvVOL', 0);
ajaxGetGlobal('LG32LW575S.statusText', 'tvInfo', 0);
//alert('Update OK!');
};
$(document).ready(function() {
// Будем обновлять значения громкости и информации о ТВ каждые 30 сек.
ajaxGetTVvolume('LG32LW575S.volumeLevel', 'tvVOL', 30000);
ajaxGetGlobal('LG32LW575S.statusText', 'tvInfo', 30000);
$(".tvimg").click(function(){
var channel = $(this).attr("channel");
setChannel(channel);
ajaxGetGlobal('LG32LW575S.statusText', 'tvInfo', 0);
});
$(".rcBtn").click(function(){
var cmd = $(this).attr("cmd");
setCommand(cmd);
ajaxGetGlobal('LG32LW575S.statusText', 'tvInfo', 0);
});
$( "#tvVOL" ).slider({
stop: function( event, ui ) {
setVolume($("#tvVOL").val());
}
});
});
</script>
<div style="width: 305px; border-style:solid; border-width:0px; margin: 0 auto;">
<table border="0" aligne="center" style="width: 100%; margin: 0 auto;">
<tr>
<td width="25%" align="center"><span id="vol-result"></span></td>
<td width="25%" align="center"><span id="pwr-result"></span></td>
<td width="25%" align="center"><span id="debugTV"></span></td>
<td width="25%">
<a href="#" cmd="btn_OFF" class="rcBtn ui-btn ui-icon-power ui-btn-icon-notext ui-shadow" style="margin: 0 auto; height: 40px; width: 70px; border-radius: .3125em;"></a>
</td>
</tr>
</table>
<table border="0" aligne="center" style="width: 100%; margin: 0 auto;">
<tr>
<td width="33%" align="center"></td>
<td></td>
<td width="33%">
</td>
</tr>
<tr>
<td colspan="3">
<div style="border-style:solid; border-width:0px; text-align:center; margin: 0 auto;">
<form style="margin-left: 11px;">
<label for="tv_volume" class="ui-hidden-accessible">volume:</label>
<input type="range" name="tv_volume" id="tvVOL" data-highlight="true" min="0" max="50" value="12" />
</form>
</div>
</td>
</tr>
<tr>
<td colspan="3">
<div data-role="controlgroup" data-type="horizontal" data-mini="true" class="ui-nodisc-icon" style="border-style:solid; border-width:0px; text-align:center; margin: 0 auto;">
<a href="#" cmd="btn_chDOWN" class="rcBtn ui-btn ui-icon-carat-d ui-btn-icon-notext ui-shadow"> </a>
<span id="tvInfo" class="ui-btn" style="text-align: center; width:175px"></span>
<a href="#" cmd="btn_chUP" class="rcBtn ui-btn ui-icon-carat-u ui-btn-icon-notext ui-shadow"> </a>
</div>
</td>
</tr>
<tr>
<td width="33%" align="center"> </td>
<td align="center" > </td>
<td width="33%" align="center"> </td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Первый HD.png" class="tvimg" channel="Первый HD"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Россия HD.png" class="tvimg" channel="Россия HD"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Первый городской HD.png" class="tvimg" channel="Первый городской HD"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/СТС.png" class="tvimg" channel="СТС"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/СТС Love.png" class="tvimg" channel="СТС Love"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/ТНТ.png" class="tvimg" channel="ТНТ"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Disney.png" class="tvimg" channel="Disney"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Перец.png" class="tvimg" channel="Перец"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/ТВ-3.png" class="tvimg" channel="ТВ-3"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Пятница.png" class="tvimg" channel="Пятница"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Домашний.png" class="tvimg" channel="Домашний"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Discovery Channel.png" class="tvimg" channel="Discovery Channel"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Animal Planet.png" class="tvimg" channel="Animal Planet"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/TLC.png" class="tvimg" channel="TLC"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/National Geographic.png" class="tvimg" channel="National Geographic"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/National Geographic HD.png" class="tvimg" channel="National Geographic HD"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Nat Geo Wild HD.png" class="tvimg" channel="Nat Geo Wild HD"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Viasat Explorer.png" class="tvimg" channel="Viasat Explorer"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Viasat History.png" class="tvimg" channel="Viasat History"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Дом кино.png" class="tvimg" channel="Дом кино"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Viasat TV1000.png" class="tvimg" channel="Viasat TV1000"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Viasat TV1000 Rus.png" class="tvimg" channel="Viasat TV1000 Rus"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Sony SciFi.png" class="tvimg" channel="Sony SciFi"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Sony Set.png" class="tvimg" channel="Sony Set"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Fox.png" class="tvimg" channel="Fox"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Fox HD.png" class="tvimg" channel="Fox HD"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Fox Life.png" class="tvimg" channel="Fox Life"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Fox Life HD.png" class="tvimg" channel="Fox Life HD"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/Paramount Comedy.png" class="tvimg" channel="Paramount Comedy"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/МУЗ ТВ.png" class="tvimg" channel="МУЗ ТВ"></td>
</tr>
<tr>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/MTV.png" class="tvimg" channel="MTV"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/RU TV.png" class="tvimg" channel="RU TV"></td>
<td align="center">
<img src="../templates/app_lgtvrs232/images/tvlogo/A-One.png" class="tvimg" channel="A-One"></td>
</tr>
</table>
</div>
-
Румс
(object)
-
Состояния
(custom)
 <a href="#" onClick="$.get('/objects/?object=ESPzal&op=m&m=switch_on&');return false;"><font color="%ESPzal.color%"><i class="fa fa-lightbulb-o"style="font-size:28px"></i></font></a>      
<a href="#" onClick="$.get('/objects/?object=ESPdetskaya&op=m&m=switch_on&');return false;"><font color="%ESPdetskaya.color%"><i class="fa fa-lightbulb-o"style="font-size:28px"></i></font></a>          
<a href="#" onClick="$.get('/objects/?object=ESPspalnya&op=m&m=switch_on&');return false;"><font color="%ESPspalnya.color%"><i class="fa fa-lightbulb-o"style="font-size:28px"></i></font></a>
<br>
Зал  Детская  Спальня
-
Температура в зале
(object)
-
Что то
(custom)
Egor:
<html>
<button onclick="test();">TEST</button>
<script>
function test() {
var xhr = new XMLHttpRequest();
xhr.open('GET', "localhost/objects/?script=TEST_SCRIPT", true);
xhr.send();
}
</script>
</html>