burncloud_client_settings/
settings.rs1use dioxus::prelude::*;
2
3#[component]
4pub fn SystemSettings() -> Element {
5 rsx! {
6 div { class: "page-header",
7 h1 { class: "text-large-title font-bold text-primary m-0",
8 "系统设置"
9 }
10 p { class: "text-secondary m-0 mt-sm",
11 "配置系统参数和首选项"
12 }
13 }
14
15 div { class: "page-content",
16 div { class: "card",
17 div { class: "p-lg",
18 h3 { class: "text-subtitle font-semibold mb-md", "通用设置" }
19 div { class: "flex flex-col gap-md",
20 div { class: "flex justify-between items-center",
21 div {
22 div { class: "font-medium", "自动启动" }
23 div { class: "text-caption text-secondary", "开机时自动启动BurnCloud" }
24 }
25 input {
26 r#type: "checkbox",
27 checked: true
28 }
29 }
30 div { class: "flex justify-between items-center",
31 div {
32 div { class: "font-medium", "检查更新" }
33 div { class: "text-caption text-secondary", "自动检查软件更新" }
34 }
35 input {
36 r#type: "checkbox",
37 checked: true
38 }
39 }
40 }
41 }
42 }
43 }
44 }
45}