mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add favor pane
This commit is contained in:
parent
eb7afae2fc
commit
2847993bf0
@ -27,7 +27,7 @@ kit missyou "任务" private "_:cli.missyou" \
|
|||||||
text "" name you view long \
|
text "" name you view long \
|
||||||
text "" name see imports plugin_see \
|
text "" name see imports plugin_see \
|
||||||
button "行动" action auto \
|
button "行动" action auto \
|
||||||
exports you "" you
|
exports you you "" "" status you_status
|
||||||
|
|
||||||
kit pod "设备" private "_:ssh.remote" \
|
kit pod "设备" private "_:ssh.remote" \
|
||||||
text "" name pod imports plugin_pod \
|
text "" name pod imports plugin_pod \
|
||||||
|
@ -4,7 +4,7 @@ kit share "共享" public "web.chat.share" \
|
|||||||
button "共享"
|
button "共享"
|
||||||
|
|
||||||
kit note "记事本" public "_:web.wiki.note" "@you" \
|
kit note "记事本" public "_:web.wiki.note" "@you" \
|
||||||
text "volcano.md" name story imports plugin_story view long action auto \
|
text "volcano.md" name story imports path view long action auto \
|
||||||
button "查看" action auto \
|
button "查看" action auto \
|
||||||
button "返回" cb Last \
|
button "返回" cb Last \
|
||||||
exports story file \
|
exports story file \
|
||||||
|
@ -325,6 +325,7 @@ var page = Page({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
initAction: function(page, field, option, output) {
|
initAction: function(page, field, option, output) {
|
||||||
|
if (ctx.Search("feature") != "") {return}
|
||||||
var river = "", storm = 0, input = "", share = ""
|
var river = "", storm = 0, input = "", share = ""
|
||||||
var temp = ""
|
var temp = ""
|
||||||
var you = ""
|
var you = ""
|
||||||
|
@ -171,6 +171,22 @@ fieldset.dialog>div.create table {
|
|||||||
min-width:240px;
|
min-width:240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fieldset.dialog.Favor {
|
||||||
|
border:solid 2px red;
|
||||||
|
background-color:rgba(100,100,100,0.8);
|
||||||
|
position:absolute;
|
||||||
|
display:none;
|
||||||
|
z-index:100;
|
||||||
|
}
|
||||||
|
fieldset.dialog.Favor input.cmd {
|
||||||
|
color:white;
|
||||||
|
font-size:16px;
|
||||||
|
font-weight:bold;
|
||||||
|
font-family:monospace;
|
||||||
|
background-color:black;
|
||||||
|
width:388px;
|
||||||
|
}
|
||||||
|
|
||||||
fieldset.dialog.Toast {
|
fieldset.dialog.Toast {
|
||||||
border:solid 2px red;
|
border:solid 2px red;
|
||||||
background-color:#ffffff;
|
background-color:#ffffff;
|
||||||
@ -183,6 +199,7 @@ fieldset.dialog.Toast>div.action {
|
|||||||
}
|
}
|
||||||
fieldset.dialog.Toast>div.output {
|
fieldset.dialog.Toast>div.output {
|
||||||
padding:0 10px;
|
padding:0 10px;
|
||||||
|
text-align:center;
|
||||||
}
|
}
|
||||||
fieldset.dialog.Toast>div.output>div.title {
|
fieldset.dialog.Toast>div.output>div.title {
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
|
@ -154,6 +154,7 @@ function Page(page) {
|
|||||||
page.Status()
|
page.Status()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctx.Search("feature") != "") {return}
|
||||||
|
|
||||||
// 事件回调
|
// 事件回调
|
||||||
document.body.onkeydown = function(event) {
|
document.body.onkeydown = function(event) {
|
||||||
@ -165,7 +166,6 @@ function Page(page) {
|
|||||||
}, document.body.onmouseup = function(event) {
|
}, document.body.onmouseup = function(event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx.Search("feature") != "") {return}
|
|
||||||
window.onresize = function(event) {
|
window.onresize = function(event) {
|
||||||
page.onlayout(event)
|
page.onlayout(event)
|
||||||
}
|
}
|
||||||
@ -552,6 +552,7 @@ function Page(page) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
initHeader: function(page, field, option, output) {
|
initHeader: function(page, field, option, output) {
|
||||||
|
if (ctx.Search("feature") != "") {return}
|
||||||
var cb = function(event, item, value) {kit._call(page.Action[item], [event, item, value, page])}
|
var cb = function(event, item, value) {kit._call(page.Action[item], [event, item, value, page])}
|
||||||
field.onclick = function(event) {page.pane && page.pane.scrollTo(0, 0)}
|
field.onclick = function(event) {page.pane && page.pane.scrollTo(0, 0)}
|
||||||
page.who.change(function(value, old) {page.Button("user", value)})
|
page.who.change(function(value, old) {page.Button("user", value)})
|
||||||
|
@ -43,7 +43,7 @@ volcanos
|
|||||||
|
|
||||||
` "" "" 16}}
|
` "" "" 16}}
|
||||||
|
|
||||||
## {{chapter "原型"}}
|
## {{chapter "原型 proto.js"}}
|
||||||
### {{section "ID 生成器"}}
|
### {{section "ID 生成器"}}
|
||||||
### {{section "Log 日志器"}}
|
### {{section "Log 日志器"}}
|
||||||
### {{section "Conf 配置器"}}
|
### {{section "Conf 配置器"}}
|
||||||
@ -54,28 +54,28 @@ volcanos
|
|||||||
### {{section "Cache 缓存器"}}
|
### {{section "Cache 缓存器"}}
|
||||||
### {{section "Story 存储器"}}
|
### {{section "Story 存储器"}}
|
||||||
|
|
||||||
## {{chapter "框架"}}
|
## {{chapter "框架 frame.js"}}
|
||||||
### {{section "Page 页面"}}
|
### {{section "Page 页面"}}
|
||||||
### {{section "Pane 面板"}}
|
### {{section "Pane 面板"}}
|
||||||
### {{section "Plugin 插件"}}
|
### {{section "Plugin 插件"}}
|
||||||
### {{section "Inputs 控件"}}
|
### {{section "Inputs 控件"}}
|
||||||
### {{section "Output 组件"}}
|
### {{section "Output 组件"}}
|
||||||
|
|
||||||
## {{chapter "核心模块"}}
|
## {{chapter "核心模块 lib/"}}
|
||||||
### {{section "base 模块"}}
|
### {{section "base 模块"}}
|
||||||
### {{section "core 模块"}}
|
### {{section "core 模块"}}
|
||||||
### {{section "misc 模块"}}
|
### {{section "misc 模块"}}
|
||||||
### {{section "page 模块"}}
|
### {{section "page 模块"}}
|
||||||
### {{section "user 模块"}}
|
### {{section "user 模块"}}
|
||||||
|
|
||||||
## {{chapter "事件模块"}}
|
## {{chapter "事件模块 pane/"}}
|
||||||
### {{section "onimport 模块"}}
|
### {{section "onimport 模块"}}
|
||||||
### {{section "onaction 模块"}}
|
### {{section "onaction 模块"}}
|
||||||
### {{section "onchoice 模块"}}
|
### {{section "onchoice 模块"}}
|
||||||
### {{section "ondetail 模块"}}
|
### {{section "ondetail 模块"}}
|
||||||
### {{section "onexport 模块"}}
|
### {{section "onexport 模块"}}
|
||||||
|
|
||||||
## {{chapter "配置"}}
|
## {{chapter "配置 order.js"}}
|
||||||
### {{section "Header"}}
|
### {{section "Header"}}
|
||||||
### {{section "Ocean"}}
|
### {{section "Ocean"}}
|
||||||
### {{section "River"}}
|
### {{section "River"}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user