{% from 'admin/icons.html' import icon %} {% from 'admin/setup_guide.html' import setup_guide %} Panel Admin · Photobok {% macro info_tip(id, label, text) %} {% if text %}{{ text }}{% endif %} {% endmacro %} {% macro field_control(field) %}
{% if field.control == 'checkbox' %}
{{ info_tip(field.id, field.label, field.help) }}
{% if field.unavailable %}

Tidak didukung di perangkat ini.

{% endif %} {% else %}
{{ info_tip(field.id, field.label, field.help) }}
{% if field.control == 'calibration' %}
{% for key,label,min,step in [('ZOOM','Perbesaran (×)',1,0.05),('X','Geser horizontal (piksel)',none,1),('Y','Geser vertikal (piksel)',none,1)] %}
{% endfor %}
{% elif field.control == 'select' %} {% else %} {% endif %} {% endif %} {% if field.name == 'Storage__DCIM_DIRECTORY' %}
Folder ini ada di komputer booth, termasuk drive yang terpasang.

Foto lama tetap di folder sebelumnya dan tidak muncul di galeri baru. Simpan dan mulai ulang untuk menerapkan.

{% endif %} {% if error_field_id == field.id %}

{{ error_message }}

{% endif %}
{% endmacro %}
ADMIN PHOTOBOOTH

Panel pengelola

{% if error_message %}{% endif %} {% if success_message %}
{{ success_message }}
{% endif %} {% if not admin_enabled %}{% endif %}

Kesiapan booth

{{ 'Siap digunakan' if booth_status.ready else 'Perlu perhatian' }}
{{ icon('camera') }} Kamera{{ ('Siap · ' ~ booth_status.camera.label) if booth_status.camera.ok else booth_status.camera.label }}
{{ icon('drive') }} Penyimpanan{{ booth_status.storage.label }}
{{ icon('printer') }} Printer{{ booth_status.printer.label }}
{{ icon('ring') }} Lampu cincin{{ booth_status.ring.label }}
{{ icon('usb') }} USB{{ booth_status.usb.label }}

Berikutnya: {% if not booth_status.camera.ok %}Periksa sambungan dan izin kamera.{% elif not booth_status.storage.ok %}Kosongkan ruang penyimpanan.{% elif not booth_status.printer.optional and not booth_status.printer.ok %}Periksa printer dan kertas.{% else %}Periksa perangkat bertanda masalah.{% endif %}

{{ icon('drive') }} {{ disk_usage.free }} tersedia{{ photo_storage.count }} sesiLihat penyimpanan

{{ setup_guide('kesiapan') }}
Detail pemeriksaan

{{ photo_storage.size }} foto lokal · Hapus otomatis {{ 'aktif' if photo_storage.auto_delete else 'mati' }}.

Diperiksa {{ booth_status.checked_at }} · diperbarui setiap 15 detik.

Dashboard pusat

Untuk QR unduh dan sinkronisasi.

{{ central_status.label if central_status else 'Mulai ulang aplikasi' }}
{% if central_status %} {% if central_status.paired %}
{{ central_status.booth_name }}{{ central_status.tenant_name }}{{ central_status.server }}

{{ central_status.error }}

{{ 'Cloud siap' if central_status.cloud_ready and central_status.upload_enabled else ('Tersimpan lokal, unggahan belum aktif' if not central_status.upload_enabled else 'Menunggu cloud') }} · Lihat foto lokal →

{{ central_status.upload_error }}

Detail koneksi dan cloud

{{ 'Sinkron terakhir: ' ~ central_status.last_sync if central_status.last_sync else 'Menunggu sinkronisasi pertama…' }}

{{ central_status.theme_error if central_status.theme_error else ('Tema halaman unduh cloud tersinkron.' if central_status.theme_synced else 'Menunggu sinkronisasi tema halaman unduh cloud…') }}

Pusat mengatur penyimpanan cloud · masa akses sesi baru {{ central_status.retention_hours }} jam.

Pembaruan aplikasi

