AstraOS Ver. 1.38:
All checks were successful
Deploy AstraOS Panel / deploy (push) Successful in 12s
All checks were successful
Deploy AstraOS Panel / deploy (push) Successful in 12s
- Fixed, dass Tracker und ETS2 DLC zusammenbuggen in sidebar
This commit is contained in:
parent
a0246e9f6b
commit
a77e00f674
|
|
@ -199,12 +199,10 @@
|
||||||
<div>
|
<div>
|
||||||
<button class="w-full text-left px-3 py-2 rounded-md transition flex justify-between items-center collapsible flex-shrink-0
|
<button class="w-full text-left px-3 py-2 rounded-md transition flex justify-between items-center collapsible flex-shrink-0
|
||||||
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}"
|
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}"
|
||||||
data-open="{% if active_page in ['user_management', 'role_management', 'maintenance_management'] %}true{% else %}false{% endif %}">
|
data-open="{% if active_page in ['user_management', 'role_management', 'maintenance_management', 'logs'] %}true{% else %}false{% endif %}">
|
||||||
<span>Administration</span>
|
<span>Administration</span>
|
||||||
<svg class="w-4 h-4 transform transition-transform"
|
<svg class="w-4 h-4 transform transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
||||||
d="M19 9l-7 7-7-7"></path>
|
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
@ -243,17 +241,16 @@
|
||||||
<div>
|
<div>
|
||||||
<button class="w-full text-left px-3 py-2 rounded-md transition flex justify-between items-center collapsible
|
<button class="w-full text-left px-3 py-2 rounded-md transition flex justify-between items-center collapsible
|
||||||
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}"
|
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}"
|
||||||
data-open="{% if active_page in ['discord_bots', 'ets2_dlcs'] %}true{% else %}false{% endif %}">
|
data-open="{% if active_page in ['discord_bots', 'ets2_dlcs', 'ayrantracker'] %}true{% else %}false{% endif %}">
|
||||||
<span>Private Tools</span>
|
<span>Private Tools</span>
|
||||||
<svg class="w-4 h-4 transform transition-transform"
|
<svg class="w-4 h-4 transform transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
||||||
d="M19 9l-7 7-7-7"></path>
|
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="pl-4 mt-1 space-y-1 content hidden">
|
<div class="pl-4 mt-1 space-y-1 content hidden">
|
||||||
{% set private_tools = namespace(has_access=false) %}
|
{% set private_tools = namespace(has_access=false) %}
|
||||||
|
|
||||||
{% if 'manage_discord_bots' in session.get('permissions', []) %}
|
{% if 'manage_discord_bots' in session.get('permissions', []) %}
|
||||||
{% set private_tools.has_access = true %}
|
{% set private_tools.has_access = true %}
|
||||||
<a href="{{ url_for('discord_bots') }}"
|
<a href="{{ url_for('discord_bots') }}"
|
||||||
|
|
@ -263,6 +260,7 @@
|
||||||
🤖 Discord Bots
|
🤖 Discord Bots
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'view_ets2_dlcs' in session.get('permissions', []) %}
|
{% if 'view_ets2_dlcs' in session.get('permissions', []) %}
|
||||||
{% set private_tools.has_access = true %}
|
{% set private_tools.has_access = true %}
|
||||||
<a href="{{ url_for('ets2_dlcs') }}"
|
<a href="{{ url_for('ets2_dlcs') }}"
|
||||||
|
|
@ -272,16 +270,17 @@
|
||||||
🚚 ETS2 DLCs
|
🚚 ETS2 DLCs
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'view_ayrantracker' in session.get('permissions', []) %}
|
{% if 'view_ayrantracker' in session.get('permissions', []) %}
|
||||||
<a href="{{ url_for('ayrantracker') }}" class="px-3 py-2 rounded-md transition flex-shrink-0
|
{% set private_tools.has_access = true %}
|
||||||
{% if active_page == 'ayrantracker' %}
|
<a href="{{ url_for('ayrantracker') }}"
|
||||||
{% if maintenance_active %}bg-yellow-500/10 text-yellow-300{% else %}bg-purple-500/10 text-purple-300{% endif %}
|
class="block px-3 py-1 rounded-md transition
|
||||||
{% else %}
|
{% if active_page == 'ayrantracker' %}{% if maintenance_active %}bg-yellow-500/10 text-yellow-300{% else %}bg-purple-500/10 text-purple-300{% endif %}{% else %}
|
||||||
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}
|
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}{% endif %}">
|
||||||
{% endif %}">
|
|
||||||
🥛 AyranTracker
|
🥛 AyranTracker
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if not private_tools.has_access %}
|
{% if not private_tools.has_access %}
|
||||||
<div class="block px-3 py-1 rounded-md text-gray-500 text-sm italic">
|
<div class="block px-3 py-1 rounded-md text-gray-500 text-sm italic">
|
||||||
Du hast nicht genügend Berechtigungen für diesen Bereich.
|
Du hast nicht genügend Berechtigungen für diesen Bereich.
|
||||||
|
|
@ -293,12 +292,10 @@
|
||||||
<div>
|
<div>
|
||||||
<button class="w-full text-left px-3 py-2 rounded-md transition flex justify-between items-center collapsible
|
<button class="w-full text-left px-3 py-2 rounded-md transition flex justify-between items-center collapsible
|
||||||
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}"
|
{% if maintenance_active %}hover:bg-yellow-500/10 hover:text-yellow-300{% else %}hover:bg-purple-500/10 hover:text-purple-300{% endif %}"
|
||||||
data-open="{% if active_page in ['ip_analyzer'] %}true{% else %}false{% endif %}">
|
data-open="{% if active_page in ['ip_analyzer', 'age_verification'] %}true{% else %}false{% endif %}">
|
||||||
<span>Moonlab Tools</span>
|
<span>Moonlab Tools</span>
|
||||||
<svg class="w-4 h-4 transform transition-transform"
|
<svg class="w-4 h-4 transform transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
||||||
d="M19 9l-7 7-7-7"></path>
|
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue