From 0209e7ad8d0ca1dc7bed7f6015c5c3d90327991f Mon Sep 17 00:00:00 2001 From: mrsang Date: Thu, 25 Mar 2021 23:30:48 +0100 Subject: [PATCH] update about --- About/README.md | 3 +++ About/assets/project.json | 0 About/build/debug/README.md | 3 +++ About/build/debug/main.css | 5 +++++ About/build/debug/main.js | 35 +-------------------------------- About/build/debug/package.json | 2 +- About/build/release/About.zip | Bin 2705 -> 2870 bytes About/coffees/main.coffee | 2 +- About/css/main.css | 5 +++++ About/package.json | 2 +- packages.json | 2 +- 11 files changed, 21 insertions(+), 38 deletions(-) delete mode 100644 About/assets/project.json diff --git a/About/README.md b/About/README.md index 86fc78e..291e6b3 100644 --- a/About/README.md +++ b/About/README.md @@ -5,6 +5,9 @@ It is used to show the change logs of the current AntOS version ## Change logs +### v0.0.6-a +* Use README page available on github + ### v0.0.5-a * Fix cotent padding is not correct on some browsers diff --git a/About/assets/project.json b/About/assets/project.json deleted file mode 100644 index e69de29..0000000 diff --git a/About/build/debug/README.md b/About/build/debug/README.md index 86fc78e..291e6b3 100644 --- a/About/build/debug/README.md +++ b/About/build/debug/README.md @@ -5,6 +5,9 @@ It is used to show the change logs of the current AntOS version ## Change logs +### v0.0.6-a +* Use README page available on github + ### v0.0.5-a * Fix cotent padding is not correct on some browsers diff --git a/About/build/debug/main.css b/About/build/debug/main.css index dff9742..fbfdac0 100644 --- a/About/build/debug/main.css +++ b/About/build/debug/main.css @@ -13,4 +13,9 @@ afx-app-window[data-id = "About"] afx-hbox[data-id="wrapper"] afx-app-window[data-id = "About"] div[data-id="container"] { text-align: justify; +} + +afx-app-window[data-id = "About"] img +{ + max-width: 100%; } \ No newline at end of file diff --git a/About/build/debug/main.js b/About/build/debug/main.js index ad1fcfa..08ab2a9 100644 --- a/About/build/debug/main.js +++ b/About/build/debug/main.js @@ -1,34 +1 @@ -(function() { - var About; - - About = class About extends this.OS.application.BaseApplication { - constructor(args) { - super("About", args); - } - - main() { - var me, path; - me = this; - this.container = this.find("container"); - path = "os://README.md"; - path.asFileHandle().read().then(function(txt) { - var converter; - converter = new showdown.Converter(); - return ($(me.container)).html(converter.makeHtml(txt)); - }).catch(() => { - return this.notify(__("Unable to read: {0}", path)); - }); - return this.find("btnclose").onbtclick = () => { - return this.quit(); - }; - } - - }; - - About.singleton = true; - - About.dependencies = ["os://scripts/showdown.min.js"]; - - this.OS.register("About", About); - -}).call(this); +(function(){var t;(t=class extends this.OS.application.BaseApplication{constructor(t){super("About",t)}main(){var t,n;return t=this,this.container=this.find("container"),(n="https://raw.githubusercontent.com/lxsang/antos/master/README.md").asFileHandle().read().then((function(n){var i;return i=new showdown.Converter,$(t.container).html(i.makeHtml(n))})).catch(()=>this.notify(__("Unable to read: {0}",n))),this.find("btnclose").onbtclick=()=>this.quit()}}).singleton=!0,t.dependencies=["os://scripts/showdown.min.js"],this.OS.register("About",t)}).call(this); \ No newline at end of file diff --git a/About/build/debug/package.json b/About/build/debug/package.json index 2c7471f..6e634e4 100644 --- a/About/build/debug/package.json +++ b/About/build/debug/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.5-a", + "version":"0.0.6-a", "category":"Other", "iconclass":"fa fa-question-circle", "mimes":["none"], diff --git a/About/build/release/About.zip b/About/build/release/About.zip index 6e6a2d14053e316c184531d9f09174ae5ecfcc91..b04fdb6db904e28c34663c5433c1e0de064e77e6 100644 GIT binary patch delta 554 zcmbOzx=lHFfN=b&5f}w$dsx?lB0$_b&xlP9uYXEd9f$?;zl*=1rg)nW~q z7#IvE7qad#%_u1;D7MnqFG?)egP2iToLZEepI4HaSE84kpR1o!QJk2UuAi7!l3%Q! zn^;_uTC~}aErO8+WY0#vE~a`$CJ_cKJ_kCV0~{X6L~deco?dcsaez0fF1Uw*x;T+F zFdPMnK)kJ&n}V(lz?+$civa|-EjSvmxtYC-NfcQ`SSR6)1S123#N<1Snq7TXWe8k=Ie~6la*Nh zCo?jMFd!@!-0@X97pM`0xxr3CCW@0YQgc)FGD>oD0=!W*!rcgT5ht=9hG|TbbGgLp zQJf4^#DSvdDl^c|#LPUs me = @ @container = @find "container" - path = "os://README.md" + path = "https://raw.githubusercontent.com/lxsang/antos/master/README.md" path.asFileHandle() .read() .then (txt) -> diff --git a/About/css/main.css b/About/css/main.css index a79510f..d9c2682 100644 --- a/About/css/main.css +++ b/About/css/main.css @@ -12,4 +12,9 @@ afx-app-window[data-id = "About"] afx-hbox[data-id="wrapper"] afx-app-window[data-id = "About"] div[data-id="container"] { text-align: justify; +} + +afx-app-window[data-id = "About"] img +{ + max-width: 100%; } \ No newline at end of file diff --git a/About/package.json b/About/package.json index 2c7471f..6e634e4 100644 --- a/About/package.json +++ b/About/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.5-a", + "version":"0.0.6-a", "category":"Other", "iconclass":"fa fa-question-circle", "mimes":["none"], diff --git a/packages.json b/packages.json index 9e481c1..76f734d 100644 --- a/packages.json +++ b/packages.json @@ -5,7 +5,7 @@ "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/About/README.md", "category": "Other", "author": "Xuan Sang LE", - "version": "0.0.5-a", + "version": "0.0.6-a", "dependencies": [], "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/About/build/release/About.zip" },