{% include "pwa/_splash_links.html" %} {% block title %}SDU-Shift{% endblock %} {% block head %}{% endblock %}
ホーム画面に追加 アプリのように使えます
{% set _in_drawer = request.endpoint and ( request.endpoint.startswith('customers') or request.endpoint.startswith('employees') or request.endpoint.startswith('settings') or request.endpoint.startswith('help') or request.endpoint.startswith('feedback') or request.endpoint == 'schedule.stats_multi' ) %}
{% for endpoint, icon, label in [ ('dashboard.index', 'bi-house-fill', 'ホーム'), ('shifts.index', 'bi-pencil-square', 'シフト入力'), ('generate.index', 'bi-lightning-fill', '自動生成'), ('schedule.list_periods', 'bi-calendar3', 'シフト表'), ] %} {% set active = request.endpoint and request.endpoint.startswith(endpoint.split('.')[0]) and request.endpoint != 'schedule.stats_multi' %} {{ label }} {% endfor %}
メニュー
{% for endpoint, icon, label, desc in [ ('customers.list_periods', 'bi-cup-hot-fill', '客数管理', '予約客数の入力'), ('schedule.stats_multi', 'bi-bar-chart-fill', '勤務統計', '複数期間の勤務時間集計'), ('employees.index', 'bi-people-fill', 'スタッフ管理','スタッフの登録・編集'), ('settings.index', 'bi-gear-fill', '設定', 'シフト制約・アプリ設定'), ('help.index', 'bi-question-circle', 'ヘルプ', '各機能の使い方'), ('feedback.index', 'bi-chat-square-text','フィードバック','不具合報告・機能要望を送る'), ] %} {% set active = (request.endpoint == endpoint) if endpoint == 'schedule.stats_multi' else (request.endpoint and request.endpoint.startswith(endpoint.split('.')[0])) %}
{{ label }}
{{ desc }}
{% endfor %} {% if auth_enabled %}
ログアウト
アクセスを終了する
{% endif %}
{% for cat, msg in get_flashed_messages(with_categories=true) %} {% endfor %}
{% block content %}{% endblock %} {% block scripts %}{% endblock %}