From 23c64d5e7c61f0fdf5b56274e9b6ca8bef652ad0 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Fri, 6 Nov 2026 13:47:26 +0900 Subject: park-editor: 項目名の変更と列幅を調整 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 水飲み場・滑台・砂場の列を広げ、ペット・試合形式のボール遊びの見出しに変更した。 --- scripts/park-editor.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/scripts/park-editor.html b/scripts/park-editor.html index 56827de..c507eea 100644 --- a/scripts/park-editor.html +++ b/scripts/park-editor.html @@ -62,7 +62,11 @@ 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"]) { + th.c-water-wide, td.c-water-wide { width: 10em; min-width: 10em; max-width: 10em; box-sizing: border-box; overflow: hidden; } + th.c-slide-wide, td.c-slide-wide { width: 10em; min-width: 10em; max-width: 10em; box-sizing: border-box; overflow: hidden; } + th.c-sand-wide, td.c-sand-wide { width: 7em; min-width: 7em; max-width: 7em; 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"]), + td.c-water-wide input:not([type="checkbox"]), td.c-slide-wide input:not([type="checkbox"]), td.c-sand-wide 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, @@ -127,8 +131,8 @@ const DATASETS = { FIELD("トイレ", "トイレ"), FIELD("水飲み場", "水飲み場"), FIELD("ベンチ・椅子", "ベンチ・椅子"), FIELD("テーブル", "テーブル"), FIELD("シェルター等", "シェルター
パーゴラ
東屋"), FIELD("防災用具", "防災用具"), FIELD("ボール遊び", "ボール
遊び"), - FIELD("ペットNG", "ペット
NG"), - FIELD("試合形式のボール遊びNG", "試合形式の
ボール遊びNG"), + FIELD("ペット", "ペット"), + FIELD("試合形式のボール遊び", "試合形式の
ボール遊び"), ...TOY_ORDER.map(([toy, label]) => ({ key: `__toy_${toy}`, label, toy })), FIELD("草地広場", "草地
広場"), FIELD("多目的広場", "多目的
広場"), FIELD("築山", "築山"), FIELD("じゃぶじゃぶ池", "じゃぶ
じゃぶ
池"), @@ -444,6 +448,9 @@ function render() { 公園名: "c-w-name", __toy_complex: "c-w-complex", __toy_other: "c-w-other", + 水飲み場: "c-water-wide", + __toy_slide: "c-slide-wide", + __toy_sand: "c-sand-wide", }; const headCols = ["#", "確認", "地図"] .map((label) => ({ label, cls: "" })) @@ -577,7 +584,7 @@ const PARK_EXPORT_KEYS = [ "町名", "種別", "面積㎡", "設置者", "状態", "トイレ", "水飲み場", "ベンチ・椅子", "テーブル", "シェルター等", "草地広場", "多目的広場", "築山", "じゃぶじゃぶ池", - "防災用具", "ボール遊び", "ペットNG", "試合形式のボール遊びNG", "遊具", "時計", "駐車場", "その他設備", "備考", + "防災用具", "ボール遊び", "ペット", "試合形式のボール遊び", "遊具", "時計", "駐車場", "その他設備", "備考", "緯度", "経度", ]; -- cgit v1.3.1