{{ 'Versi desktop ' ~ central_status.update.currentVersion ~ '. Pasang installer versi baru untuk memperbarui aplikasi.' if central_status.update.installerManaged else 'Memeriksa versi aplikasi…' }}

Update akan dipasang saat booth tidak sedang digunakan.
Kelola koneksi

Putuskan hanya jika ingin memindahkan perangkat atau memasang kode baru. Aplikasi lokal tetap berjalan.

{% else %}

Booth terkunci sampai kode koneksi berhasil diverifikasi. Ambil kode di dashboard pusat, lalu masukkan di sini atau pada layar aplikasi.

{% if central_status.server %}
Alamat pusat sudah diatur{% endif %}
{% if central_status.server %}
{% endif %}

Berlaku 10 menit · sekali pakai.

{% endif %} {{ setup_guide('pusat') }}
Tentang cloud

Pengaturan upload mengikuti kebijakan dashboard pusat. Foto lama sebelum booth dihubungkan tidak ikut diunggah. Setiap aplikasi dibuka, koneksi diverifikasi tanpa memasukkan ulang kode. Setelah terverifikasi, gangguan internet sementara tidak membuang sesi. Memutuskan koneksi mengunci booth kembali.

{% else %}

Mulai ulang aplikasi booth untuk mengaktifkan fitur koneksi pusat yang sudah disertakan.

{% endif %}

Pengaturan booth

{% if settings_pending_restart %}

Pengaturan sudah tersimpan, tetapi belum aktif. Terapkan saat sesi foto selesai.

{% endif %}
{% for section in config_sections if not section.advanced %}{% endfor %}
{% for section in config_sections if not section.advanced %}

{{ section.title }}

{{ setup_guide(section.title) }} {% if section.title == 'Penyimpanan' %}
Ruang disk booth{{ disk_usage.path }}
{{ disk_usage.free }} tersedia
{{ disk_usage.used }} dari {{ disk_usage.total }} terpakai ({{ disk_usage.used_percent }}%){{ photo_storage.size }} file sesi · {{ photo_storage.count }} sesi · {{ photo_storage.expired }} lewat masa akses
{{ icon('drive') }} Lihat dan hapus sesi lokal

Tujuan foto: Folder lokal selalu aktif. {% if central_status and central_status.upload_enabled %}{{ 'Cloud aktif.' if central_status.cloud_ready else 'Cloud dipilih, menunggu penyimpanan pusat.' }}{% else %}Cloud belum aktif.{% endif %} {{ 'Lihat status cloud' if central_status and central_status.paired else 'Hubungkan cloud' }}

Cara kerja penyimpanan

Angka disk mencakup file sistem. Hapus otomatis hanya berlaku untuk foto lokal; QR tetap kedaluwarsa sesuai masa akses dari pusat. Foto lama tanpa masa akses dihapus manual.

{% endif %} {% if section.title == 'Tema' %}

Ingin menambah tema baru atau mengaktifkan Bundle Frame (Wedding, Wisuda, Y2K)? Buka halaman Tema →

{% if theme_status.themes %}
{% for theme in theme_status.themes %}
{% if theme.thumbnail_url %}Contoh tampilan tema {{ theme.name.replace(' — ', ' ').replace(' – ', ' ') }}{% endif %}
{{ theme.name.replace(' — ', ' ').replace(' – ', ' ') }}{% if theme.locked %}Terkunci{% elif theme.active %}Aktif{% elif theme.installed %}Terpasang{% endif %}
{% if theme.locked %}Lihat di Tema →{% else %}{% endif %}
Detail tema

{{ theme.description }}

{% if theme.version %}Versi {{ theme.version }}{% endif %}
{% endfor %}
{% else %}
Belum ada tema tersedia

Katalog tema masih kosong. Booth memakai tampilan saat ini; tema baru beserta template bawaannya akan muncul di sini saat paket tersedia.

{% endif %} {% if theme_status.active %}
{% endif %}

