mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 17:38:20 +01:00
vfs
This commit is contained in:
parent
46e50b191f
commit
3fb336ed7c
@ -2,8 +2,9 @@ self.OS.API.handler =
|
|||||||
scandir: (p, c ) ->
|
scandir: (p, c ) ->
|
||||||
path = "lua-api/fs/scandir"
|
path = "lua-api/fs/scandir"
|
||||||
_API.post path, { path: p }, c, (e, s) ->
|
_API.post path, { path: p }, c, (e, s) ->
|
||||||
_courrier.osfail "Fail to make request: #{path}", e, s
|
_courrier.osfail "Fail to scan directory: #{path}", e, s
|
||||||
|
scanapp: (p, c ) ->
|
||||||
|
path = "lua-api/system/application"
|
||||||
auth: (c) ->
|
auth: (c) ->
|
||||||
p = "lua-api/system/auth"
|
p = "lua-api/system/auth"
|
||||||
_API.post p, {}, c, () ->
|
_API.post p, {}, c, () ->
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
<afx-dummy>
|
|
||||||
<afx-overlay data-id = "notifyzone" width = "250">
|
|
||||||
<afx-button text = "Clear all" data-id = "btclear"></afx-button>
|
|
||||||
<afx-list-view data-id="notifylist"></afx-list-view>
|
|
||||||
<style>
|
|
||||||
afx-overlay[data-id = "notifyzone"]{
|
|
||||||
background-color: rgba(215,215,215,0.7);
|
|
||||||
|
|
||||||
overflow-y: auto;
|
|
||||||
overflow-x: hidden;
|
|
||||||
padding:3px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
afx-overlay[data-id = "notifyzone"] afx-button button{
|
|
||||||
width: 250px;
|
|
||||||
background-color: rgba(215,215,215,0.9);
|
|
||||||
}
|
|
||||||
afx-overlay[data-id = "notifyzone"] afx-button button:active{
|
|
||||||
color:#414339;
|
|
||||||
}
|
|
||||||
afx-list-view[data-id = "notifylist"]
|
|
||||||
{
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
afx-list-view[data-id = "notifylist"] li{
|
|
||||||
border:1px solid #a6a6a6;
|
|
||||||
border-radius: 6px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</afx-overlay>
|
|
||||||
<afx-overlay data-id = "feedzone" width = "250">
|
|
||||||
<afx-list-view data-id = "notifeed">
|
|
||||||
</afx-list-view>
|
|
||||||
<style>
|
|
||||||
afx-overlay[data-id = "feedzone"]{
|
|
||||||
overflow: hidden;
|
|
||||||
background-color:transparent;
|
|
||||||
right:5px;
|
|
||||||
margin: 0;
|
|
||||||
padding:0;
|
|
||||||
top:0;
|
|
||||||
}
|
|
||||||
afx-list-view[data-id = "notifeed"]
|
|
||||||
{
|
|
||||||
padding:0;
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
afx-list-view[data-id = "notifeed"] li{
|
|
||||||
box-shadow: 1px 1px 1px #9f9F9F;
|
|
||||||
border:1px solid #a6a6a6;
|
|
||||||
border-radius: 6px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
z-index: 99999;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</afx-overlay>
|
|
||||||
</afx-dummy>
|
|
@ -2,9 +2,9 @@ coffee_files = Calendar.coffee PushNotification.coffee Spotlight.coffee
|
|||||||
|
|
||||||
jsfiles =
|
jsfiles =
|
||||||
|
|
||||||
cssfiles =
|
cssfiles = main.css
|
||||||
|
|
||||||
copyfiles = package.json
|
copyfiles = package.json notifications.html
|
||||||
|
|
||||||
|
|
||||||
PKG_NAME=CoreServices
|
PKG_NAME=CoreServices
|
||||||
|
@ -7,7 +7,7 @@ class PushNotification extends this.OS.GUI.BaseService
|
|||||||
@pending = []
|
@pending = []
|
||||||
init: ->
|
init: ->
|
||||||
@view = false
|
@view = false
|
||||||
path = "resources/schemes/notifications.html"
|
path = path = "packages/CoreServices/notifications.html"
|
||||||
@render path
|
@render path
|
||||||
|
|
||||||
spin: (b) ->
|
spin: (b) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user