File size: 2,560 Bytes
1ec46cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en" class="h-full">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MultiStream Magic</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-900 text-white h-full flex flex-col">
    <custom-header></custom-header>
    
    <main class="flex-1 p-4">
        <div class="container mx-auto">
            <div id="stream-controls" class="mb-6 p-4 bg-gray-800 rounded-lg">
                <div class="flex flex-wrap gap-4 items-center">
                    <div class="flex-1 min-w-[200px]">
                        <label class="block text-sm font-medium mb-1">Streamers (comma separated)</label>
                        <input type="text" id="streamers-input" placeholder="streamer1,streamer2,streamer3" 
                               class="w-full px-3 py-2 bg-gray-700 border border-gray-600 rounded-md text-white">
                    </div>
                    <div class="w-32">
                        <label class="block text-sm font-medium mb-1">Layout</label>
                        <select id="layout-select" class="w-full px-3 py-2 bg-gray-700 border border-gray-600 rounded-md text-white">
                            <option value="1">1 Stream</option>
                            <option value="2">2 Streams</option>
                            <option value="3">3 Streams</option>
                            <option value="4" selected>4 Streams</option>
                            <option value="6">6 Streams</option>
                            <option value="9">9 Streams</option>
                        </select>
                    </div>
                    <button id="update-btn" class="mt-6 px-4 py-2 bg-purple-600 hover:bg-purple-700 rounded-md transition">
                        Update Streams
                    </button>
                </div>
            </div>
            
            <div id="stream-container" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
                <!-- Streams will be loaded here -->
            </div>
        </div>
    </main>

    <script src="components/header.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>