diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-11-06 13:36:58 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-11-06 13:36:58 +0900 |
| commit | a2eaefd6c296460c65901b3476bcc530e428181a (patch) | |
| tree | f6aa712f43d8a4dce6da80abe9c71eb79074ad7a /scripts | |
| parent | 143195c1ea5cc17f373f6c0a253de5b89c6df179 (diff) | |
park-editor: ペットNG等の列を追加し、列幅を調整
ペットNG・試合形式のボール遊びNGの列を追加。公園名・複合遊具・その他遊具の列幅を約2倍に広げ、横スクロールで見られるようにした。未確認CSVにも新項目を含める。
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/park-editor.html | 13 |
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", "遊具", "時計", "駐車場", "その他設備", "備考", "緯度", "経度", ]; |
