Skip to content

Commit

Permalink
pamris hanig, goomba
Browse files Browse the repository at this point in the history
  • Loading branch information
novafurry committed Aug 13, 2024
1 parent 59b5fde commit d8f73e4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
23 changes: 21 additions & 2 deletions assets/code/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,26 @@ var app = {
app.docai.init();
}
}
}
},
cast: {
runs: true,
name: 'Cast',
icon: './assets/img/systemIcons/cast.svg',
init: async function(){
const win = tk.mbw('Cast', '300px', 'auto', false, true, true, undefined, './assets/img/systemIcons/cast.svg');
tk.mkel('h1',[], "Cast", win.main)
tk.p("enter the deskID of another user with the cast app open to share your screen.", "", win.main)
var recepient = tk.c("input", win.main, "i1")
var send = tk.cb("b1", "Start", function(){},win.main)
var stop = tk.cb("b1", "Stop", function(){},win.main)
stop.style.display = "none"
var ic = tk.mkel("div", ["notif"],"",win.main)
tk.mkel('b',[],"Incoming Request<br>",ic)
var req = tk.mkel('span',[],"ID: 8008135<br>",ic)
var ac = tk.cb("b1 smallb", "Accept", function(){},ic)
var de = tk.cb("b1 smallb", "Deny", function(){},ic)
}
},
}

app.store.init()
app.cast.init()
6 changes: 6 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ body {
overflow: hidden;
}

.smallb{
padding: 3px !important;
font-size: 0.8em !important;
}


.bold {
font-family: "PoppinsB";
}
Expand Down

0 comments on commit d8f73e4

Please sign in to comment.