diff --git a/dist/examples/accordion.ui b/dist/examples/accordion.ui deleted file mode 100644 index 12e6b74..0000000 --- a/dist/examples/accordion.ui +++ /dev/null @@ -1,33 +0,0 @@ - -{ - "widgettype":"Accordion", - "options":{ - "item_size":'28px', - "items":[ - { - "name":"test1", - "icon":"/imgs/t.png", - "text":"accordion 1 test", - "content":{ - "widgettype":"Text", - "options":{ - "text":"text content 1", - "i81n":true - } - } - }, - { - "name":"test2", - "icon":"/imgs/t.png", - "text":"accordion 2 test", - "content":{ - "widgettype":"Text", - "options":{ - "text":"text content 2", - "i81n":true - } - } - } - ] - } -} diff --git a/dist/examples/add_widget.ui b/dist/examples/add_widget.ui deleted file mode 100644 index 5faf982..0000000 --- a/dist/examples/add_widget.ui +++ /dev/null @@ -1,67 +0,0 @@ -{ - "widgettype":"VBox", - "options":{ - "width":"100%", - "height":"100%" - }, - "subwidgets":[ - { - "widgettype":"HBox", - "options":{ - "height":"40px" - }, - "subwidgets":[ - { - "id":"insert", - "widgettype":"Button", - "options":{ - "width":"80px", - "i18n":true, - "label":"insert" - } - }, - { - "id":"append", - "widgettype":"Button", - "options":{ - "width":"80px", - "i18n":true, - "label":"append" - } - } - ] - }, - { - "id":"main", - "widgettype":"Filler" - } - ], - "binds":[ - { - "wid":"insert", - "event":"click", - "actiontype":"urlwidget", - "target":"main", - "options":{ - "url":"{{entire_url('subtext.ui')}}", - "params":{ - "text":"Insert before" - } - }, - "mode":"insert" - }, - { - "wid":"append", - "event":"click", - "actiontype":"urlwidget", - "target":"main", - "options":{ - "url":"{{entire_url('subtext.ui')}}", - "params":{ - "text":"Append After" - } - }, - "mode":"append" - } - ] -} diff --git a/dist/examples/audio.ui b/dist/examples/audio.ui deleted file mode 100644 index ae37486..0000000 --- a/dist/examples/audio.ui +++ /dev/null @@ -1,9 +0,0 @@ - -{ - "id":"audioplayer", - "widgettype":"AudioPlayer", - "options":{ - "autoplay":true, - "url":"http://kimird.com/songs/sample-mp3-file.mp3" - } -} diff --git a/dist/examples/button.ui b/dist/examples/button.ui deleted file mode 100644 index 5923b10..0000000 --- a/dist/examples/button.ui +++ /dev/null @@ -1,40 +0,0 @@ - -{ - "widgettype":"HBox", - "options":{ - "height":"auto", - "width":"100%" - }, - "subwidgets":[ - { - "widgettype":"Button", - "options":{ - "name":"test", - "icon":"/bricks/imgs/submit.png", - "label":"test once", - "tooltip":"This is a joke too", - "nonepack":true, - "orientation":"horizontal" - } - }, - { - "widgettype":"Button", - "options":{ - "name":"test", - "icon":"/bricks/imgs/reset.png", - "tooltip":"This is a joke", - "label":"test twice", - "nonepack":true, - "orientation":"horizontal" - } - } - ], - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "script":"alert('HBox clicked');" - } - ] -} diff --git a/dist/examples/channels.ui b/dist/examples/channels.ui deleted file mode 100644 index db1ace4..0000000 --- a/dist/examples/channels.ui +++ /dev/null @@ -1,64 +0,0 @@ -{ - "widgettype":"DynamicAccordion", - "options":{ - "data_url":"{{entire_url('./channels.dspy')}}", - "content_url":"{{entire_url('play_channel.dspy')}}", - "content_view":{ - "widgettype":"VBox", - "options":{ - "overflow":"auto", - "width":"90%", - "height":"500px" - }, - "subwidgets":[ - { - "id":"toolbar", - "widgettype":"Toolbar", - "options":{ - "orientation":"horizontal", - "tool_margin":"15px", - "tools":[ - { - "name":"blocked", - "label":"Blocked it" - } - ] - } - }, - { - "id":"videoplayer", - "widgettype":"Video", - "options":{ - "type":"application/x-mpegURL", - "url":"${url}" - } - } - ] - }, - - "record_view":{ - "widgettype":"HBox", - "options":{ - "height":"100%", - "width":"100%" - }, - "subwidgets":[ - { - "widgettype":"Icon", - "options":{ - "rate":2, - "url":"${logo_url}" - } - }, - { - "widgettype":"Text", - "options":{ - "text":"${title}" - } - } - ] - }, - "page_rows":800, - "cache_limit":5 - } -} diff --git a/dist/examples/datagrid.ui b/dist/examples/datagrid.ui deleted file mode 100644 index c60417f..0000000 --- a/dist/examples/datagrid.ui +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "widgettype":"urlwidget", - "options":{ - "url":"users.bcrud" - } -} diff --git a/dist/examples/docs.ui b/dist/examples/docs.ui deleted file mode 100644 index 4780b59..0000000 --- a/dist/examples/docs.ui +++ /dev/null @@ -1,10 +0,0 @@ - -{ - "widgettype":"MarkdownViewer", - "options":{ - "width":"100%", - "height":"100%", - "navigator":true, - "md_url":"../docs/README.md" - } -} diff --git a/dist/examples/dynamicaccordion.ui b/dist/examples/dynamicaccordion.ui deleted file mode 100644 index 3eb4ca6..0000000 --- a/dist/examples/dynamicaccordion.ui +++ /dev/null @@ -1,40 +0,0 @@ -{ - "widgettype":"DynamicAccordion", - "options":{ - "data_url":"{{entire_url('./channels.dspy')}}", - "content_url":"{{entire_url('play_channel.dspy')}}", - "content_view":{ - "id":"videoplayer", - "widgettype":"Iframe", - "options":{ - "width":"100%", - "url":"${url}" - } - }, - - "record_view":{ - "widgettype":"HBox", - "options":{ - "height":"100%", - "width":"100%" - }, - "subwidgets":[ - { - "widgettype":"Icon", - "options":{ - "rate":2, - "url":"${logo_url}" - } - }, - { - "widgettype":"Text", - "options":{ - "text":"${title}" - } - } - ] - }, - "page_rows":800, - "cache_limit":5 - } -} diff --git a/dist/examples/editabletree.ui b/dist/examples/editabletree.ui deleted file mode 100644 index cc19f0b..0000000 --- a/dist/examples/editabletree.ui +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "widgettype":"urlwidget", - "options":{ - "url":"editabletree.json" - } -} diff --git a/dist/examples/error.ui b/dist/examples/error.ui deleted file mode 100644 index cebeeeb..0000000 --- a/dist/examples/error.ui +++ /dev/null @@ -1,83 +0,0 @@ - -{ - "widgettype":"Tree", - "options":{ - "idField":"id", - "textField":"text", - "data":[ - { - "id":1, - "text":"node1", - "is_leaf":false, - "children":[ - { - "id":11, - "text":"node11", - "is_leaf":false, - "children":[ - { - "id":112, - "text":"node.12", - "is_leaf":false, - "children":[ - { - "id":1112, - "text":"node1112", - "is_leaf":true - }, - { - "id":1113, - "text":"node113", - "is_leaf":true - } - ] - }, - { - "id":113, - "text":"node113", - "is_leaf":true - } - ] - }, - { - "id":12, - "text":"node12", - "is_leaf":true - }, - { - "id":13, - "text":"node13", - "is_leaf":true - } - ] - }, - { - "id":2, - "text":"node2", - "is_leaf":false, - "children":[ - { - "id":21, - "text":"node21", - "is_leaf":true - }, - { - "id":22, - "text":"node22", - "is_leaf":true - }, - { - "id":23, - "text":"node23", - "is_leaf":true - } - ] - }, - { - "id":3, - "text":"node3", - "is_leaf":true - } - ] - } -} diff --git a/dist/examples/fileupload.ui b/dist/examples/fileupload.ui deleted file mode 100644 index 7e316cf..0000000 --- a/dist/examples/fileupload.ui +++ /dev/null @@ -1,32 +0,0 @@ - -{ - "widgettype":"VBox", - "options":{ - }, - "subwidgets":[ - { - "id":"file1", - "widgettype":"UtFile", - "options":{ - "name":"file1", - "label":"File 1" - } - }, - { - "widgettype":"Text", - "options":{ - "text":"upload" - }, - } - ], - - "binds":[ - { - "wid":"self", - "event":"clcik", - "action":{ - "rfname":"do_upload" - } - } - ] -} diff --git a/dist/examples/floaticonbar.ui b/dist/examples/floaticonbar.ui deleted file mode 100644 index 50162de..0000000 --- a/dist/examples/floaticonbar.ui +++ /dev/null @@ -1,18 +0,0 @@ -{ - "widgettype":"FloatIconBar", - "options":{ - "tools":[ - { - "icon":"{{entire_url('../imgs/add.png')}}", - "name":"add", - "rate":1.5, - "tip":"add a record" - }, - { - "icon":"{{entire_url('../imgs/delete.png')}}", - "name":"delete", - "tip":"delete a record" - }], - } -} - diff --git a/dist/examples/floaticontextbar.ui b/dist/examples/floaticontextbar.ui deleted file mode 100644 index 0adc782..0000000 --- a/dist/examples/floaticontextbar.ui +++ /dev/null @@ -1,19 +0,0 @@ -{ - "widgettype":"FloatIconTextBar", - "options":{ - "tools":[ - { - "name":"add", - "icon":"{{entire_url('../imgs/add.png')}}", - "label":"add", - "tip":"add a record" - }, - { - "icon":"{{entire_url('../imgs/delete.png')}}", - "name":"delete", - "label":"delete", - "tip":"delete a record" - }], - } -} - diff --git a/dist/examples/footer.ui b/dist/examples/footer.ui deleted file mode 100644 index 968376e..0000000 --- a/dist/examples/footer.ui +++ /dev/null @@ -1,6 +0,0 @@ -{ - "widgettype":"Text", - "options":{ - "text":"Bricks module, make front end coding easier" - } -} diff --git a/dist/examples/form.ui b/dist/examples/form.ui deleted file mode 100644 index cc3ab73..0000000 --- a/dist/examples/form.ui +++ /dev/null @@ -1,157 +0,0 @@ - -{ - "widgettype":"VBox", - "options":{"height":"100%", "width":"100%"}, - "subwidgets":[ - { - "widgettype":"HBox", - "options":{"height":"auto"}, - "subwidgets":[ - { - "widgettype":"Text", - "options":{ - "otext":"Please change Font size", - "i18n":true - } - }, - { - "widgettype":"Button", - "options":{ - "label":"A", - "width":"auto", - "item_rate":1.4 - }, - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "target":"app", - "script":"bricks.app.textsize_bigger()" - } - ] - }, - { - "widgettype":"Button", - "options":{ - "label":"A", - "width":"auto", - "item_rate":0.8 - }, - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "target":"app", - "script":"bricks.app.textsize_smaller()" - } - ] - } - ] - }, - { - "widgettype":"Filler", - "options":{"overflow":"auto"}, - "subwidgets":[ - { - "widgettype":"Form", - "options":{ - "submit_url":"/ttt/ttt.dspy", - "title":"Test hahah Form", - "description":"test input implemented", - "fields":[ - { - "uitype":"email", - "name":"email", - "label":"Email", - 'required':true - }, - { - "uitype":"tel", - "name":"tel", - "pattern":"{\d}3-{\d}4-{\d}4", - "label":"Tel", - 'required':true - }, - { - "uitype":"file", - "name":"file", - "label":"File", - 'required':true - }, - { - "uitype":"str", - "minlength":3, - "length":30, - "value":"tlegre", - "name":"name", - "label":"Name", - 'required':true - }, - { - "uitype":"int", - "minlength":3, - "length":30, - "value":12432, - "name":"integer", - "label":"Integer", - 'required':true - }, - { - "uitype":"float", - "dec_length":3, - "length":25, - "name":"float", - "label":"Float" - }, - { - "uitype":"date", - "name":"date", - "label":"Date", - 'required':true - }, - { - "uitype":"password", - "minlength":3, - "length":30, - "name":"password", - "label":"Password", - 'required':true - }, - { - "uitype":"checkbox", - "name":"checkbox", - "label":"CheckBox", - "value":2, - "dataurl":"test_code.json", - 'required':true - }, - { - "uitype":"audio", - "name":"audio", - "label":"Audio", - 'required':true - }, - { - "uitype":"code", - "name":"code", - "label":"Code", - "value":2, - "dataurl":"test_code.json", - 'required':true - }, - { - "uitype":"text", - "name":"text", - "value":"This is a test", - "label":"Text", - 'required':true - } - ] - } - } - ] - } - ] -} diff --git a/dist/examples/hbox.ui b/dist/examples/hbox.ui deleted file mode 100644 index de1835f..0000000 --- a/dist/examples/hbox.ui +++ /dev/null @@ -1,50 +0,0 @@ - -{ - "widgettype":"HBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Title1", - "options":{ - "text":"Pic Viewer", - "i18n":true - }, - "binds":[ - { - "wid":"self", - "target":"self", - "event":"click", - "actiontype":"script", - "script":"alert('hahahahahah');" - } - ] - }, - { - "widgettype":"urlwidget", - "options":{ - "url":"/bricks/image.tmpl", - "i18n":true - } - }, - { - "id":"mymodal", - "widgettype":"Modal", - "options":{ - "auto_close":true, - "auto_open":false, - "width":"700px", - "height":"400px", - "archor":"cl", - }, - "subwidgets":[ - { - "widgettype":"Text", - "options":{ - "text":"This is a test" - } - } - ] - } - ] -} diff --git a/dist/examples/iconbar.ui b/dist/examples/iconbar.ui deleted file mode 100644 index 977a57e..0000000 --- a/dist/examples/iconbar.ui +++ /dev/null @@ -1,20 +0,0 @@ -{ - "widgettype":"IconBar", - "options":{ - "tools":[ - { - "icon":"{{entire_url('../imgs/add.png')}}", - "name":"add", - "rate":1.5, - "label":"add", - "tip":"add a record" - }, - { - "icon":"{{entire_url('../imgs/delete.png')}}", - "name":"delete", - "label":"delete", - "tip":"delete a record" - }], - } -} - diff --git a/dist/examples/icontextbar.ui b/dist/examples/icontextbar.ui deleted file mode 100644 index f4754c9..0000000 --- a/dist/examples/icontextbar.ui +++ /dev/null @@ -1,20 +0,0 @@ -{ - "widgettype":"IconTextBar", - "options":{ - "tools":[ - { - "icon":"{{entire_url('../imgs/add.png')}}", - "name":"add", - "rate":1.5, - "label":"add", - "tip":"add a record" - }, - { - "icon":"{{entire_url('../imgs/delete.png')}}", - "name":"delete", - "label":"delete", - "tip":"delete a record" - }], - } -} - diff --git a/dist/examples/iframe.ui b/dist/examples/iframe.ui deleted file mode 100644 index 7ec0576..0000000 --- a/dist/examples/iframe.ui +++ /dev/null @@ -1,8 +0,0 @@ -{ - "id":"videoplayer", - "widgettype":"Iframe", - "options":{ - "width":"100%", - "url":"{{params_kw.url}}" - } -} diff --git a/dist/examples/image.ui b/dist/examples/image.ui deleted file mode 100644 index 2ef10de..0000000 --- a/dist/examples/image.ui +++ /dev/null @@ -1,9 +0,0 @@ - -{ - "widgettype":"Image", - "options":{ - "url":"https://cdn.pixabay.com/photo/2018/04/26/16/31/marine-3352341_960_720.jpg", - "height":"100%", - "width":"100%" - } -} diff --git a/dist/examples/m3u8.ui b/dist/examples/m3u8.ui deleted file mode 100644 index 7bb61cd..0000000 --- a/dist/examples/m3u8.ui +++ /dev/null @@ -1,10 +0,0 @@ - -{ - "id":"videoplayer", - "widgettype":"VideoPlayer", - "options":{ - "autoplay":true, - "url":"{{params_kw.get('url')}}", - "type":"hls" - } -} diff --git a/dist/examples/markdown.ui b/dist/examples/markdown.ui deleted file mode 100644 index 68e6439..0000000 --- a/dist/examples/markdown.ui +++ /dev/null @@ -1,21 +0,0 @@ - -{ - "widgettype":"VBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Title1", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"MarkdownViewer", - "options":{ - "md_url":"test1.md" - } - } - ] -} diff --git a/dist/examples/message.ui b/dist/examples/message.ui deleted file mode 100644 index cebeeeb..0000000 --- a/dist/examples/message.ui +++ /dev/null @@ -1,83 +0,0 @@ - -{ - "widgettype":"Tree", - "options":{ - "idField":"id", - "textField":"text", - "data":[ - { - "id":1, - "text":"node1", - "is_leaf":false, - "children":[ - { - "id":11, - "text":"node11", - "is_leaf":false, - "children":[ - { - "id":112, - "text":"node.12", - "is_leaf":false, - "children":[ - { - "id":1112, - "text":"node1112", - "is_leaf":true - }, - { - "id":1113, - "text":"node113", - "is_leaf":true - } - ] - }, - { - "id":113, - "text":"node113", - "is_leaf":true - } - ] - }, - { - "id":12, - "text":"node12", - "is_leaf":true - }, - { - "id":13, - "text":"node13", - "is_leaf":true - } - ] - }, - { - "id":2, - "text":"node2", - "is_leaf":false, - "children":[ - { - "id":21, - "text":"node21", - "is_leaf":true - }, - { - "id":22, - "text":"node22", - "is_leaf":true - }, - { - "id":23, - "text":"node23", - "is_leaf":true - } - ] - }, - { - "id":3, - "text":"node3", - "is_leaf":true - } - ] - } -} diff --git a/dist/examples/miniform.ui b/dist/examples/miniform.ui deleted file mode 100644 index 2414d43..0000000 --- a/dist/examples/miniform.ui +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "widgettype":"urlwidget", - "options":{ - "url":"miniform.json" - } -} diff --git a/dist/examples/model.ui b/dist/examples/model.ui deleted file mode 100644 index d1794df..0000000 --- a/dist/examples/model.ui +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "widgettype":"urlwidget", - "options":{ - "url":"modal.json" - } -} diff --git a/dist/examples/recorder.ui b/dist/examples/recorder.ui deleted file mode 100644 index d1c0614..0000000 --- a/dist/examples/recorder.ui +++ /dev/null @@ -1,17 +0,0 @@ -{ - "id":"recorder", - "widgettype":"AudioRecorder", - "options":{ - "height":"40px", - "upload_url":"{{entire_url('stt.dspy')}}", - "start_icon":"/bricks/imgs/start_recording.png" - }, - "binds":[ - { - "wid":"self", - "event":"uploaded", - "actiontype":"script", - "script":"alert('kwargs', kwargs, args)" - } - ] -} diff --git a/dist/examples/scroll.ui b/dist/examples/scroll.ui deleted file mode 100644 index cfef7ad..0000000 --- a/dist/examples/scroll.ui +++ /dev/null @@ -1,27 +0,0 @@ -{ - "widgettype":"VBox", - "options":{ - "width":"100%", - "height":"100%" - }, - "subwidgets":[ - { - "widgettype":"Title3", - "options":{ - "text":"Scroll Widget" - } - }, - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('scroll.json')}}" - } - }, - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('footer.ui')}}" - } - } - ] -} diff --git a/dist/examples/subtext.ui b/dist/examples/subtext.ui deleted file mode 100644 index 527c266..0000000 --- a/dist/examples/subtext.ui +++ /dev/null @@ -1,6 +0,0 @@ -{ - "widgettype":"Text", - "options":{ - "text":"{{params_kw.get('text') or 'default text'}}" - } -} diff --git a/dist/examples/t.ui b/dist/examples/t.ui deleted file mode 100644 index c427f8d..0000000 --- a/dist/examples/t.ui +++ /dev/null @@ -1,33 +0,0 @@ -{ - "widgettype":"VBox", - "options":{ - "width":"100%" - }, - "subwidgets":[ - { - "widgettype":"Title3", - "options":{ - "height":"auto", - "text":"Header information" - } - }, - { - "widgettype":"Filler", - "options":{}, - "subwidgets":[ - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('channels.ui')}}" - } - } - ] - }, - { - "widgettype":"Text", - "options":{ - "text":"Footer information" - } - } - ] -} diff --git a/dist/examples/tab.ui b/dist/examples/tab.ui deleted file mode 100644 index 6ffedee..0000000 --- a/dist/examples/tab.ui +++ /dev/null @@ -1,59 +0,0 @@ - -{ - "widgettype":"TabPanel", - "options":{ - "tab_wide":"auto", - "height":"100%", - "width":"100%", - "tab_long":"70%", - "tab_pos":"top", - "items":[ - { - "name":"c", - "label":"C", - "content":{ - "widgettype":"Text", - "options":{ - "text":"This is a C language documents" - } - }, - "icon":null - - }, - { - "name":"javascript", - "removable":true, - "label":"JavaScript", - "content":{ - "widgettype":"Text", - "options":{ - "text":"This is JavaScript language documents" - } - }, - "icon":null - }, - { - "name":"php", - "label":"PHP", - "content":{ - "widgettype":"Text", - "options":{ - "text":"This is PHP language documents" - } - }, - "icon":null - }, - { - "name":"python", - "label":"Python", - "content":{ - "widgettype":"Text", - "options":{ - "text":"This is Python language documents" - } - }, - "icon":null - }, - ] - } -} diff --git a/dist/examples/table.ui b/dist/examples/table.ui deleted file mode 100644 index 236ebee..0000000 --- a/dist/examples/table.ui +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "widgettype":"urlwidget", - "options":{ - "url":"tables.json" - } -} diff --git a/dist/examples/text.ui b/dist/examples/text.ui deleted file mode 100644 index 21731b4..0000000 --- a/dist/examples/text.ui +++ /dev/null @@ -1,104 +0,0 @@ - -{ - "widgettype":"VBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Title1", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"Title2", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"Title3", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"Title4", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"Title5", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"Title6", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"Text", - "options":{ - "text":"Pic Viewer", - "dynsize":true, - "i18n":true - } - }, - { - "widgettype":"HBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Button", - "options":{ - "label":"A", - "item_rate":1.4 - }, - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "target":"app", - "script":"bricks.app.textsize_bigger()" - } - ] - }, - { - "widgettype":"Button", - "options":{ - "label":"A", - "item_rate":0.7, - "item_size":"20px" - }, - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "target":"app", - "script":"bricks.app.textsize_smaller()" - } - ] - } - ] - } - ] -} diff --git a/dist/examples/toolbar.ui b/dist/examples/toolbar.ui deleted file mode 100644 index 56b6996..0000000 --- a/dist/examples/toolbar.ui +++ /dev/null @@ -1,31 +0,0 @@ - -{ - "widgettype":"Toolbar", - "options":{ - "target":null, - "orientation":"horizontal", - "tool_margin":"15px", - "tools":[ - { - "name":"c", - "label":"C", - "icon":null - }, - { - "name":"javascript", - "label":"JavaScript", - "icon":null - }, - { - "name":"php", - "label":"PHP", - "icon":null - }, - { - "name":"python", - "label":"Python", - "icon":null - }, - ] - } -} diff --git a/dist/examples/tree.ui b/dist/examples/tree.ui deleted file mode 100644 index 54c6615..0000000 --- a/dist/examples/tree.ui +++ /dev/null @@ -1,7 +0,0 @@ - -{ - "widgettype":"urlwidget", - "options":{ - "url":"tree.json" - } -} diff --git a/dist/examples/tree_t.ui b/dist/examples/tree_t.ui deleted file mode 100644 index 024dc5c..0000000 --- a/dist/examples/tree_t.ui +++ /dev/null @@ -1,35 +0,0 @@ -{ - "widgettype":"VBox", - "options":{ - "height":"100%", - "width":"100%" - }, - "subwidgets":[ - { - "widgettype":"Title3", - "options":{ - "height":"auto", - "text":"This is a tree" - } - }, - { - "widgettype":"Filler", - "options":{}, - "subwidgets":[ - { - "widgettype":"urlwidget", - "options":{ - "url":"{{entire_url('tree.ui')}}" - } - } - ] - }, - { - "widgettype":"Text", - "options":{ - "height":"auto", - "text":"This is footer message" - } - } - ] -} diff --git a/dist/examples/vbox.ui b/dist/examples/vbox.ui deleted file mode 100644 index ba251b6..0000000 --- a/dist/examples/vbox.ui +++ /dev/null @@ -1,97 +0,0 @@ - -{ - "widgettype":"VBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Title1", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"Title2", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"Title3", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"Title4", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"Title5", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"Title6", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"Text", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"HBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Button", - "options":{ - "label":"A", - "item_rate":1.4 - }, - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "target":"app", - "script":"bricks_app.textsize_bigger()" - } - ] - }, - { - "widgettype":"Button", - "options":{ - "label":"A", - "item_rate":0.7, - "item_size":"20px" - }, - "binds":[ - { - "wid":"self", - "event":"click", - "actiontype":"script", - "target":"app", - "script":"bricks_app.textsize_smaller()" - } - ] - } - ] - } - ] -} diff --git a/dist/examples/vbox1.ui b/dist/examples/vbox1.ui deleted file mode 100644 index 3c67e98..0000000 --- a/dist/examples/vbox1.ui +++ /dev/null @@ -1,40 +0,0 @@ - -{ - "widgettype":"VBox", - "options":{ - }, - "subwidgets":[ - { - "widgettype":"Title1", - "options":{ - "text":"Pic Viewer", - "i18n":true - } - }, - { - "widgettype":"urlwidget", - "options":{ - "url":"/bricks/image.tmpl" - } - }, - { - "id":"mymodal", - "widgettype":"Modal", - "options":{ - "auto_close":true, - "auto_open":false, - "width":"700px", - "height":"400px", - "archor":"cl", - }, - "subwidgets":[ - { - "widgettype":"Text", - "options":{ - "text":"This is a test" - } - } - ] - } - ] -} diff --git a/dist/examples/video.ui b/dist/examples/video.ui deleted file mode 100644 index 7db1416..0000000 --- a/dist/examples/video.ui +++ /dev/null @@ -1,10 +0,0 @@ - -{ - "id":"videoplayer", - "widgettype":"Video", - "options":{ - "autoplay":true, - "url":"http://kimird.com/video/sample-mp4-file.mp4", - "type":"video/mp4" - } -}