mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-07 18:57:12 +02:00
replaced port-ui-desktop with desktop to make it more speakable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
features:
|
||||
matomo: true
|
||||
css: true
|
||||
port-ui-desktop: false
|
||||
desktop: false
|
||||
simpleicons: true # Activate Brand Icons for your groups
|
||||
javascript: true # Necessary for URL sync
|
||||
logout: false # Doesn't have own user data. Just a frame.
|
||||
|
@@ -22,7 +22,7 @@ class LookupModule(LookupBase):
|
||||
- Retrieves the icon class from galaxy_info.logo.class
|
||||
- Retrieves the tags from galaxy_info.galaxy_tags
|
||||
- Builds the URL using the 'domains' variable
|
||||
- Sets the iframe flag from applications | get_app_conf(application_id, 'features.port-ui-desktop', True)
|
||||
- Sets the iframe flag from applications | get_app_conf(application_id, 'features.desktop', True)
|
||||
|
||||
Only cards whose application_id is included in the variable group_names are returned.
|
||||
"""
|
||||
@@ -109,7 +109,7 @@ class LookupModule(LookupBase):
|
||||
url = "https://" + domain_url if domain_url else ""
|
||||
|
||||
app_data = applications.get(application_id, {})
|
||||
iframe = app_data.get("features", {}).get("port-ui-desktop", False)
|
||||
iframe = app_data.get("features", {}).get("desktop", False)
|
||||
|
||||
# Build card dictionary
|
||||
card = {
|
||||
|
@@ -1,9 +1,9 @@
|
||||
- name: Assert that each web-app- or web-svc- port-ui-desktop app uses the correct domain suffix
|
||||
- name: Assert that each web-app- or web-svc- desktop app uses the correct domain suffix
|
||||
assert:
|
||||
that:
|
||||
- >
|
||||
(
|
||||
not (item.value.features['port-ui-desktop'] | default(false) | bool)
|
||||
not (item.value.features['desktop'] | default(false) | bool)
|
||||
)
|
||||
or (domains | get_domain(item.key)).endswith(domains | get_domain('web-app-port-ui'))
|
||||
fail_msg: >
|
||||
|
@@ -33,13 +33,13 @@ applications:
|
||||
icon:
|
||||
class: fa-solid fa-shield-halved
|
||||
url: {{ keycloak_url }}/admin
|
||||
iframe: {{ applications | get_app_conf( 'web-app-keycloak', 'features.port-ui-desktop', False) }}
|
||||
iframe: {{ applications | get_app_conf( 'web-app-keycloak', 'features.desktop', False) }}
|
||||
- name: Profile
|
||||
description: Update your personal admin settings
|
||||
icon:
|
||||
class: fa-solid fa-user-gear
|
||||
url: {{ keycloak_url }}/realms/{{oidc.client.id}}/account
|
||||
iframe: {{ applications | get_app_conf( 'web-app-keycloak', 'features.port-ui-desktop', False) }}
|
||||
iframe: {{ applications | get_app_conf( 'web-app-keycloak', 'features.desktop', False) }}
|
||||
- name: Logout
|
||||
description: End your admin session securely
|
||||
icon:
|
||||
|
@@ -12,7 +12,7 @@ followus:
|
||||
class: fa-brands fa-mastodon
|
||||
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.mastodon.split('@')[2] }}/@{{ service_provider.contact.mastodon.split('@')[1] }}"
|
||||
identifier: "{{service_provider.contact.mastodon}}"
|
||||
iframe: {{ applications | get_app_conf('web-app-mastodon','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-mastodon','features.desktop',True) }}
|
||||
{% endif %}
|
||||
{% if service_provider.contact.bluesky is defined and service_provider.contact.bluesky != "" %}
|
||||
- name: Bluesky
|
||||
@@ -31,7 +31,7 @@ followus:
|
||||
class: fa-solid fa-camera
|
||||
identifier: "{{service_provider.contact.pixelfed}}"
|
||||
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.pixelfed.split('@')[2] }}/@{{ service_provider.contact.pixelfed.split('@')[1] }}"
|
||||
iframe: {{ applications | get_app_conf('web-app-pixelfed','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-pixelfed','features.desktop',True) }}
|
||||
{% endif %}
|
||||
{% if service_provider.contact.peertube is defined and service_provider.contact.peertube != "" %}
|
||||
- name: Peertube
|
||||
@@ -40,7 +40,7 @@ followus:
|
||||
class: fa-solid fa-video
|
||||
identifier: "{{service_provider.contact.peertube}}"
|
||||
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.peertube.split('@')[2] }}/@{{ service_provider.contact.peertube.split('@')[1] }}"
|
||||
iframe: {{ applications | get_app_conf('web-app-peertube','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-peertube','features.desktop',True) }}
|
||||
{% endif %}
|
||||
{% if service_provider.contact.wordpress is defined and service_provider.contact.wordpress != "" %}
|
||||
- name: Wordpress
|
||||
@@ -49,7 +49,7 @@ followus:
|
||||
class: fa-solid fa-blog
|
||||
identifier: "{{service_provider.contact.wordpress}}"
|
||||
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.wordpress.split('@')[2] }}/@{{ service_provider.contact.wordpress.split('@')[1] }}"
|
||||
iframe: {{ applications | get_app_conf('web-app-wordpress','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-wordpress','features.desktop',True) }}
|
||||
{% endif %}
|
||||
{% if service_provider.contact.friendica is defined and service_provider.contact.friendica != "" %}
|
||||
- name: Friendica
|
||||
@@ -58,5 +58,5 @@ followus:
|
||||
class: fas fa-net-wired
|
||||
identifier: "{{service_provider.contact.friendica}}"
|
||||
url: "{{ WEB_PROTOCOL }}://{{ service_provider.contact.friendica.split('@')[2] }}/@{{ service_provider.contact.friendica.split('@')[1] }}"
|
||||
iframe: {{ applications | get_app_conf('web-app-friendica','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-friendica','features.desktop',True) }}
|
||||
{% endif %}
|
||||
|
@@ -10,7 +10,7 @@
|
||||
icon:
|
||||
class: fas fa-book
|
||||
url: https://{{domains | get_domain('web-app-sphinx')}}
|
||||
iframe: {{ applications | get_app_conf('web-app-sphinx','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-sphinx','features.desktop',True) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
icon:
|
||||
class: "fas fa-chalkboard-teacher"
|
||||
url: https://{{domains | get_domain('web-app-navigator')}}
|
||||
iframe: {{ applications | get_app_conf('web-app-navigator','features.port-ui-desktop',True) }}
|
||||
iframe: {{ applications | get_app_conf('web-app-navigator','features.desktop',True) }}
|
||||
|
||||
{% endif %}
|
||||
- name: Solutions
|
||||
|
Reference in New Issue
Block a user