From 21d72c4a80fe2937d0c4ddd20624b27adbcd989b Mon Sep 17 00:00:00 2001 From: lizi00164331 Date: Mon, 7 Aug 2017 11:39:39 +0800 Subject: Upload the ESR GUI seed code Issue-ID: AAI-68 Change-Id: Ia50ce0570c2fabecd77199d4e8454f56fe587c4e Signed-off-by: lizi00164331 --- .../usageguide/appserver/data/accordionData.json | 24 +++++ .../usageguide/appserver/data/buttonsData.json | 30 ++++++ .../usageguide/appserver/data/checkboxData.json | 8 ++ .../usageguide/appserver/data/dropdownData.json | 18 ++++ .../usageguide/appserver/data/functionalData.json | 6 ++ .../webapp/usageguide/appserver/data/input.json | 1 + .../webapp/usageguide/appserver/data/list.json | 76 ++++++++++++++ .../appserver/data/notificationData.json | 42 ++++++++ .../usageguide/appserver/data/provinceData.json | 1 + .../usageguide/appserver/data/radioData.json | 14 +++ .../usageguide/appserver/data/shortNote.json | 17 ++++ .../webapp/usageguide/appserver/data/tabData.json | 21 ++++ .../usageguide/appserver/data/tableData.json | 71 +++++++++++++ .../webapp/usageguide/appserver/data/textArea.json | 111 +++++++++++++++++++++ .../webapp/usageguide/appserver/data/treeData.json | 43 ++++++++ .../webapp/usageguide/appserver/data/vtabData.json | 21 ++++ 16 files changed, 504 insertions(+) create mode 100644 common/src/main/webapp/usageguide/appserver/data/accordionData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/buttonsData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/checkboxData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/dropdownData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/functionalData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/input.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/list.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/notificationData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/provinceData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/radioData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/shortNote.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/tabData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/tableData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/textArea.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/treeData.json create mode 100644 common/src/main/webapp/usageguide/appserver/data/vtabData.json (limited to 'common/src/main/webapp/usageguide/appserver/data') diff --git a/common/src/main/webapp/usageguide/appserver/data/accordionData.json b/common/src/main/webapp/usageguide/appserver/data/accordionData.json new file mode 100644 index 0000000..367cf5f --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/accordionData.json @@ -0,0 +1,24 @@ +{ + "accordion_data": { + "items": [ + { + "tabId": "tab1", + "header": "Tab1", + "isActive": true, + "msg": "This is in Collapsible Group 1 and this attribute makes sure that all collapsible elements under the specified parent will be closed when one of the collapsible item is shown." + }, + { + "tabId": "tab2", + "header": "Tab2", + "isActive": false, + "msg": "This is in Collapsible Group 2 and this attribute makes sure that all collapsible elements under the specified parent will be closed when one of the collapsible item is shown." + }, + { + "tabId": "tab3", + "header": "Tab3", + "isActive": false, + "msg": "This is in Collapsible Group 3 and this attribute makes sure that all collapsible elements under the specified parent will be closed when one of the collapsible item is shown." + } + ] + } +} diff --git a/common/src/main/webapp/usageguide/appserver/data/buttonsData.json b/common/src/main/webapp/usageguide/appserver/data/buttonsData.json new file mode 100644 index 0000000..0176461 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/buttonsData.json @@ -0,0 +1,30 @@ +{ + "default_btn_data" : { + "def_button" : {"title":"Default"}, + "def_print_button" : {"title":"Print", "type":"btn btn-default", "gType": "glyphicon-print", "iconPosition":"left"}, + "def_print_button_right" : {"title":"Search", "type":"btn btn-default", "gType": "glyphicon-search", "iconPosition":"right"} + }, + + "visual_btn_data" : { + "vis_pri_btn_data" : {"title":"Primary", "type":"primary"}, + "vis_sec_btn_data" : {"title":"Secondary", "type":"secondary"}, + "vis_succ_btn_data" : {"title":"Success", "type":"success"}, + "vis_inf_btn_data" : {"title":"Info", "type":"info"}, + "vis_warn_btn_data" : {"title":"Warning", "type":"warning"}, + "vis_dang_btn_data" : {"title":"Danger", "type":"danger"}, + "vis_link_btn_data" : {"title":"Link", "type":"link"} + }, + + "diffSize_btn_data" : { + "size_small_btn_data" : {"title": "Small Button", "type": "primary", "size": "btn-sm"}, + "size_large_btn_data" : {"title": "Large Button", "type": "primary", "size": "btn-lg"}, + "size_block_btn_data" : {"title": "Large Block Button", "type": "primary", "size": "btn-lg btn-block"} + }, + + "icon_btn_data" : { + "search_icon_btn_data" : {"title": "Search Icon", "type": "btn-default", "gType": "glyphicon-search"}, + "search_icon_styled_btn_data" : {"title": "Styled Search Icon", "type": "primary", "gType": "glyphicon-search"}, + "print_icon_btn_data" : {"title": "Print", "type": "primary btn-lg", "gType": "glyphicon-print"} + } + +} diff --git a/common/src/main/webapp/usageguide/appserver/data/checkboxData.json b/common/src/main/webapp/usageguide/appserver/data/checkboxData.json new file mode 100644 index 0000000..cf8e78c --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/checkboxData.json @@ -0,0 +1,8 @@ +{ + "checkbox_default_data" : {"id":1, "label":"Default check box", "type":"default", "checked":true}, + "checkbox_primary_data" : {"id":2, "label":"Primary check box", "type":"primary", "checked":false}, + "checkbox_success_data" : {"id":3, "label":"Success check box", "type":"success", "checked":true}, + "checkbox_danger_data" : {"id":4, "label":"Error check box", "type":"danger", "checked":true}, + "checkbox_warn_data" : {"id":5, "label":"Warn check box", "type":"warning", "checked":false}, + "checkbox_info_data" : {"id":6, "label":"Info check box", "type":"info", "checked":true} +} \ No newline at end of file diff --git a/common/src/main/webapp/usageguide/appserver/data/dropdownData.json b/common/src/main/webapp/usageguide/appserver/data/dropdownData.json new file mode 100644 index 0000000..43235d5 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/dropdownData.json @@ -0,0 +1,18 @@ +{ + "dropped_down_data" :{"title":"DropDown","position":"down", "items":[{"itemLabel": "Node JS"},{"itemLabel": "JS"}]}, + "dropped_up_data" : {"title":"DropUp","position":"up", "items":[{"itemLabel": "PHP"},{"itemLabel": "ASP"}]}, + "dropHeader_data" :{"title":"DropHeader","position":"down", + "items":[{"itemLabel": "Web UI", "isheader":true}, + {"itemLabel": "HTML", "isheader":false}, + {"itemLabel": "CSS", "isheader":false}, + {"itemLabel": "JS", "isheader":false}, + {"itemLabel": "Programming", "isheader":true}, + {"itemLabel": "C", "isheader":false}, + {"itemLabel": "C++", "isheader":false}] + }, + "dropSimple_data" : {"title":"--Please Select--", + "items":[ + {"itemLabel": "Cameras"},{"itemLabel": "Mobile Phones"},{"itemLabel": "Computers"},{"itemLabel": "Monitors"},{"itemLabel": "Tablets"},{"itemLabel": "Others"} + ] + } +} \ No newline at end of file diff --git a/common/src/main/webapp/usageguide/appserver/data/functionalData.json b/common/src/main/webapp/usageguide/appserver/data/functionalData.json new file mode 100644 index 0000000..35b66f4 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/functionalData.json @@ -0,0 +1,6 @@ +{ + "create_data" : {"title":"Create", "labels":[{"text": "Username", "input_id":"username", "type":"text"},{"text": "Password", "input_id":"username", "type":"password"}], "showClose":"true","closeBtnTxt":"Cancel","msg":"This is Create dialog box", "buttons":[{"text": "Ok"}]}, + "modify_data" : {"title":"Modify", "labels":[{"text": "Username", "input_id":"username", "type":"text"},{"text": "Password", "input_id":"username", "type":"password"}], "showClose":"true","closeBtnTxt":"Cancel","msg":"This is Modify dialog box", "buttons":[{"text": "Ok"}]}, + "delete_data" : {"title":"Delete", "showClose":"true","closeBtnTxt":"Cancel","msg":"This is Delete dialog box", "buttons":[{"text": "Ok"}]}, + "workflow_data" : {"title":"Workflow","showClose":"true","closeBtnTxt":"Cancel","msg":"This is Workflow dialog box", "buttons":[{"text": "Ok"}]} +} diff --git a/common/src/main/webapp/usageguide/appserver/data/input.json b/common/src/main/webapp/usageguide/appserver/data/input.json new file mode 100644 index 0000000..7126e78 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/input.json @@ -0,0 +1 @@ +[{"name":"shahid","pswd":"shahid","email":"shahid@gmail.com"},{"name":"noor","pswd":"noor","email":"noor@lnt.com"}] \ No newline at end of file diff --git a/common/src/main/webapp/usageguide/appserver/data/list.json b/common/src/main/webapp/usageguide/appserver/data/list.json new file mode 100644 index 0000000..505bbcc --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/list.json @@ -0,0 +1,76 @@ +[ + { + "id": "113", + "title": "Movies", + "subMenu": [ + { + "title":"Sci-fi", + "subsubMenu":[ + {"title":"Intersteller"}, + {"title":"Inception"}, + {"title":"The Arrival"}, + {"title":"The Paycheck"} + ] + }, + { + "title":"Animation", + "subsubMenu":[ + {"title":"Big Hero"}, + {"title":"Monster University"}, + {"title":"Frozen"}, + {"title":"Car"} + ] + }, + { + "title":"Action", + "subsubMenu":[ + {"title":"Mission Impossible"}, + {"title":"The Expendables"} + ] + }, + { + "title":"Horror", + "subsubMenu":[ + {"title":"Evil Dead"}, + {"title":"Anebelle"} + ] + }, + { + "title":"Comedy", + "subsubMenu":[ + {"title":"Superbad"}, + {"title":"Airplane"}, + {"title":"Clueless"} + ] + } + ] + }, + { + "id": "211", + "title": "Games", + "subMenu": [{"title":"Outdoor Games", "subsubMenu":[{"title":"Cricket"},{"title":"Football"}, {"title":"Volleyball"}, {"title":"Hockey"}]}, {"title":"Indoor Games", "subsubMenu":[{"title":"Carroms"},{"title":"Table Tennis"}]}, {"title":"Puzzles", "subsubMenu":[{"title":"Sudoku"},{"title":"Chess"}]}, {"title":"Card Games", "subsubMenu":[{"title":"UNO"},{"title":"RUMMY"}]}] + }, + { + "id": "037", + "title": "Animals", + "subMenu": [{"title":"Mammals", "subsubMenu":[{"title":"Monkey"},{"title":"Elephant"}]}, {"title":"Birds", "subsubMenu":[{"title":"Parrot"},{"title":"Ostrich"},{"title":"Eagle"}]}, {"title":"Reptiles", "subsubMenu":[{"title":"Snake"},{"title":"Lizard"},{"title":"Cameleon"}]}] + }, + { + "id": "127", + "title": "Vehicles", + "subMenu": [{"title":"Cars", "subsubMenu":[{"title":"Audi"},{"title":"Range Rover"}]}, {"title":"Bikes", "subsubMenu":[{"title":"Apache"},{"title":"Pulsar"},{"title":"FZ"},{"title":"Jupiter"},{"title":"Victor"},{"title":"Avengers"}]}, {"title":"Cycles", "subsubMenu":[{"title":"Hero"},{"title":"Lady Bird"},{"title":"Firefox"}]}] + }, + { + "id": "181", + "title": "Languages", + "subMenu": [{"title":"English"}, {"title":"French"}, {"title":"Chinese"}, {"title":"Hindi"}] + }, + { + "id": "210", + "title": "Continents", + "subMenu": [{"title":"Asia", "subsubMenu":[{"title":"India"},{"title":"China"}]}, {"title":"Africa", "subsubMenu":[{"title":"South Africa"},{"title":"Kenya"},{"title":"Zimbabwe"}]}] + } +] + + + diff --git a/common/src/main/webapp/usageguide/appserver/data/notificationData.json b/common/src/main/webapp/usageguide/appserver/data/notificationData.json new file mode 100644 index 0000000..a532151 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/notificationData.json @@ -0,0 +1,42 @@ +{ + "err_data" : { + "title": "Error", + "showClose": "true", + "closeBtnTxt": "Ok", + "icon": "glyphicon glyphicon-exclamation-sign", + "iconColor": "icon_error", + "msg": "<>", + "buttons": [] + }, + "warn_data" : { + "title": "Warning", + "showClose": "true", + "closeBtnTxt": "Ok", + "icon": "glyphicon glyphicon-warning-sign", + "iconColor": "icon_warning", + "msg": "<>", + "buttons": [] + }, + "info_data" : { + "title": "Information", + "showClose": "true", + "closeBtnTxt": "Ok", + "icon": "glyphicon glyphicon-info-sign", + "iconColor": "icon_info", + "msg": "<>", + "buttons": [] + }, + "confirm_data" : { + "title": "Confirmation", + "showClose": "true", + "closeBtnTxt": "Cancel", + "icon": "glyphicon glyphicon-info-sign", + "iconColor": "con_confirm", + "msg": "<>", + "buttons": [ + { + "text": "Ok" + } + ] + } +} diff --git a/common/src/main/webapp/usageguide/appserver/data/provinceData.json b/common/src/main/webapp/usageguide/appserver/data/provinceData.json new file mode 100644 index 0000000..8fed9ec --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/provinceData.json @@ -0,0 +1 @@ +[{"id":7560,"province_name":"Data 1","ip":"1.2.3.4","port":1234},{"id":7561,"province_name":"Data 2","ip":"1.2.3.4","port":1234},{"id":7562,"province_name":"Data 3","ip":"1.2.3.4","port":1234}] \ No newline at end of file diff --git a/common/src/main/webapp/usageguide/appserver/data/radioData.json b/common/src/main/webapp/usageguide/appserver/data/radioData.json new file mode 100644 index 0000000..aab9436 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/radioData.json @@ -0,0 +1,14 @@ +{ + "radio_btn_default_data" : {"id":1, "label":"Default Radio Btn", "type":"default", "checked":false}, + "radio_btn_primary_data" : {"id":2, "label":"Primary Radio Btn", "type":"primary", "checked":false}, + "radio_btn_success_data" : {"id":3, "label":"Success Radio Btn", "type":"success", "checked":true}, + "radio_btn_danger_data" : {"id":4, "label":"Error Radio Btn", "type":"danger", "checked":false}, + "radio_btn_Warn_data" : {"id":5, "label":"Warn Radio Btn", "type":"warning", "checked":false}, + "radio_btn_info_data" : {"id":6, "label":"Info Radio Btn", "type":"info", "checked":false} +} + + + + + + diff --git a/common/src/main/webapp/usageguide/appserver/data/shortNote.json b/common/src/main/webapp/usageguide/appserver/data/shortNote.json new file mode 100644 index 0000000..6c182b4 --- /dev/null +++ b/common/src/main/webapp/usageguide/appserver/data/shortNote.json @@ -0,0 +1,17 @@ +{ + "treeTip":"Ztree", + "accordionTip":"Use the data-parent attribute to make sure that all collapsible elements under the specified parent will be closed when one of the collapsible item is shown.", + "tabTip":"Tabs are created with