Skip to content

Commit

Permalink
Minor reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfab committed Oct 4, 2023
1 parent 732e156 commit 49ffea1
Showing 1 changed file with 35 additions and 31 deletions.
66 changes: 35 additions & 31 deletions public/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,6 @@
cursor: pointer;
}

#input #dropdown-variant {
width: 120px;
background: #eee;
}

#gamesettings #dropdown-quickpromotion {
width: 120px;
background: #eee;
Expand Down Expand Up @@ -198,6 +193,11 @@
margin-bottom: 10px;
}

#posvariantdiv #dropdown-variant {
width: 150px;
background: #eee;
}

#posvariantdiv #dropdown-posvarianttype {
min-width: 120px;
background: #eee;
Expand Down Expand Up @@ -507,6 +507,7 @@
background: #888;
color: #fff;
font-weight: bold;
font-size: 24px;
margin-right: 6px;
cursor: pointer;
}
Expand Down Expand Up @@ -1690,7 +1691,8 @@
),
]),
]),
m("div#input", { hidden: during_play }, [
m("div#posvariantdiv", [
m("p", "Variant:"),
m(
"select#dropdown-variant",
{
Expand All @@ -1704,6 +1706,32 @@
...variants.map((ex, index) => m("option", { value: ex }, ex)),
]
),
m("p", "Custom Position Type:"),
m(
"select#dropdown-posvarianttype",
{
disabled: !is_ready || review_mode,
},
[m("option", { value: "(default)" }, "(default)")]
),
m("p", "Custom Position Name:"),
m(
"select#dropdown-posvariantname",
{
disabled: !is_ready || review_mode,
},
[]
),
m(
"button#aboutposition",
{
disabled: !is_ready || review_mode,
},
"About this position"
),
]),
m("div#input", { hidden: during_play }, [
m("p", "Position:"),
m("input#fen", {
placeholder: "Input FEN Here",
disabled: !is_ready || review_mode,
Expand Down Expand Up @@ -1752,32 +1780,8 @@
"Undo"
),
]),
m("div#posvariantdiv", [
m("p", "Position Variant Type:"),
m(
"select#dropdown-posvarianttype",
{
disabled: !is_ready || review_mode,
},
[m("option", { value: "(default)" }, "(default)")]
),
m("p", "Position Variant Name:"),
m(
"select#dropdown-posvariantname",
{
disabled: !is_ready || review_mode,
},
[]
),
m(
"button#aboutposition",
{
disabled: !is_ready || review_mode,
},
"About this position"
),
]),
m("div#input2", { hidden: during_play }, [
m("p", "Settings:"),
m("input[type=number]#depth", {
placeholder: "Depth",
disabled: !is_ready || analysis_mode,
Expand Down

1 comment on commit 49ffea1

@vercel
Copy link

@vercel vercel bot commented on 49ffea1 Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fairyground – ./

fairyground-git-main-ianfab.vercel.app
fairyground-ianfab.vercel.app
fairyground.vercel.app

Please sign in to comment.