diff --git a/__pycache__/app.cpython-311.pyc b/__pycache__/app.cpython-311.pyc index bd80c2a..98f75ca 100644 Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ diff --git a/__pycache__/extensions.cpython-311.pyc b/__pycache__/extensions.cpython-311.pyc index 366fb2f..05e2225 100644 Binary files a/__pycache__/extensions.cpython-311.pyc and b/__pycache__/extensions.cpython-311.pyc differ diff --git a/__pycache__/models.cpython-311.pyc b/__pycache__/models.cpython-311.pyc index 43158e0..36fe5b5 100644 Binary files a/__pycache__/models.cpython-311.pyc and b/__pycache__/models.cpython-311.pyc differ diff --git a/app.py b/app.py index 4b96350..76fda66 100644 --- a/app.py +++ b/app.py @@ -293,14 +293,7 @@ def add_player(): return redirect(url_for('dashboard')) return render_template('add_player.html') -@app.route('/integrate_player') -@login_required -@admin_required -def integrate_player(): - players = Player.query.all() - return render_template('integrate_player.html', players=players) - -@app.route('/edit_player/', methods=['GET', 'POST']) +@app.route('/player//edit', methods=['GET', 'POST']) @login_required @admin_required def edit_player(player_id): diff --git a/instance/dashboard.db b/instance/dashboard.db index 645d41b..155d7e9 100644 Binary files a/instance/dashboard.db and b/instance/dashboard.db differ diff --git a/requirements.txt b/requirements.txt index a373f79..e1b948d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,6 @@ SQLAlchemy==2.0.37 typing_extensions==4.12.2 Werkzeug==3.1.3 gunicorn==20.1.0 - pdf2image==1.17.0 pillow==11.1.0 setuptools==75.8.0 \ No newline at end of file diff --git a/templates/dashboard.html b/templates/dashboard.html index 1186acd..3cb7186 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -50,6 +50,7 @@
Manage Player + Edit Player Full Screen {% if current_user.role == 'admin' %}
@@ -77,18 +78,6 @@ Upload Content
- - - {% if current_user.role == 'admin' %} -
-
-

Integrate Player

-
- -
- {% endif %} diff --git a/templates/integrate_player.html b/templates/integrate_player.html deleted file mode 100644 index a734bec..0000000 --- a/templates/integrate_player.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - Integrate Player - - - - -
-
- {% if logo_exists %} - - {% endif %} -

Integrate Player

-
- - -
-
-

Players

-
-
-
    - {% for player in players %} -
  • -
    - {{ player.username }} -
    -
    - View - - - -
    -
  • - {% endfor %} -
-
-
- - - -
-
-

Groups

-
-
-
- {% for group in groups %} -
-
-
-
{{ group.name }}
-

{{ group.players | length }} players

-
- - -
- Fullscreen Link -
-
-
- {% endfor %} -
-
-
- - Back to Dashboard -
- - - - \ No newline at end of file