mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-27 05:55:15 +02:00
- Improved OIDC variable definitions (12_oidc.yml) - Added account/security/profile URLs - Restructured web-app-desktop tasks and JS handling - Introduced oidc.js and iframe.js with runtime loader - Fixed nginx.conf, LDAP, and healthcheck templates spacing - Improved Lua injection for CSP and snippets - Fixed typos (WordPress, receive, etc.) - Added silent-check-sso nginx location Conversation: https://chatgpt.com/share/68ae0060-4fac-800f-9f02-22592a4087d3
56 lines
1.8 KiB
Django/Jinja
56 lines
1.8 KiB
Django/Jinja
header:
|
|
children:
|
|
- link: applications
|
|
- name: Toggle
|
|
description: Enter or exit fullscreen mode
|
|
icon:
|
|
class: fa-solid fa-expand-arrows-alt
|
|
onclick: "toggleFullscreen()"
|
|
- name: Tab
|
|
description: Open the currently embedded iframe URL in a fresh browser tab
|
|
icon:
|
|
class: fa-solid fa-up-right-from-square
|
|
onclick: openIframeInNewTab()
|
|
- name: Reload
|
|
target: "_top"
|
|
onclick: location.reload(true)
|
|
description: Reload the application
|
|
icon:
|
|
class: fa-solid fa-rotate-right
|
|
url: "{{ domains | get_url('web-app-desktop', WEB_PROTOCOL) }}"
|
|
|
|
{% if DESKTOP_OIDC_ENABLED | bool %}
|
|
|
|
- name: Account
|
|
description: Manage your Account
|
|
icon:
|
|
class: fa-solid fa-user
|
|
children:
|
|
- name: Profile
|
|
description: Manage your profile
|
|
icon:
|
|
class: fa-solid fa-id-card
|
|
url: {{ OIDC.CLIENT.ACCOUNT.PROFILE_URL }}
|
|
iframe: {{ DESKTOP_KEYCLOAK_IFRAME_ENABLED }}
|
|
- name: Security
|
|
description: Manage your security settings
|
|
icon:
|
|
class: fa-solid fa-user-gear
|
|
url: {{ OIDC.CLIENT.ACCOUNT.SECURITY_URL }}
|
|
iframe: {{ DESKTOP_KEYCLOAK_IFRAME_ENABLED }}
|
|
- name: Logout
|
|
description: "Logout from {{ SOFTWARE_NAME }} on {{ PRIMARY_DOMAIN }}"
|
|
target: "_top"
|
|
icon:
|
|
class: fa-solid fa-right-from-bracket
|
|
url: {{ OIDC.CLIENT.LOGOUT_URL }}
|
|
iframe: false # Neccesary to refresh desktop page after logout
|
|
- name: Login
|
|
description: "Login to {{ SOFTWARE_NAME }} on {{ PRIMARY_DOMAIN }}"
|
|
target: "_top"
|
|
icon:
|
|
class: fa-solid fa-right-to-bracket
|
|
url: {{ DESKTOP_KEYCLOAK_LOGIN_URL }}
|
|
iframe: false # Neccesary to refresh desktop page after login
|
|
{% endif %}
|