Commit ·
d8c4f5e
1
Parent(s): 2cc3573
設定画面のベータ機能セクションを将来の機能拡張を見据えた説明・レイアウトに修正
Browse files- templates/settings/index.html +33 -24
templates/settings/index.html
CHANGED
|
@@ -259,32 +259,41 @@
|
|
| 259 |
<!-- ベータ機能 -->
|
| 260 |
<div class="card mb-3">
|
| 261 |
<div class="card-body">
|
| 262 |
-
<h6 class="card-title text-muted mb-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
<
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
<div class="d-flex gap-3 flex-wrap">
|
| 275 |
-
<div>
|
| 276 |
-
<label class="form-label small fw-semibold mb-1">店舗の緯度</label>
|
| 277 |
-
<input type="number" name="store_lat" value="{{ settings.get('store_lat', '') }}"
|
| 278 |
-
step="0.0001" class="form-control form-control-sm" style="width:130px" placeholder="例: 35.6895">
|
| 279 |
</div>
|
| 280 |
-
<div>
|
| 281 |
-
<
|
| 282 |
-
|
| 283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
</div>
|
| 285 |
-
</div>
|
| 286 |
-
<div class="text-muted small mt-2">
|
| 287 |
-
緯度・経度を設定すると、気象データ(Open-Meteo)を客数予測の精度向上に利用します。
|
| 288 |
</div>
|
| 289 |
</div>
|
| 290 |
</div>
|
|
|
|
| 259 |
<!-- ベータ機能 -->
|
| 260 |
<div class="card mb-3">
|
| 261 |
<div class="card-body">
|
| 262 |
+
<h6 class="card-title text-muted mb-2">ベータ機能</h6>
|
| 263 |
+
<p class="text-muted small mb-3">
|
| 264 |
+
開発中の実験的な機能をお試しいただけます。ベータ機能は今後も順次追加される予定です。
|
| 265 |
+
</p>
|
| 266 |
+
|
| 267 |
+
<!-- 機能:客数予測 -->
|
| 268 |
+
<div class="border-top pt-3 mt-3" style="border-color: var(--border) !important">
|
| 269 |
+
<div class="d-flex align-items-center mb-2">
|
| 270 |
+
<div class="fw-semibold small">客数予測機能(第1弾)</div>
|
| 271 |
+
<span class="help-btn" data-bs-toggle="popover" data-bs-trigger="click" data-bs-placement="bottom"
|
| 272 |
+
data-bs-title="客数予測(β)"
|
| 273 |
+
data-bs-content="過去の客数実績・曜日/祝日・気象データなどから朝食/ディナーの客数を予測し、客数管理ページとダッシュボードに表示します。予測精度を高めるには、客数管理画面で実績を入力し続けるか、過去客数データ入力ページから過去の実績を登録してください。緯度・経度を設定すると気象データを予測に利用できます(任意)。">?</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 274 |
</div>
|
| 275 |
+
<div class="form-check form-switch mb-3">
|
| 276 |
+
<input class="form-check-input" type="checkbox" role="switch" id="customer_forecast_enabled" name="customer_forecast_enabled"
|
| 277 |
+
{% if settings.get('customer_forecast_enabled', '0') == '1' %}checked{% endif %}>
|
| 278 |
+
<label class="form-check-label small text-muted" for="customer_forecast_enabled">
|
| 279 |
+
客数予測機能を有効にする(β)
|
| 280 |
+
</label>
|
| 281 |
+
</div>
|
| 282 |
+
<div class="d-flex gap-3 flex-wrap">
|
| 283 |
+
<div>
|
| 284 |
+
<label class="form-label small fw-semibold mb-1">店舗の緯度</label>
|
| 285 |
+
<input type="number" name="store_lat" value="{{ settings.get('store_lat', '') }}"
|
| 286 |
+
step="0.0001" class="form-control form-control-sm" style="width:130px" placeholder="例: 35.6895">
|
| 287 |
+
</div>
|
| 288 |
+
<div>
|
| 289 |
+
<label class="form-label small fw-semibold mb-1">店舗の経度</label>
|
| 290 |
+
<input type="number" name="store_lon" value="{{ settings.get('store_lon', '') }}"
|
| 291 |
+
step="0.0001" class="form-control form-control-sm" style="width:130px" placeholder="例: 139.6917">
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
<div class="text-muted small mt-2">
|
| 295 |
+
緯度・経度を設定すると、気象データ(Open-Meteo)を客数予測の精度向上に利用します。
|
| 296 |
</div>
|
|
|
|
|
|
|
|
|
|
| 297 |
</div>
|
| 298 |
</div>
|
| 299 |
</div>
|