{% endif %} {% if section.title == 'Layar pembuka' %} {% if theme_status.active %}

Tema aktif mengatur layar pembuka. Unggahan Anda tetap tersimpan.

{% endif %}
Pratinjau latar layar pembuka {{ start_screen_preview.version_text }}
Pratinjau layar pembuka {{ info_tip('preview', 'Pratinjau', 'Klik teks pada pratinjau untuk mengeditnya. Perubahan aktif pada booth setelah disimpan dan diterapkan.') }}
{% endif %}
{% for field in section.fields if not field.advanced %}{{ field_control(field) }}{% endfor %}
{% if section.title == 'Layar pembuka' %}
{{ info_tip('background-upload', 'Gambar latar', 'JPG atau PNG, maksimum 12 MB dan 16 juta piksel.') }}
{% if start_screen_preview.has_custom_background %}

Saat ini: {{ start_screen_preview.custom_background_path }}

{% endif %}
{% if start_screen_preview.has_custom_background %}{% endif %}
{% if error_field_id == 'startscreen-background-upload' %}{% endif %}

{% if start_screen_preview.has_custom_background %}Gambar tersimpan: {{ start_screen_preview.custom_background_path }}{% else %}Pilih JPG atau PNG, lalu tekan Simpan pengaturan.{% endif %}

{% endif %} {% if section.title == 'Layar pembuka' %}
{{ info_tip('logo-upload','Logo acara','Unggah PNG transparan atau JPG, maksimum 4 MB. Logo tampil di bagian atas tengah layar booth. Logo dan latar disimpan terpisah.') }}
{% if error_field_id == 'startscreen-logo-upload' %}{% endif %}
{% endif %} {% if section.title == 'Pengambilan foto' and central_capture_policy %}

Diatur dari pusat untuk sesi baru: hitung mundur {{ central_capture_policy.countdown }} detik · Cermin {{ 'aktif' if central_capture_policy.mirrorDefault else 'mati' }}.

{% endif %} {% if section.title == 'Cetak dan USB' %}

{{ booth_status.printer.detail or 'Pilih printer dan format kertas, lalu simpan.' }}

{% endif %} {% if section.fields|selectattr('advanced')|list %}
Opsi teknis {{ section.title|lower }}
{% for field in section.fields if field.advanced %}{{ field_control(field) }}{% endfor %}
{% endif %}
{% endfor %}
Pengaturan lanjutan

Untuk teknisi atau saat perlu menyesuaikan perangkat.

{{ setup_guide('Lanjutan') }} {% for section in config_sections if section.advanced %}

{{ section.title }}

{{ section.description }}

{% if section.title.startswith('Kamera DSLR') and booth_status.camera.label != 'Kamera DSLR' %}

Booth saat ini memakai {{ booth_status.camera.label }}. Pengaturan ini hanya berlaku untuk kamera DSLR yang tersambung.

{% endif %} {{ setup_guide(section.title) }}
{% for field in section.fields %}{{ field_control(field) }}{% endfor %}
{% endfor %}
{{ 'Gagal menyimpan' if error_message else ('Tersimpan, belum aktif' if settings_pending_restart else 'Tidak ada perubahan') }}{{ error_message or '' }}
{{ setup_guide('aktivitas') }}
Kolase dibuat
{{ overview_stats.photos_taken }}
Foto diunduh
{{ overview_stats.downloads }}
Job cetak dikirim
{{ overview_stats.prints }}
Kunjungan galeri
{{ overview_stats.gallery_views }}

Pemeliharaan

{{ setup_guide('pemeliharaan') }}
Tindakan pada aplikasi dan semua foto

Simpan perubahan sebelum pindah?

Pengaturan yang sedang diedit belum tersimpan.

Pilih folder di komputer booth

Pilih lokasi yang sudah ada. Foto sesi baru akan masuk ke subfolder save.

Hapus semua foto?

Semua foto tersimpan dan data sesi akan dihapus permanen. Tindakan ini tidak bisa dibatalkan.