mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt wiki
This commit is contained in:
parent
73d4adf07a
commit
93adcab4bf
11
src/demo.go
11
src/demo.go
@ -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")
|
||||
}
|
50
src/main.shy
50
src/main.shy
@ -1,38 +1,5 @@
|
||||
title "contexts"
|
||||
refer `
|
||||
官网 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
|
||||
`
|
||||
source recent.shy
|
||||
|
||||
chapter "实践"
|
||||
label `
|
||||
@ -55,6 +22,7 @@ contexts toolkits learning
|
||||
section "火山架"
|
||||
field "趋势图" web.code.git.trend args `volcanos`
|
||||
field "架构图" web.code.git.spide args `volcanos`
|
||||
|
||||
section "冰山架"
|
||||
field "趋势图" web.code.git.trend args `icebergs`
|
||||
label `
|
||||
@ -73,16 +41,4 @@ section "神农架"
|
||||
field "趋势图" web.code.git.trend args `intshell`
|
||||
field "架构图" web.code.git.spide args `intshell`
|
||||
|
||||
spark md 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
|
||||
spark README.md
|
||||
|
42
src/recent.shy
Normal file
42
src/recent.shy
Normal 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
|
||||
`
|
2
src/template/web.wiki.audio/audio.html
Normal file
2
src/template/web.wiki.audio/audio.html
Normal file
@ -0,0 +1,2 @@
|
||||
<audio {{.OptionTemplate}} src="{{.Option "text"}}" controls></audio>
|
||||
|
2
src/template/web.wiki.brief/brief.html
Normal file
2
src/template/web.wiki.brief/brief.html
Normal file
@ -0,0 +1,2 @@
|
||||
<p {{.OptionTemplate}}>{{.Option "text"}}</p>
|
||||
|
3
src/template/web.wiki.chart/chart.html
Normal file
3
src/template/web.wiki.chart/chart.html
Normal 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 |
7
src/template/web.wiki.field/field.html
Normal file
7
src/template/web.wiki.field/field.html
Normal 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>
|
1
src/template/web.wiki.image/image.html
Normal file
1
src/template/web.wiki.image/image.html
Normal file
@ -0,0 +1 @@
|
||||
<img {{.OptionTemplate}} title="{{.Option "text"}}" src="{{.Option "text"}}">
|
2
src/template/web.wiki.order/order.html
Normal file
2
src/template/web.wiki.order/order.html
Normal file
@ -0,0 +1,2 @@
|
||||
<ul {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<li>{{$value}}</li>{{end}}</ul>
|
||||
|
2
src/template/web.wiki.refer/refer.html
Normal file
2
src/template/web.wiki.refer/refer.html
Normal 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>
|
||||
|
1
src/template/web.wiki.spark/inner.html
Normal file
1
src/template/web.wiki.spark/inner.html
Normal file
@ -0,0 +1 @@
|
||||
<div {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<label>{{$index}} </label><span>{{$value}}</span><br>{{end}}</div>
|
1
src/template/web.wiki.spark/shell.html
Normal file
1
src/template/web.wiki.spark/shell.html
Normal file
@ -0,0 +1 @@
|
||||
<div {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<label>$ </label><span>{{$value}}</span><br>{{end}}</div>
|
1
src/template/web.wiki.spark/spark.html
Normal file
1
src/template/web.wiki.spark/spark.html
Normal file
@ -0,0 +1 @@
|
||||
<p {{.OptionTemplate}}>{{.Option "text"}}</p>
|
1
src/template/web.wiki.table/table.html
Normal file
1
src/template/web.wiki.table/table.html
Normal 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>
|
2
src/template/web.wiki.title/endmenu.html
Normal file
2
src/template/web.wiki.title/endmenu.html
Normal file
@ -0,0 +1,2 @@
|
||||
<div {{.OptionTemplate}}></div>
|
||||
|
1
src/template/web.wiki.title/navmenu.html
Normal file
1
src/template/web.wiki.title/navmenu.html
Normal file
@ -0,0 +1 @@
|
||||
<div {{.OptionTemplate}} data-data='{{.Option "data"}}'></div>
|
1
src/template/web.wiki.title/premenu.html
Normal file
1
src/template/web.wiki.title/premenu.html
Normal file
@ -0,0 +1 @@
|
||||
<div {{.OptionTemplate}}></div>
|
2
src/template/web.wiki.title/title.html
Normal file
2
src/template/web.wiki.title/title.html
Normal file
@ -0,0 +1,2 @@
|
||||
<{{.Option "level"}} {{.OptionTemplate}}>{{.Option "prefix"}}{{.Option "text"}}</{{.Option "level"}}>
|
||||
|
2
src/template/web.wiki.video/video.html
Normal file
2
src/template/web.wiki.video/video.html
Normal file
@ -0,0 +1,2 @@
|
||||
<video {{.OptionTemplate}} title="{{.Option "text"}}" src="{{.Option "text"}}" controls></video>
|
||||
|
Loading…
x
Reference in New Issue
Block a user