-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrol.html
More file actions
112 lines (83 loc) · 3.57 KB
/
control.html
File metadata and controls
112 lines (83 loc) · 3.57 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>FGC Player Intro Control</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="control.css" />
</head>
<body>
<header class="header">
<h1>FGC Player Intro Control</h1>
<p>VS Intro</p>
</header>
<main class="control-layout">
<button id="openDisplayBtn" class="secondary-btn">
Open Intro Display
</button>
<!-- PLAYERS -->
<section class="players">
<!-- PLAYER 1 -->
<div class="player-panel">
<h2>Player 1</h2>
<label>Name</label>
<input id="p1Name" type="text" placeholder="Player One" />
<label>Hometown</label>
<input id="p1Hometown" type="text" placeholder="City, State / Country" />
<label>Portrait</label>
<input id="p1Portrait" type="file" accept="image/*" />
<label>Team Logo (optional)</label>
<input id="p1Team" type="file" accept="image/*" />
</div>
<!-- PLAYER 2 -->
<div class="player-panel">
<h2>Player 2</h2>
<label>Name</label>
<input id="p2Name" type="text" placeholder="Player Two" />
<label>Hometown</label>
<input id="p2Hometown" type="text" placeholder="City, State / Country" />
<label>Portrait</label>
<input id="p2Portrait" type="file" accept="image/*" />
<label>Team Logo (optional)</label>
<input id="p2Team" type="file" accept="image/*" />
</div>
</section>
<!-- BACKGROUND SELECT -->
<section class="backgrounds">
<h2>Background Style</h2>
<div class="bg-options">
<button data-bg="fire">🔥 Fire</button>
<button data-bg="retro">🕹️ Retro</button>
<button data-bg="neon">⚡ Neon</button>
<button data-bg="grunge">🧱 Grunge</button>
<button data-bg="minimal">🎨 Minimal</button>
</div>
<label>Custom Background</label>
<input id="customBg" type="file" accept="image/*" />
</section>
<!-- ACTIONS -->
<section class="actions">
<button id="playIntro" class="primary">▶ Play Intro</button>
<button id="resetIntro" class="secondary">🔄 Reset</button>
<div class="status">
Status: <span id="statusText">Ready</span>
</div>
</section>
</main>
<div class="controls-hint">
Space = Play • R = Reset
</div>
<footer class="footer">
<a href="http://www.attackcancel.com" target="_blank" rel="noopener noreferrer" class="footer-credit">
<img src="AttackCancelLogo.png" class="footer-logo" />
<span>Created by Cello + GPT</span>
</a>
</footer>
<script src="control.js"></script>
<script>
document.getElementById("openDisplayBtn").addEventListener("click", () => {
window.open("display.html", "_blank");
});
</script>
</body>
</html>