{% extends "base.html" %} {% import "_ui.html" as ui %} {% block judul %}Pengaturan — RPS & Portofolio UNTAN{% endblock %} {% block halaman_judul %} {{ ui.judul_halaman('Pengaturan', sub=user.nama ~ ' · ' ~ user.username) }} {% endblock %} {% block isi %}
{% if pesan %}{% call ui.alert('success') %}{{ pesan }}{% endcall %}{% endif %} {% if galat %}{% call ui.alert('danger') %}{{ galat }}{% endcall %}{% endif %} {% if google_aktif %}
{{ ui.card_header('Akun Google', sub='Masuk tanpa password memakai akun Google kampus (@' ~ google_domain ~ ' dan subdomainnya). Login NIP/NPM tetap bisa dipakai.', ikon='brand-google') }}
{% if google_terhubung %}

Terhubung{{ email_akun }}

{% else %}

Belum terhubung.{% if email_akun %} Email terdaftar: {{ email_akun }} — masuk dengan Google memakai email ini akan terhubung otomatis.{% endif %}

Hubungkan akun Google {% endif %}
{% endif %}
{{ ui.card_header('Ganti password', sub='Password awal sama dengan NIP/NPM. Sebaiknya segera diganti.', ikon='key') }}
{% endblock %}