1
0
forked from x/ContextOS
2019-09-24 20:52:49 +08:00

50 lines
1.3 KiB
Plaintext

fun clip "粘贴板" public \
text "" name you imports plugin_you action auto \
text "" name txt view long \
button "保存" action auto
if $2 == ""
copy ssh._route _ data show clip
else
copy ssh._route _ data insert clip txt $2
end
end
fun note "记事本" public \
text "" name you imports plugin_you action auto \
text "" name tip imports plugin_tip view long action auto \
button "查看" action auto \
button "返回" cb Last \
exports tip file tip \
feature display inner
if $2 == "" || $2 ~ ".*/$"
copy ssh._route _ context wiki tree __ level local/wiki
else
copy ssh._route _ context wiki text __ level local/wiki
end
end
kit data "数据库" public "ssh.data" show \
text "" name table imports plugin_table action auto view long \
text "" name index action auto \
button "查看" action auto \
button "返回" cb Last \
exports table table
kit save "导出" private "ssh.data" export \
text "love" name table imports plugin_table \
button "导出"
kit load "导入" private "ssh.data" import \
text "love" name table imports plugin_table \
text "" name file \
button "导入"
kit push "上传" private "web./download/" \
upfile "" name upload \
button "上传" cb upload \
button "查看"