diff --git a/wwwroot/index.ui b/wwwroot/index.ui new file mode 100644 index 0000000..51d8a42 --- /dev/null +++ b/wwwroot/index.ui @@ -0,0 +1,45 @@ +{ + "widgettype":"VBox", + "options":{ + "width":"100%", + "height":"100%" + }, + "subwidgets":[ + { + "widgettype":"HBox", + "options":{ + "cheight":2 + }, + "subwidgets":[ + { + "widgettye":"Svg", + "options":{ + "url":"{{entire_url('imgs/download-file.svg')}}" + }, + "binds":[ + { + "wid":"self", + "event":"click", + "actiontype":"urlwdiget", + "target":"PopupWindow", + "popup_options":{ + "width":"60%", + "height":"70%", + "icon":"{{entire_url('imgs/download-file.svg')}}", + "title":"File download" + }, + "options":{ + "url":"{{entire_url('add_new_download.ui')}}" + } + } + ] + } + ] + }, + { + "widgettype":"urlwidget", + "options":{ + "url":"{{entire_url('list_downloading.ui')}}" + } + } +}