mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-27 11:19:53 +02:00
add new apps
This commit is contained in:
24
DrawIOWrapper/README.md
Normal file
24
DrawIOWrapper/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# DrawIOWrapper
|
||||
This is an example project, generated by AntOS Development Kit
|
||||
|
||||
## Howto
|
||||
|
||||
1. Open the project.apj file with AntOSDK (simply double Click on it)
|
||||
2. Modify the UI in *assets/scheme.html*
|
||||
3. Modify application code in *coffees/main.coffee*
|
||||
4. Modify CSS style in *css/main.css*
|
||||
5. Other files need to be copied: put in to assets
|
||||
|
||||
## Set up build target
|
||||
|
||||
Click **Menu> Build > Build Option** or simply hit **ALT-Y**
|
||||
|
||||
In the build options dialog, add or remove files that need to be
|
||||
included into the build
|
||||
|
||||
Click **Save**
|
||||
|
||||
## Build application
|
||||
* To build: **Menu > Build > Build** or **ALT-C**
|
||||
* To build and run: **Menu > Build > Build and Run** or **CTRL-R**
|
||||
* To release: **Menu > Build > Build release** or **ALT-P**
|
5
DrawIOWrapper/assets/scheme.html
Normal file
5
DrawIOWrapper/assets/scheme.html
Normal file
@ -0,0 +1,5 @@
|
||||
<afx-app-window apptitle="DrawIOWrapper" width="600" height="500" data-id="DrawIOWrapper">
|
||||
<afx-hbox >
|
||||
<iframe src="https://www.draw.io" ></iframe>
|
||||
</afx-hbox>
|
||||
</afx-app-window>
|
24
DrawIOWrapper/build/debug/README.md
Normal file
24
DrawIOWrapper/build/debug/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# DrawIOWrapper
|
||||
This is an example project, generated by AntOS Development Kit
|
||||
|
||||
## Howto
|
||||
|
||||
1. Open the project.apj file with AntOSDK (simply double Click on it)
|
||||
2. Modify the UI in *assets/scheme.html*
|
||||
3. Modify application code in *coffees/main.coffee*
|
||||
4. Modify CSS style in *css/main.css*
|
||||
5. Other files need to be copied: put in to assets
|
||||
|
||||
## Set up build target
|
||||
|
||||
Click **Menu> Build > Build Option** or simply hit **ALT-Y**
|
||||
|
||||
In the build options dialog, add or remove files that need to be
|
||||
included into the build
|
||||
|
||||
Click **Save**
|
||||
|
||||
## Build application
|
||||
* To build: **Menu > Build > Build** or **ALT-C**
|
||||
* To build and run: **Menu > Build > Build and Run** or **CTRL-R**
|
||||
* To release: **Menu > Build > Build release** or **ALT-P**
|
15
DrawIOWrapper/build/debug/main.js
Normal file
15
DrawIOWrapper/build/debug/main.js
Normal file
@ -0,0 +1,15 @@
|
||||
(function() {
|
||||
var DrawIOWrapper;
|
||||
|
||||
DrawIOWrapper = class DrawIOWrapper extends this.OS.GUI.BaseApplication {
|
||||
constructor(args) {
|
||||
super("DrawIOWrapper", args);
|
||||
}
|
||||
|
||||
main() {}
|
||||
|
||||
};
|
||||
|
||||
this.OS.register("DrawIOWrapper", DrawIOWrapper);
|
||||
|
||||
}).call(this);
|
13
DrawIOWrapper/build/debug/package.json
Normal file
13
DrawIOWrapper/build/debug/package.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"app":"DrawIOWrapper",
|
||||
"name":"DrawIOWrapper",
|
||||
"description":"",
|
||||
"info":{
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"]
|
||||
}
|
5
DrawIOWrapper/build/debug/scheme.html
Normal file
5
DrawIOWrapper/build/debug/scheme.html
Normal file
@ -0,0 +1,5 @@
|
||||
<afx-app-window apptitle="DrawIOWrapper" width="600" height="500" data-id="DrawIOWrapper">
|
||||
<afx-hbox >
|
||||
<iframe src="https://www.draw.io" ></iframe>
|
||||
</afx-hbox>
|
||||
</afx-app-window>
|
7
DrawIOWrapper/coffees/main.coffee
Normal file
7
DrawIOWrapper/coffees/main.coffee
Normal file
@ -0,0 +1,7 @@
|
||||
class DrawIOWrapper extends this.OS.GUI.BaseApplication
|
||||
constructor: ( args ) ->
|
||||
super "DrawIOWrapper", args
|
||||
|
||||
main: () ->
|
||||
|
||||
this.OS.register "DrawIOWrapper", DrawIOWrapper
|
13
DrawIOWrapper/package.json
Normal file
13
DrawIOWrapper/package.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"app":"DrawIOWrapper",
|
||||
"name":"DrawIOWrapper",
|
||||
"description":"",
|
||||
"info":{
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"]
|
||||
}
|
8
DrawIOWrapper/project.apj
Normal file
8
DrawIOWrapper/project.apj
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "DrawIOWrapper",
|
||||
"root": "home://workspace/DrawIOWrapper",
|
||||
"css": [],
|
||||
"javascripts": [],
|
||||
"coffees": ["coffees/main.coffee"],
|
||||
"copies": ["assets/scheme.html", "package.json", "README.md"]
|
||||
}
|
Reference in New Issue
Block a user