1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-04-12 10:35:17 +08:00
parent 73d4adf07a
commit 93adcab4bf
19 changed files with 76 additions and 58 deletions

View File

@ -1,11 +0,0 @@
package main
import "fmt"
func main() {
fmt.Println("hello world")
fmt.Println("hello world")
fmt.Println("hello world")
fmt.Println("hello world")
fmt.Println("hello world")
}

View File

@ -1,38 +1,5 @@
title "contexts" title "contexts"
refer ` source recent.shy
官网 https://contexts.com.cn
文档 https://contexts.com.cn/help/
源码 https://shylinux.com/x/contexts
`
chapter "MacOS"
chain `
Trackpad
Keyboard
Finder
Terminal
Safari
Dock
contexts
sshd
`
chapter "最近"
section "windows"
refer `
https://www.ngui.cc/el/1813831.html
edge://settings/appearance
`
section "color"
refer `
颜色 https://www.cnblogs.com/cl1234/p/5545290.html
https://www.w3.org/TR/?tag=css
https://www.w3schools.com/colors/colors_names.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors
https://docs.tizen.org/platform/what-is-tizen/overview/
https://www.cnblogs.com/cl1234/p/5545290.html
http://www.unicode.org/charts/
https://www.w3schools.com/charsets/ref_html_utf8.asp
`
chapter "实践" chapter "实践"
label ` label `
@ -55,6 +22,7 @@ contexts toolkits learning
section "火山架" section "火山架"
field "趋势图" web.code.git.trend args `volcanos` field "趋势图" web.code.git.trend args `volcanos`
field "架构图" web.code.git.spide args `volcanos` field "架构图" web.code.git.spide args `volcanos`
section "冰山架" section "冰山架"
field "趋势图" web.code.git.trend args `icebergs` field "趋势图" web.code.git.trend args `icebergs`
label ` label `
@ -73,16 +41,4 @@ section "神农架"
field "趋势图" web.code.git.trend args `intshell` field "趋势图" web.code.git.trend args `intshell`
field "架构图" web.code.git.spide args `intshell` field "架构图" web.code.git.spide args `intshell`
spark md README.md spark README.md
source h5/h5.shy
source h5/h5.shy
source h6/h6.shy
source h7/h7.shy
source h8/h8.shy
source h9/h9.shy
source h3/h3.shy
source h4/h4.shy
source h5/h5.shy
source h6/h6.shy
source h7/h7.shy
source h8/h8.shy

42
src/recent.shy Normal file
View File

@ -0,0 +1,42 @@
premenu
endmenu
spark inner `good night`
video some/some.mov
image avatar.jpeg
image background.jpeg
spark `good night`
table `
hi he
1 2
3 4
`
chapter "最近"
section "MacOS"
label `
Trackpad
Keyboard
Finder
Terminal
Safari
Dock
contexts
sshd
`
section "windows"
refer `
https://www.ngui.cc/el/1813831.html
edge://settings/appearance
`
section "color"
refer `
颜色 https://www.cnblogs.com/cl1234/p/5545290.html
https://www.w3.org/TR/?tag=css
https://www.w3schools.com/colors/colors_names.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors
https://docs.tizen.org/platform/what-is-tizen/overview/
https://www.cnblogs.com/cl1234/p/5545290.html
http://www.unicode.org/charts/
https://www.w3schools.com/charsets/ref_html_utf8.asp
`

View File

@ -0,0 +1,2 @@
<audio {{.OptionTemplate}} src="{{.Option "text"}}" controls></audio>

View File

@ -0,0 +1,2 @@
<p {{.OptionTemplate}}>{{.Option "text"}}</p>

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" vertion="1.1"
{{.OptionTemplate}} {{.OptionKV "height,width,font-size,font-family,stroke-width,stroke,fill"}}
text-anchor="middle" dominant-baseline="middle">

After

Width:  |  Height:  |  Size: 199 B

View File

@ -0,0 +1,7 @@
<fieldset {{.OptionTemplate}} data-meta='{{.Option "meta"}}'>
<legend>{{.Option "name"}}</legend>
<form class="option"></form>
<div class="action"></div>
<div class="output"></div>
<div class="status"></div>
</fieldset>

View File

@ -0,0 +1 @@
<img {{.OptionTemplate}} title="{{.Option "text"}}" src="{{.Option "text"}}">

View File

@ -0,0 +1,2 @@
<ul {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<li>{{$value}}</li>{{end}}</ul>

View File

@ -0,0 +1,2 @@
<ul {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<li>{{index $value 0}}: <a href="{{index $value 1}}" data-name="{{index $value 0}}" target="_blank">{{index $value 2}}</a></li>{{end}}</ul>

View File

@ -0,0 +1 @@
<div {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<label>{{$index}} </label><span>{{$value}}</span><br>{{end}}</div>

View File

@ -0,0 +1 @@
<div {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<label>$ </label><span>{{$value}}</span><br>{{end}}</div>

View File

@ -0,0 +1 @@
<p {{.OptionTemplate}}>{{.Option "text"}}</p>

View File

@ -0,0 +1 @@
<table {{.OptionTemplate}}><thead><tr>{{range $i, $v := .Optionv "head"}}<th>{{$v}}</th>{{end}}</tr></thead><tbody>{{range $index, $value := .Optionv "list"}}<tr>{{range $i, $v := $value}}<td>{{$v}}</td>{{end}}</tr>{{end}}</tbody></table>

View File

@ -0,0 +1,2 @@
<div {{.OptionTemplate}}></div>

View File

@ -0,0 +1 @@
<div {{.OptionTemplate}} data-data='{{.Option "data"}}'></div>

View File

@ -0,0 +1 @@
<div {{.OptionTemplate}}></div>

View File

@ -0,0 +1,2 @@
<{{.Option "level"}} {{.OptionTemplate}}>{{.Option "prefix"}}{{.Option "text"}}</{{.Option "level"}}>

View File

@ -0,0 +1,2 @@
<video {{.OptionTemplate}} title="{{.Option "text"}}" src="{{.Option "text"}}" controls></video>