mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Replaced portfolio_iframe by port-ui-desktop
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
features:
|
||||
matomo: true
|
||||
css: true
|
||||
portfolio_iframe: false
|
||||
port-ui-desktop: false
|
||||
simpleicons: true # Activate Brand Icons for your groups
|
||||
javascript: true # Necessary for URL sync
|
||||
csp:
|
||||
|
@@ -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[application_id].features.portfolio_iframe
|
||||
- Sets the iframe flag from applications[application_id].features.port-ui-desktop
|
||||
|
||||
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("portfolio_iframe", False)
|
||||
iframe = app_data.get("features", {}).get("port-ui-desktop", False)
|
||||
|
||||
# Build card dictionary
|
||||
card = {
|
||||
|
@@ -33,13 +33,13 @@ applications:
|
||||
icon:
|
||||
class: fa-solid fa-shield-halved
|
||||
url: https://{{domains | get_domain('keycloak')}}/admin
|
||||
iframe: {{ applications | is_feature_enabled('portfolio_iframe','keycloak') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','keycloak') }}
|
||||
- name: Profile
|
||||
description: Update your personal admin settings
|
||||
icon:
|
||||
class: fa-solid fa-user-gear
|
||||
url: https://{{ domains | get_domain('keycloak') }}/realms/{{oidc.client.id}}/account
|
||||
iframe: {{ applications | is_feature_enabled('portfolio_iframe','keycloak') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','keycloak') }}
|
||||
- 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 | is_feature_enabled('portfolio_iframe','mastodon') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','mastodon') }}
|
||||
{% 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 | is_feature_enabled('portfolio_iframe','pixelfed') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','pixelfed') }}
|
||||
{% 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 | is_feature_enabled('portfolio_iframe','peertube') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','peertube') }}
|
||||
{% 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 | is_feature_enabled('portfolio_iframe','wordpress') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','wordpress') }}
|
||||
{% 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 | is_feature_enabled('portfolio_iframe','friendica') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','friendica') }}
|
||||
{% endif %}
|
||||
|
@@ -10,7 +10,7 @@
|
||||
icon:
|
||||
class: fas fa-book
|
||||
url: https://{{domains | get_domain('sphinx')}}
|
||||
iframe: {{ applications | is_feature_enabled('portfolio_iframe','sphinx') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','sphinx') }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
icon:
|
||||
class: "fas fa-chalkboard-teacher"
|
||||
url: https://{{domains | get_domain('presentation')}}
|
||||
iframe: {{ applications | is_feature_enabled('portfolio_iframe','presentation') }}
|
||||
iframe: {{ applications | is_feature_enabled('port-ui-desktop','presentation') }}
|
||||
|
||||
{% endif %}
|
||||
- name: Solutions
|
||||
|
Reference in New Issue
Block a user