switches
This commit is contained in:
parent
85acf96d65
commit
d0a3762e39
|
@ -2224,7 +2224,7 @@ class V2C_PluginCard extends BDV2.reactComponent {
|
|||
|
||||
return BDV2.react.createElement(
|
||||
"li",
|
||||
{"data-name": name, "data-version": version, className: "settings-closed"},
|
||||
{"data-name": name, "data-version": version, className: "settings-closed ui-switch-item"},
|
||||
BDV2.react.createElement(
|
||||
"div",
|
||||
{ className: "bda-header" },
|
||||
|
@ -2302,7 +2302,7 @@ class V2C_ThemeCard extends BDV2.reactComponent {
|
|||
|
||||
return BDV2.react.createElement(
|
||||
"li",
|
||||
{"data-name": name, "data-version": version, className: "settings-closed"},
|
||||
{"data-name": name, "data-version": version, className: "settings-closed ui-switch-item"},
|
||||
BDV2.react.createElement(
|
||||
"div",
|
||||
{ className: "bda-header" },
|
||||
|
@ -2313,7 +2313,10 @@ class V2C_ThemeCard extends BDV2.reactComponent {
|
|||
" by ",
|
||||
BDV2.react.createElement("span", {className: "bda-author" }, author)
|
||||
),
|
||||
BDV2.react.createElement(V2Components.Switch, {checked: this.state.checked, onChange: this.onChange})
|
||||
BDV2.react.createElement("label", {className: "ui-switch-wrapper ui-flex-child", style: { flex: '0 0 auto' }},
|
||||
BDV2.react.createElement("input", { checked: this.state.checked, onChange: this.onChange, className: "ui-switch-checkbox", type: "checkbox" }),
|
||||
BDV2.react.createElement("div", { className: this.state.checked ? "ui-switch" : "ui-switch checked" })
|
||||
)
|
||||
// BDV2.react.createElement("label", {className: "ui-switch-wrapper ui-flex-child", style: { flex: '0 0 auto' }},
|
||||
// BDV2.react.createElement("input", { checked: this.state.checked, onChange: this.onChange, className: "ui-switch-checkbox", type: "checkbox" }),
|
||||
// BDV2.react.createElement("div", { className: "ui-switch" })
|
||||
|
|
Loading…
Reference in New Issue