Compare commits
No commits in common. "fa0391a7f43be612b8506c696e71897d9a0a8c1d" and "18ae2813c37d9bd815cfaba0e6765b925b7aed96" have entirely different histories.
fa0391a7f4
...
18ae2813c3
@ -1,63 +0,0 @@
|
|||||||
{% set c = get_channel_by_id(params_kw.id) %}
|
|
||||||
{% if c %}
|
|
||||||
{
|
|
||||||
"widgettype":"HBox",
|
|
||||||
"options":{
|
|
||||||
{% if int(params_kw._is_mobile) == 1 %}
|
|
||||||
"width": "49.5%"
|
|
||||||
{% else %}
|
|
||||||
"cwidth":22,
|
|
||||||
{% endif %}
|
|
||||||
"cheight":5
|
|
||||||
},
|
|
||||||
"subwidgets":[
|
|
||||||
{
|
|
||||||
"widgettype":"Image",
|
|
||||||
"options":{
|
|
||||||
"cwidth":1.5,
|
|
||||||
"cheight":1.5,
|
|
||||||
"url":"${logo_url}",
|
|
||||||
"default_url":"/imgs/tv.png"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"widgettype":"Text",
|
|
||||||
"options":{
|
|
||||||
"text":"${tv_name}",
|
|
||||||
"wrap": true,
|
|
||||||
"halign":"left"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"binds":[
|
|
||||||
{
|
|
||||||
"wid":"self",
|
|
||||||
"event":"click",
|
|
||||||
"actiontype":"urlwidget",
|
|
||||||
"target":"PopupWindow",
|
|
||||||
"popup_options":{
|
|
||||||
"width":"80%",
|
|
||||||
"height":"80%",
|
|
||||||
"title":"${tv_name}"
|
|
||||||
},
|
|
||||||
"options":{
|
|
||||||
"params":{
|
|
||||||
"tv_name": "${tv_name}",
|
|
||||||
"url":"${url}",
|
|
||||||
"id":"${id}"
|
|
||||||
},
|
|
||||||
"method": "POST",
|
|
||||||
"url":"/play.ui"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
{% else %}
|
|
||||||
{
|
|
||||||
"widgettype": "Text",
|
|
||||||
"options":{
|
|
||||||
"i18n":true,
|
|
||||||
"otext": "channel not exists"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endif %}
|
|
||||||
@ -10,13 +10,52 @@
|
|||||||
"data_method":"POST",
|
"data_method":"POST",
|
||||||
"col_cwidth":22,
|
"col_cwidth":22,
|
||||||
"record_view":{
|
"record_view":{
|
||||||
"widgettype": "urlwidget",
|
"widgettype":"HBox",
|
||||||
"options":{
|
"options":{
|
||||||
"url": "{{entire_url('channel_show.ui')}}",
|
"cwidth":22,
|
||||||
"params": {
|
"cheight":5
|
||||||
"id": "${id}"
|
},
|
||||||
|
"subwidgets":[
|
||||||
|
{
|
||||||
|
"widgettype":"Image",
|
||||||
|
"options":{
|
||||||
|
"cwidth":1.5,
|
||||||
|
"cheight":1.5,
|
||||||
|
"url":"${logo_url}",
|
||||||
|
"default_url":"/imgs/tv.png"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"widgettype":"Title6",
|
||||||
|
"options":{
|
||||||
|
"text":"${tv_name}",
|
||||||
|
"wrap": true,
|
||||||
|
"halign":"left"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
],
|
||||||
|
"binds":[
|
||||||
|
{
|
||||||
|
"wid":"self",
|
||||||
|
"event":"click",
|
||||||
|
"actiontype":"urlwidget",
|
||||||
|
"target":"PopupWindow",
|
||||||
|
"popup_options":{
|
||||||
|
"width":"80%",
|
||||||
|
"height":"80%",
|
||||||
|
"title":"${tv_name}"
|
||||||
|
},
|
||||||
|
"options":{
|
||||||
|
"params":{
|
||||||
|
"tv_name": "${tv_name}",
|
||||||
|
"url":"${url}",
|
||||||
|
"id":"${id}"
|
||||||
|
},
|
||||||
|
"method": "POST",
|
||||||
|
"url":"/play.ui"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user