diff --git a/wwwroot/newest/channel_show.ui b/wwwroot/channel_show.ui similarity index 100% rename from wwwroot/newest/channel_show.ui rename to wwwroot/channel_show.ui diff --git a/wwwroot/newest/index.ui b/wwwroot/newest/index.ui index 48ff210..e840b0f 100644 --- a/wwwroot/newest/index.ui +++ b/wwwroot/newest/index.ui @@ -12,7 +12,7 @@ "record_view":{ "widgettype": "urlwidget", "options":{ - "url": "{{entire_url('channel_show.ui')}}", + "url": "{{entire_url('/channel_show.ui')}}", "params": { "id": "${id}" } diff --git a/wwwroot/searchchannels/dc_channels.ui b/wwwroot/searchchannels/dc_channels.ui index a0ab693..ef7551b 100644 --- a/wwwroot/searchchannels/dc_channels.ui +++ b/wwwroot/searchchannels/dc_channels.ui @@ -10,51 +10,13 @@ "data_method":"POST", "col_cwidth":22, "record_view":{ - "widgettype":"HBox", + "widgettype":"urlwidget", "options":{ - "cwidth":22, - "cheight":5 - }, - "subwidgets":[ - { - "widgettype":"Image", - "options":{ - "cwidth":1.5, - "cheight":1.5, - "url":"${logo_url}", - "default_url":"/imgs/tv.png" - } - }, - { - "widgettype":"Title6", - "options":{ - "text":"${tv_name}", - "halign":"left" - } + "url":"{{entire_url('/channel_show.ui')}}", + "params":{ + "id": "${id}" } - ], - "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" - } - } - ] + } } } }