{#- 動画の一覧と、選んだ動画の再生・ラベル入力欄。 -#} {% extends "base.html" %} {% from "_macros.html" import capacity_panel, chip, clip_assessment, csrf_field, icon, location_field, show_field, when %} {% block content %} {% include "_review_bar.html" %} {% if not focused %}

動画

✓ は人が付けたラベルです。

{% if waiting and not review %}

確認待ちが{{ waiting }}件あります。確認待ちを開く

{% endif %} {% if saved %}
保存しました。
{% endif %} {#- 保存の操作と録画容量は、一覧を先に見せるためにたたむ(Issue #187)。保存できない理由は見出しにも出す。 -#}
動画を保存する・録画容量{% if tools_alert %} {{ chip(tools_alert, "warn") }}{% endif %}
{{ csrf_field(token) }}更新

監視が動いているときに使えます。既定では前後30秒ずつを保存します。変換が終わると、一覧が自動で更新されます。

{% if not live %}
動画収集のカメラ接続を確認できません。監視を起動し、カメラ接続を確認してください。
{% endif %} {{ capacity_panel(capacity) }}{% if viewer_admin %}

録画容量と古い動画の整理

{% endif %}
{% endif %} {% if not focused %}{% endif %} {% if has_pending %}

録画・変換中の動画があります。終わると自動で更新します(変わらないときは更新してください)。

{% endif %}
{% if not focused %}{% endif %}
{% if clip is none %} {% if notice %}

指定された動画を確認できません。排泄を記録

{% endif %} {% if any_clips %}

この条件の動画はありません

「すべて」に切り替えてください。

{% else %}

動画はまだありません

監視を起動して保存ボタンを押すか、自動検知を待ってください。

{% endif %} {% else %}

{{ clip.time }}

{{ clip.source }} / {{ clip.status }}

{% if notice_unavailable %}

動画ファイルを確認できません。排泄を記録

{% endif %} {% if clip.ready %} {#- 確認のための再生の操作。ブラウザーの標準の操作バーより大きく押せるボタンにする(static/clips.js)。 -#}

長さ {{ "%.1f"|format(clip.duration) }}秒。操作・検知位置は動画内 {{ "%.1f"|format(clip.trigger_offset) }}秒です。保存開始: {{ clip.start_time }}

{% if clip.interrupted %}
切断・停止・フレーム欠落がある部分動画です。欠落区間では同じフレームを表示することがあります。
{% endif %} {% if circling %}
行動分析 / 旋回候補

トレー付近の位置を取得 {{ circling.located }}/{{ circling.sampled }}コマ

{%- if not circling.candidates %}

旋回候補はありません。

{% endif -%} {%- for candidate in circling.candidates -%}

{% if candidate.lead is not none %} / 排泄の開始記録より {{ "%.1f"|format(candidate.lead) }}秒前に検出{% endif %}

{%- endfor -%}
{% endif %} {% if assessment %} {% if assessment.error %}
{{ assessment.error }}
{% else %}
自動判定の候補 / {{ assessment.label }}{% if assessment.location %}({{ assessment.location }}){% endif %} / {{ assessment.activity }}{% if assessment.stool_condition %} / 便の状態:{{ assessment.stool_condition }}{% endif %}
{{ assessment.reason }} {%- for seek in assessment.seeks -%}

{%- endfor -%} {% if assessment.notified %}
通知済み {{ assessment.notified }}{% endif %} {%- if assessment.draft %}
動画を確認してからラベルを保存してください。{% endif %}
{% endif %} {% endif %} {% if quick %}
{{ csrf_field(token) }} {{ show_field(show) }}{% if review %}{% endif %}

排便・排尿の確認

{%- for button in quick.buttons -%} {{ icon(button.icon) }}{{ button.text }} {%- endfor -%}
{{ location_field(locations, form.location) }}

押すと、動画のラベルと確定記録を保存します{% if review %}(次の件へ進みます){% endif %}。日時やメモを付けるときは、下の「くわしく入力」を使ってください。

{% endif %}
くわしく入力(動作・開始と完了・メモ)
{{ csrf_field(token) }}{{ show_field(show) }}{% if review %}{% endif %}
動画の内容
{%- for value, text in clip_labels -%} {%- endfor -%}
{{ location_field(locations, form.location) }}

再生位置を開始・完了として指定できます。映っていない時刻は空欄にしてください。

{%- for name, text, value, button in form.offsets -%}
{%- endfor -%}

{% include "_confirmation.html" %}
そのほかの操作(保護・評価の候補・確認待ち) {% if clip.dismissed %}

確認待ちから外しています。

{{ csrf_field(token) }}
{% elif review %}
{{ csrf_field(token) }}
{% endif %} {% if not clip.pinned %}
{{ csrf_field(token) }}{{ show_field(show) }}
{% elif viewer_admin %}
{{ csrf_field(token) }}{{ show_field(show) }}
{% else %}

保護中の動画です(解除は管理者が行います)。

{% endif %} {% include "_benchmark_candidate.html" %}
{% if clip.event_id %}

この動画の検知を開く

{% endif %} {% elif clip.removed is not none %}

{{ "録画ファイルは整理済みです。" if clip.removed else "録画ファイルの整理を再開できます。" }} {% if viewer_admin %}録画の整理を開く{% endif %}

{% if assessment and assessment.reason %}

{{ assessment.label_or_default }} / {{ assessment.reason }}

{% endif %} {% elif clip.failed %}

{{ clip.error }}

{% else %}

保存処理中です。録画と変換が終わると、自動で更新します。

{% endif %} {% endif %}
{% endblock %}