From f23cacf2798ebb6d7330b0b48725d6ffcf6ed889 Mon Sep 17 00:00:00 2001 From: Dave Nichols Date: Fri, 1 Mar 2024 12:02:26 +0000 Subject: [PATCH] Created from https://github.com/linb/CrossUI_Assets --- App/js/index.js | 47 +++++++++++++++++++ README.md | 12 ++++- debug.html | 53 ++++++++++++++++++++++ index.html | 32 +++++++++++++ snapshot.png | Bin 0 -> 345 bytes xuiconf.js | 118 ++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 260 insertions(+), 2 deletions(-) create mode 100644 App/js/index.js create mode 100644 debug.html create mode 100644 index.html create mode 100644 snapshot.png create mode 100644 xuiconf.js diff --git a/App/js/index.js b/App/js/index.js new file mode 100644 index 0000000..509f0f2 --- /dev/null +++ b/App/js/index.js @@ -0,0 +1,47 @@ +// The default code is a module class (inherited from xui.Module) +// Ensure that all the value of "key/value pair" does not refer to external variables +xui.Class('App', 'xui.Module',{ + Instance:{ + // Dependency classes + Dependencies:[], + // Required modules + Required:[], + + // To initialize properties + properties : {}, + + // To initialize instance(e.g. properties) + initialize : function(){ + }, + + // To initialize internal components (mostly UI controls) + // *** If you're not a skilled, dont modify this function manually *** + iniComponents : function(){ + // [[Code created by CrossUI RAD Studio + var host=this, children=[], append=function(child){children.push(child.get(0));}; + + return children; + // ]]Code created by CrossUI RAD Studio + }, + + // Give a chance to determine which UI controls will be appended to parent container + customAppend : function(parent, subId, left, top){ + // "return false" will cause all the internal UI controls will be added to the parent panel + return false; + } + /*, + // To determine how properties affects this module + propSetAction : function(prop){ + }, + // To set all node's style in this modlue + customStyle:{} + }, + //To customize the default properties and event handlers + Static:{ + $DataModel:{ + }, + $EventHandlers:{ + } + */ + } +}); \ No newline at end of file diff --git a/README.md b/README.md index e2911e5..3b23781 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# CrossUI-MyCrossUI -This is a codeless programming project created by CrossUI GitHub +## CrossUI-MyCrossUI +Web app url : https://pd-giz-dave.github.io/CrossUI-MyCrossUI + +This project was created by CrossUI No-Code App Builder: https://crossui.com/RADGithub + +Based on template: https://linb.github.io/CrossUI_Assets/assets/projects/Simple/xui_project_tpl_Empty + +Click [here](https://crossui.com/RADGithub/#!from=github&owner=pd-giz-dave&repo=CrossUI-MyCrossUI) to edit this web app in CrossUI No-Code App Builder + +Powered by [CrossUI](https://crossui.com) diff --git a/debug.html b/debug.html new file mode 100644 index 0000000..040ba3d --- /dev/null +++ b/debug.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + Powered by CrossUI Front-End Builder + + +
+ Loading... +
+ + + + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..1533270 --- /dev/null +++ b/index.html @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + Powered by CrossUI Front-End Builder + + +
+ Loading... +
+ + + + + \ No newline at end of file diff --git a/snapshot.png b/snapshot.png new file mode 100644 index 0000000000000000000000000000000000000000..97defa75088d7c4594fe59603b0bc9a3020fee87 GIT binary patch literal 345 zcmeAS@N?(olHy`uVBq!ia0vp^6+j%o!3HER&ED7vq*&4&eH|GXHuiJ>Nn{1`ISV`@ ziy0XB_Jc5^1#7ShP*AMIHKHUqKdq!Zu_%?HATcwqL@zJ3M8QPQ(C7Wp|3DQtJzX3_ zD&pRrFcf59;Az?L%lxlt15=-(cV6@ngU5}M{AVf>jxig{&G>krhds?^s0bZ>$EeCH WCir#o;<-RiGI+ZBxvX "2017-10-21T12:53:43.522+0800" +// xui.setDateFormat('gmt'); + +}()); +// ]]Gobal Code + + +// [[Page Appearance +xui.ini.$PageAppearance = { +// "theme": "moonify", +// "background":{ +// "background-color": "#FFFFFF", +// "background-image": "", +// "background-repeat": "", +// "background-position": "", +// "background-attachment": "" +// } +}; +// ]]Page Appearance + +// To set Font Icons CDN +// [[Font Icons CDN +xui.ini.$FontIconsCDN ={ + "fontawesome":{ + "href":"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", + "integrity":"sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN", + "crossorigin":"anonymous", + "disabled":true + } +}; +// ]]Font Icons CDN + +// To set default prop to all xui.UI instances +// [[Default Prop +xui.ini.$DefaultProp={ + "dirtyMark": false, + "xui.UI.Dialog":{ + "minBtn": false + } +}; +// ]]Default Prop + +// [[Global Functions +xui.$cache.functions = { + "$APICaller:beforeData":{ + "desc":"exception handler", + "params":[ + { + "id":"rspData", + "type":"Hash", + "desc":"" + } + ], + "actions":[ + { + "desc":"if returns exception", + "type":"other", + "target":"msg", + "args":[ + "API returns exception", + "{args[0].error.message}" + ], + "method":"alert", + "conditions":[ + { + "left":"{args[0].error}", + "symbol":"non-empty", + "right":"" + } + ], + "timeout":0, + "onOK":2 + } + ] + }, + "$APICaller:onError":{ + "desc":"error handler", + "params":[ + { + "id":"rspData", + "type":"Hash", + "desc":"" + } + ], + "actions":[ + { + "desc":"if API raises error", + "type":"other", + "target":"msg", + "args":[ + "API raises error", + "{args[0]}" + ], + "method":"alert", + "onOK":2, + "timeout":0 + } + ] + } +}; +// ]]Global Functions + +// [[Global Data +xui.$cache.data = { + "$DATE_FORMAT":"gmt" +}; +// ]]Global Data + + +// [[Constant Data +xui.constant = { +}; +// ]]Constant Data