cleaning the app

This commit is contained in:
2025-04-10 15:13:02 +03:00
parent 3ecdce84f0
commit e0b4e2b2d7
8 changed files with 2 additions and 121 deletions

View File

@@ -50,6 +50,7 @@
</div>
<div>
<a href="{{ url_for('player_page', player_id=player.id) }}" class="btn btn-sm btn-secondary">Manage Player</a>
<a href="{{ url_for('edit_player', player_id=player.id, return_url=url_for('dashboard')) }}" class="btn btn-sm btn-secondary">Edit Player</a>
<a href="{{ url_for('player_fullscreen', player_id=player.id) }}" class="btn btn-sm btn-primary">Full Screen</a>
{% if current_user.role == 'admin' %}
<form action="{{ url_for('delete_player', player_id=player.id) }}" method="post" style="display:inline;">
@@ -77,18 +78,6 @@
<a href="{{ url_for('upload_content') }}" class="btn btn-warning btn-lg">Upload Content</a>
</div>
</div>
<!-- Integrate Player Section -->
{% if current_user.role == 'admin' %}
<div class="card mb-4 {{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="card-header bg-dark text-white">
<h2>Integrate Player</h2>
</div>
<div class="card-body text-center">
<a href="{{ url_for('integrate_player') }}" class="btn btn-dark btn-lg">Integrate Player</a>
</div>
</div>
{% endif %}
</div>
<!-- App Settings Section -->