aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/park-editor.html
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/park-editor.html')
-rw-r--r--scripts/park-editor.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/park-editor.html b/scripts/park-editor.html
index 89ba668..56827de 100644
--- a/scripts/park-editor.html
+++ b/scripts/park-editor.html
@@ -59,6 +59,12 @@
width: 100pt; min-width: 0; box-sizing: border-box;
padding-left: .1rem; padding-right: .1rem;
}
+ th.c-w-name, td.c-w-name { width: 8.2em; min-width: 8.2em; max-width: 8.2em; box-sizing: border-box; overflow: hidden; }
+ th.c-w-complex, td.c-w-complex { width: 10.2em; min-width: 10.2em; max-width: 10.2em; box-sizing: border-box; overflow: hidden; }
+ th.c-w-other, td.c-w-other { width: 11.4em; min-width: 11.4em; max-width: 11.4em; box-sizing: border-box; overflow: hidden; }
+ td.c-w-name input:not([type="checkbox"]), td.c-w-complex input:not([type="checkbox"]), td.c-w-other input:not([type="checkbox"]) {
+ width: 100%; min-width: 0; box-sizing: border-box;
+ }
td.c-flag2 input, td.c-flag3 input, td.c-short input,
td.c-shelter input, td.c-ja6 input {
width: 100%; min-width: 0; padding-left: .1rem; padding-right: .1rem;
@@ -121,6 +127,8 @@ const DATASETS = {
FIELD("トイレ", "トイレ"), FIELD("水飲み場", "水飲み場"), FIELD("ベンチ・椅子", "ベンチ・椅子"),
FIELD("テーブル", "テーブル"), FIELD("シェルター等", "シェルター<br>パーゴラ<br>東屋"),
FIELD("防災用具", "防災用具"), FIELD("ボール遊び", "ボール<br>遊び"),
+ FIELD("ペットNG", "ペット<br>NG"),
+ FIELD("試合形式のボール遊びNG", "試合形式の<br>ボール遊びNG"),
...TOY_ORDER.map(([toy, label]) => ({ key: `__toy_${toy}`, label, toy })),
FIELD("草地広場", "草地<br>広場"), FIELD("多目的広場", "多目的<br>広場"),
FIELD("築山", "築山"), FIELD("じゃぶじゃぶ池", "じゃぶ<br>じゃぶ<br>池"),
@@ -433,6 +441,9 @@ function render() {
じゃぶじゃぶ池: "c-ja6",
__toy_swing: "c-toy",
__toy_bar: "c-toy",
+ 公園名: "c-w-name",
+ __toy_complex: "c-w-complex",
+ __toy_other: "c-w-other",
};
const headCols = ["#", "確認", "地図"]
.map((label) => ({ label, cls: "" }))
@@ -566,7 +577,7 @@ const PARK_EXPORT_KEYS = [
"町名", "種別", "面積㎡", "設置者", "状態",
"トイレ", "水飲み場", "ベンチ・椅子", "テーブル", "シェルター等",
"草地広場", "多目的広場", "築山", "じゃぶじゃぶ池",
- "防災用具", "ボール遊び", "遊具", "時計", "駐車場", "その他設備", "備考",
+ "防災用具", "ボール遊び", "ペットNG", "試合形式のボール遊びNG", "遊具", "時計", "駐車場", "その他設備", "備考",
"緯度", "経度",
];