add screenshot

This commit is contained in:
Xuan Sang LE 2018-01-04 11:51:12 +01:00
parent 6f298fc52b
commit 041293ee93
4 changed files with 19 additions and 9 deletions

View File

@ -1,2 +1,8 @@
# antos
Simple web os (client side) based on jQuery and Riot, it is intended to be used along with our antd server and Lua based server side app
Simple web os (client side) based on jQuery and Riot, it is designed to be used along with our antd server and Lua based server side app, but can be adapted to be used with any server side languages (PHP, etc) and server, by implementing all the system calls API defined in core/handlers/RemoteHandler.coffee. Basically, application design for the web os (Applications/) rely on these system calls for communicating with the server. In doing so, the entire application can be developped with coffee/javascript/css without the need of a server side script.
Note that, the development of the project is in early alpha state, so bugs are very welcome :)
![Screenshot](screenshot.png "Screenshot")

View File

@ -79,6 +79,14 @@ self.OS or=
tmp.push a for a in _PM.processes[app]
a.quit() for a in tmp
cleanup: ->
($ "#wrapper").empty()
_GUI.clearTheme()
_courrier.observable = riot.observable()
_OS.APP = {}
_PM.processes = {}
_PM.pidalloc = 0
boot: ->
#first login
_API.handler.auth (d) ->

View File

@ -141,8 +141,7 @@ self.OS.GUI =
alert "System fall: Cannot init desktop manager"
login: () ->
($ "#wrapper").empty()
_GUI.clearTheme()
_OS.cleanup()
_API.resource "schemes/login.html", (x) ->
return null unless x
scheme = $.parseHTML x
@ -158,12 +157,7 @@ self.OS.GUI =
alert "System fall: Cannot init login screen"
startAntOS: (conf) ->
($ "#wrapper").empty()
_GUI.clearTheme()
_courrier.observable = riot.observable()
_OS.APP = {}
_PM.processes = {}
_PM.pidalloc = 0
_OS.cleanup()
_OS.setting.applications = conf.applications if conf.applications
_OS.setting.appearance = conf.appearance if conf.appearance
_OS.setting.user = conf.user

View File

@ -29,6 +29,8 @@
self[k] = v
if(k == 'view')
switchView()
if(k == "data")
self.selectedFile = undefined
self.update()
}
self.root.get = function(k)