mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 03:38:21 +01:00
update(SystemControl): use app base dialog instead of global dialog
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
This commit is contained in:
parent
8153ca6f9d
commit
d70391c7ba
@ -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
|
||||||
|
@ -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
@ -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.
@ -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")
|
||||||
})
|
})
|
||||||
|
@ -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 = @
|
||||||
|
@ -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.
@ -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
7
release/MarkOn.md
Normal 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
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.
@ -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.
@ -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.
BIN
release/vfsx.zip
BIN
release/vfsx.zip
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user