mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
add web.flows
This commit is contained in:
parent
0263c88eb4
commit
eeb738ba65
@ -1,3 +1,5 @@
|
|||||||
|
body.light.cmd { --body-bg-color:aliceblue; }
|
||||||
|
body.white.cmd { --body-bg-color:white; }
|
||||||
body.light {
|
body.light {
|
||||||
--body-bg-color:#4a566e; --body-fg-color:black;
|
--body-bg-color:#4a566e; --body-fg-color:black;
|
||||||
|
|
||||||
@ -32,5 +34,5 @@ body.light {
|
|||||||
--tr-hover-bg-color:var(--hover-bg-color);
|
--tr-hover-bg-color:var(--hover-bg-color);
|
||||||
|
|
||||||
--code-fg-color:white;
|
--code-fg-color:white;
|
||||||
--box-shadow:gray 3px 3px 10px;
|
--box-shadow:gray 2px 2px 8px;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
"time"
|
||||||
|
|
||||||
"shylinux.com/x/ice"
|
"shylinux.com/x/ice"
|
||||||
_ "shylinux.com/x/icebergs/misc/alpha"
|
_ "shylinux.com/x/icebergs/misc/alpha"
|
||||||
@ -14,8 +15,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
os.Setenv("PATH", "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin")
|
||||||
os.Chdir(kit.HomePath(ice.CONTEXTS))
|
os.Chdir(kit.HomePath(ice.CONTEXTS))
|
||||||
go ice.Run(ice.SERVE, ice.START)
|
go ice.Run(ice.SERVE, ice.START)
|
||||||
defer ice.Pulse.Cmd(ice.EXIT)
|
defer ice.Pulse.Cmd(ice.EXIT)
|
||||||
|
time.Sleep(time.Second)
|
||||||
webview.Run(nil)
|
webview.Run(nil)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
{
|
{
|
||||||
|
"2598af": {
|
||||||
|
"meta": {
|
||||||
|
"name": "busybox",
|
||||||
|
"text": "docker run -w /root -it busybox",
|
||||||
|
"time": "2023-07-29 11:33:27.816",
|
||||||
|
"type": "shell"
|
||||||
|
}
|
||||||
|
},
|
||||||
"329132": {
|
"329132": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "2021.shylinux.com:20000",
|
"name": "2021.shylinux.com:20000",
|
||||||
@ -23,6 +31,14 @@
|
|||||||
"type": "link"
|
"type": "link"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"45f8b9": {
|
||||||
|
"meta": {
|
||||||
|
"name": "alpine",
|
||||||
|
"text": "docker run -w /root -it alpine",
|
||||||
|
"time": "2023-07-29 11:33:50.015",
|
||||||
|
"type": "shell"
|
||||||
|
}
|
||||||
|
},
|
||||||
"6722d8": {
|
"6722d8": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "2021.shylinux.com:20001",
|
"name": "2021.shylinux.com:20001",
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
"name": "build",
|
"name": "build",
|
||||||
"text": "hello",
|
"text": "hello",
|
||||||
"time": "2023-07-28 00:59:01.274",
|
"time": "2023-07-28 00:59:01.274",
|
||||||
"type": "root"
|
"type": "tech"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user