From 4b085fbe5b31fb5af7fde48955cace5845162039 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 20 Feb 2018 22:48:40 +0100 Subject: [PATCH 1/4] Set theme jekyll-theme-slate --- _config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..c741881 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-slate \ No newline at end of file From e853a91695892006e0ee021452ea99bb5e48bba1 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 20 Feb 2018 22:49:53 +0100 Subject: [PATCH 2/4] Update TODO --- TODO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 5c28bd1..e7365c8 100644 --- a/TODO +++ b/TODO @@ -1 +1,3 @@ -add require function that allows load shared library between application \ No newline at end of file +# add version number +# bug tracking app +# packages manager (restricted mode) From f8418eeecb9264334b3c9cae8c34c11decacb363 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 20 Feb 2018 23:07:53 +0100 Subject: [PATCH 3/4] enable fullscreen --- src/core/gui.coffee | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/core/gui.coffee b/src/core/gui.coffee index 3263b76..b2e9ed9 100644 --- a/src/core/gui.coffee +++ b/src/core/gui.coffee @@ -156,6 +156,13 @@ self.OS.GUI = app.appmenu = ($ "[data-id = 'appmenu']", "#syspanel")[0] app.init() + enterFullscreen: () -> + el = ($ "body")[0] + return el.requestFullscreen() if el.requestFullscreen + return el.mozRequestFullScreen() if el.mozRequestFullScreen + return el.webkitRequestFullscreen() if el.webkitRequestFullscreen + return el.msRequestFullscreen() if el.msRequestFullscreen + undock: (app) -> ($ "#sysdock").get(0).removeapp app @@ -289,12 +296,17 @@ self.OS.GUI = } ] menu.child = menu.child.concat (v for k, v of _OS.setting.system.menu) + menu.child.push + text: "Full screen", + dataid: "os-fullsize", + iconclass: "fa fa-tv" menu.child.push text: "Log out", dataid: "sys-logout", iconclass: "fa fa-user-times" menu.onmenuselect = (d) -> return _API.handler.logout() if d.item.data.dataid is "sys-logout" + return _GUI.enterFullscreen() if d.item.data.dataid is "os-fullsize" _GUI.launch d.item.data.app unless d.item.data.dataid ($ "[data-id = 'os_menu']", "#syspanel")[0].set "items", [menu] From f0a2fac51af673856072e43cdb8a093cd9c619b4 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Wed, 21 Feb 2018 00:20:54 +0100 Subject: [PATCH 4/4] add markdown support to cv section --- src/packages/Blogger/cvsection.html | 7 +++++-- src/packages/Blogger/dialogs.coffee | 18 +++++++++++++++++- src/packages/Blogger/main.css | 3 ++- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/packages/Blogger/cvsection.html b/src/packages/Blogger/cvsection.html index 9f0e1fc..6fedf5c 100644 --- a/src/packages/Blogger/cvsection.html +++ b/src/packages/Blogger/cvsection.html @@ -1,5 +1,6 @@ +
@@ -19,8 +20,10 @@ -