update(SystemControl): use app base dialog instead of global dialog
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good

This commit is contained in:
Dany LE 2023-06-07 09:54:35 +02:00
parent 8153ca6f9d
commit d70391c7ba
55 changed files with 27 additions and 26 deletions

View File

@ -7,3 +7,6 @@ via the Antunnel service
![https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png](https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png) ![https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png](https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png)
## changelogs
- 0.1.12-a: use application based dialog instead of global dialog

View File

@ -7,3 +7,6 @@ via the Antunnel service
![https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png](https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png) ![https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png](https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png)
## changelogs
- 0.1.12-a: use application based dialog instead of global dialog

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
"dependencies": [ "dependencies": [
"Antunnel@0.2.1-b" "Antunnel@0.2.1-b"
], ],
"version":"0.1.11-a", "version":"0.1.12-a",
"category":"System", "category":"System",
"iconclass":"fa fa-tachometer", "iconclass":"fa fa-tachometer",
"mimes":["none"], "mimes":["none"],

View File

@ -3,7 +3,7 @@ class SysmondService extends OS.application.BaseService
super "SysmondService", args super "SysmondService", args
@text = __("{0}%", 0.toString()) @text = __("{0}%", 0.toString())
@iconclass = "fa fa-android" @iconclass = "fa fa-android"
@app = undefined @app = args[0].app
#@nodes = [ #@nodes = [
# {text: __("Status"), id: 1}, # {text: __("Status"), id: 1},
# {text: __("Shutdown"), id: 3}, # {text: __("Shutdown"), id: 3},
@ -50,7 +50,7 @@ class SysmondService extends OS.application.BaseService
if not @setting().topic if not @setting().topic
console.log "Open dialog" console.log "Open dialog"
@_gui.openDialog("PromptDialog", { @app.openDialog("PromptDialog", {
title: __("Enter topic name"), title: __("Enter topic name"),
label: __("Please enter topic name") label: __("Please enter topic name")
}) })

View File

@ -47,7 +47,11 @@ class SystemControl extends this.OS.application.BaseApplication
@battery.option("height", $(el).height()) @battery.option("height", $(el).height())
$(el).children().show() $(el).children().show()
@_gui.pushService("SystemControl/SysmondService", []) @_gui.pushService("SystemControl/SysmondService", [{
path: @meta().path,
type: "app",
app: @
}])
.then (p) => .then (p) =>
@service = p @service = p
p.app = @ p.app = @

View File

@ -13,7 +13,7 @@
"dependencies": [ "dependencies": [
"Antunnel@0.2.1-b" "Antunnel@0.2.1-b"
], ],
"version":"0.1.11-a", "version":"0.1.12-a",
"category":"System", "category":"System",
"iconclass":"fa fa-tachometer", "iconclass":"fa fa-tachometer",
"mimes":["none"], "mimes":["none"],

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +0,0 @@
# AntunnelTestClient
This is an example project, generated by AntOS Development Kit
## Howto
Use the Antedit command palette to access to the SDK functionalities:
1. Create new project
2. Init the project from the current folder located in side bar
3. Build and run the project
4. Release the project in zip package
## Set up build target
Open the `build.json` file from the current project tree and add/remove
build target entries and jobs. Save the file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

7
release/MarkOn.md Normal file
View File

@ -0,0 +1,7 @@
# MarkOn markdown editor
Simple Markdown editor for antOS
## Change log
- 0.1.1-a: Fix window resize bug
- 0.1.0-a: Use the new EasyMDE library

BIN
release/MarkOn.zip Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -7,3 +7,6 @@ via the Antunnel service
![https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png](https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png) ![https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png](https://raw.githubusercontent.com/lxsang/antosdk-apps/master/SystemControl/screenshot.png)
## changelogs
- 0.1.12-a: use application based dialog instead of global dialog

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +0,0 @@
# libjpeg
Simple JPEG/DCT data decoder in JavaScript. Also this project includes JPEG 2000 and JBIG2 decoders.
Github page: [https://github.com/notmasteryet/jpgjs](https://github.com/notmasteryet/jpgjs)

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.