updated to video upload

This commit is contained in:
2025-01-23 16:31:57 +02:00
parent 4b8d075bfe
commit 70a0065b98
28 changed files with 619 additions and 420 deletions

View File

@@ -3,13 +3,26 @@
<head>
<title>Integrate Player</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body.dark-mode {
background-color: #121212;
color: #ffffff;
}
.card.dark-mode {
background-color: #1e1e1e;
color: #ffffff;
}
.dark-mode label, .dark-mode th, .dark-mode td {
color: #ffffff;
}
</style>
</head>
<body>
<body class="{{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="container py-5">
<h1 class="text-center mb-4">Integrate Player</h1>
<!-- Players Section -->
<div class="card mb-4">
<div class="card mb-4 {{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="card-header bg-primary text-white">
<h2>Players</h2>
</div>
@@ -17,7 +30,7 @@
<div class="row">
{% for player in players %}
<div class="col-md-4 mb-3">
<div class="card">
<div class="card {{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="card-body">
<h5 class="card-title">{{ player.username }}</h5>
<p class="card-text">{{ player.ip }}</p>
@@ -35,7 +48,7 @@
</div>
<!-- Groups Section -->
<div class="card mb-4">
<div class="card mb-4 {{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="card-header bg-success text-white">
<h2>Groups</h2>
</div>
@@ -43,7 +56,7 @@
<div class="row">
{% for group in groups %}
<div class="col-md-4 mb-3">
<div class="card">
<div class="card {{ 'dark-mode' if theme == 'dark' else '' }}">
<div class="card-body">
<h5 class="card-title">{{ group.name }}</h5>
<p class="card-text">{{ group.players | length }} players</p>