use services to communicate between apps

This commit is contained in:
Xuan Sang LE
2017-08-16 00:27:32 +02:00
parent 16074ac3f8
commit 8fbd0b4a98
62 changed files with 590 additions and 211 deletions

9
src/core/schemes/dm.html Normal file
View File

@ -0,0 +1,9 @@
<afx-sys-panel id = "syspanel"></afx-sys-panel>
<!--div class = "afx-clear"></div-->
<div id = "workspace">
<afx-apps-dock id="sysdock"></afx-apps-dock>
<div id = "desktop">
</div>
</div>
<afx-menu id="contextmenu" context="true" style="display:none;"></afx-menu>

View File

@ -0,0 +1,36 @@
<afx-dummy>
<afx-overlay data-id = "notifyzone" width = "250">
<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-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-feed data-id = "notifeed" style = "display: none;" closable="true">
<!--afx-button text = "click me"></afx-button-->
<style>
afx-feed[data-id = "notifeed"]{
position: absolute;
width: 250px;
}
afx-feed[data-id = "notifeed"] > div{
box-shadow: 1px 1px 1px #9f9F9F;
}
</style>
</afx-feed>
</afx-dummy>