-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yaml
143 lines (143 loc) · 3.9 KB
/
settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
apiVersion: v1alpha1
kind: Setting
metadata:
name: theme-zero-setting
spec:
forms:
- group: global
label: 全局设置
formSchema:
- $formkit: select
label: 主题风格
name: scheme
value: default
options:
- value: default
label: 精简
- $formkit: radio
label: PJAX
name: pjax
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭
- $formkit: radio
label: 页面加载进度条
name: pace
id: pace
key: pace
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭
- $formkit: select
label: 进度条样式
help: 各样式风格参考 https://codebyzach.github.io/pace/
if: "$get(pace).value == true"
name: pace_theme
value: minimal
options:
- value: barber-shop
label: Barber Shop
- value: big-counter
label: Big Counter
- value: bounce
label: Bounce
- value: center-atom
label: Center Atom
- value: center-circle
label: Center Circle
- value: center-radar
label: Center Radar
- value: center-simple
label: Center Simple
- value: corner-indicator
label: Corner Indicator
- value: fill-left
label: Fill Left
- value: flash
label: Flash
- value: flat-top
label: Flat Top
- value: loading-bar
label: Loading Bar
- value: mac-osx
label: Mac OSX
- value: material
label: Material
- value: minimal
label: Minimal
- $formkit: radio
label: 回到顶部
name: backtop
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭
- $formkit: radio
label: 阅读进度条
name: reading_progress
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭
- group: footer
label: 页脚设置
formSchema:
- $formkit: radio
label: 备案功能
name: beian
id: beian
key: beian
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭
- $formkit: text
label: ICP 备案号
if: "$get(beian).value == true"
name: icp
validation: required
- $formkit: text
label: 公安备案编号
help: 公安备案编号中的数字,会跟在跳转链接内
if: "$get(beian).value == true"
name: gongan_id
validation: "number"
- $formkit: text
label: 公安备案编号
help: 完整的备案号,用于网页中显示
if: "$get(beian).value == true"
name: gongan_num
validation: "number"
- $formkit: radio
label: Halo 及 Zero 的链接
name: powered
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭
- group: advanced
label: 高级设置
formSchema:
- $formkit: radio
label: Console 打印加载日志
name: log
value: true
options:
- value: true
label: 启用
- value: false
label: 关闭