-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
243 lines (236 loc) · 12.8 KB
/
index.html
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="maximum-scale=1, minimum-scale=1, width=device-width, initial-scale=1" />
<meta property="og:title" content="Fallout radio rework">
<meta property="og:type" content="website" />
<meta property="og:image" content="https://fallout-radio-rework.netlify.app/img/icons-192.png" />
<meta property="og:url" content="https://fallout-radio-rework.netlify.app/" />
<meta property="og:description" content="An UI fan rework of Fallout FM." />
<meta name="title" content="Fallout radio rework" />
<meta name="description" content="An UI fan rework of Fallout FM." />
<meta name="author" content="valsan-azerty-boi" />
<meta name="robots" content="none" />
<title>Fallout radio rework</title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="img/icons-192.png" />
<link rel="apple-touch-icon" sizes="72x72" href="img/icons-192.png" />
<link rel="apple-touch-icon" sizes="114x114" href="img/icons-192.png" />
<link rel="manifest" href="manifest.json" />
<link rel="stylesheet" type="text/css" href="css/style.css?version=2.2" />
</head>
<body class="noselect">
<div id="ie">
<h2>
Please do not use this browser, this app need a working browser for
Html5, Css, JavaScript and jQuery.
</h2>
<script>
function isIE() {
ua = navigator.userAgent;
var is_ie = ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident/") > -1;
return is_ie;
}
if (isIE()) {
document.getElementById("ie").style.display = "block";
}
</script>
</div>
<div id="ios">
<h2>
Warning: On iOS, this app can bug a lot. Fix is coming soon.
</h2>
</div>
<div class="mobile">
<div>
<h1>fallout-radio-rework</h1>
</div>
<div>
<ul>
<li id="play-status-mobile">
<img id="play-button" src="img/play.svg" class="icon-svg-mobile-play-pause-button" alt="Play button"
onClick="playSelectedAudio()" />
<img id="pause-button" src="img/pause.svg" class="icon-svg-mobile-play-pause-button"
alt="Pause button" onClick="stopSelectedAudio()" />
<text id="actualPlayingStationMobile">No station</text>
</li>
<br />
<li>
<img src="img/radio.svg" class="icon-svg" alt="Radio icon" />
<select id="station-list-mobile">
<option value="0" disabled selected hidden>Select a station</option>
</select>
</li>
<br />
<li id="sliderAudioMobileLi" class="noselect">
<img src="img/audio.svg" class="icon-svg flip-horizontally" alt="Audio icon" />
</li>
</ul>
<ul>
<li id="checkAnimatedBgMobileLi" class="noselect">
<img src="img/bg.svg" class="icon-svg flip-horizontally" alt="Animate background button"
onClick="switchSetBg()" />
</li>
</ul>
</div>
</div>
<div class="pc-tab">
<div id="nav-menu-volume" class="fat-nav nav-volume">
<div class="fat-nav__wrapper">
<img src="img/cross.svg" class="top-button-svg" alt="Cross icon to leave menu"
onClick="closeFullscreenMenu('nav-menu-volume')" />
<img src="img/audio.svg" class="top-button-svg-grey flip-horizontally"
alt="Audio icon to go to volume menu" />
<img src="img/radio.svg" class="top-button-svg" alt="Radio icon to go to station menu"
onClick="switchFullscreenMenu('nav-menu-volume','nav-menu-station')" />
<img src="img/settings.svg" class="top-button-svg" alt="Settings icon to go to settings menu"
onClick="switchFullscreenMenu('nav-menu-volume','nav-menu-settings')" />
<br />
<ul>
<h1>Volume <img src="img/audio.svg" class="icon-svg flip-horizontally" alt="Audio icon" /></h1>
<br />
<br />
<li id="sliderAudioPcTabLi">
<input id="sliderAudio" name="sliderAudio" type="range" min="0" max="20" />
</li>
</ul>
<br />
<br />
<ul class="sub-menu-li">
<li class="sub-menu-li"><a onClick="switchFullscreenMenu('nav-menu-volume','nav-menu-station')">Go
to
station
menu <img src="img/radio.svg" class="text-button-svg" alt="Radio icon" /></a>
</li>
<li class="sub-menu-li"><a onClick="switchFullscreenMenu('nav-menu-volume','nav-menu-settings')">Go
to
settings
menu <img src="img/settings.svg" class="text-button-svg" alt="Settings icon" /></a>
</li>
<li><a onClick="closeFullscreenMenu('nav-menu-volume')">Close menu <img src="img/cross.svg"
class="text-button-svg" alt="Cross icon" /></a></li>
</ul>
</div>
</div>
<div id="nav-menu-station" class="fat-nav nav-station">
<div class="fat-nav__wrapper">
<img src="img/cross.svg" class="top-button-svg" alt="Cross icon to leave menu"
onClick="closeFullscreenMenu('nav-menu-station')" />
<img src="img/audio.svg" class="top-button-svg flip-horizontally" alt="Audio icon to go to volume menu"
onClick="switchFullscreenMenu('nav-menu-station','nav-menu-volume')" />
<img src="img/radio.svg" class="top-button-svg-grey" alt="Radio icon to go to station menu" />
<img src="img/settings.svg" class="top-button-svg" alt="Settings icon to go to settings menu"
onClick="switchFullscreenMenu('nav-menu-station','nav-menu-settings')" />
<br />
<ul id="station-list-pc-tab">
<h1>Station <img src="img/radio.svg" class="icon-svg" alt="Radio icon" /></h1>
</ul>
<ul class="sub-menu-li">
<li><a onClick="switchFullscreenMenu('nav-menu-station','nav-menu-volume')">Go to volume menu <img
src="img/audio.svg" class="text-button-svg flip-horizontally" alt="Audio icon" /></a>
</li>
<li class="sub-menu-li"><a onClick="switchFullscreenMenu('nav-menu-station','nav-menu-settings')">Go
to
settings
menu <img src="img/settings.svg" class="text-button-svg" alt="Settings icon" /></a>
</li>
<li><a onClick="closeFullscreenMenu('nav-menu-station')">Close menu <img src="img/cross.svg"
class="text-button-svg" alt="Cross icon" /></a></li>
</ul>
</div>
</div>
<div id="nav-menu-settings" class="fat-nav nav-settings">
<div class="fat-nav__wrapper">
<img src="img/cross.svg" class="top-button-svg" alt="Cross icon to leave menu"
onClick="closeFullscreenMenu('nav-menu-settings')" />
<img src="img/audio.svg" class="top-button-svg flip-horizontally" alt="Audio icon to go to volume menu"
onClick="switchFullscreenMenu('nav-menu-settings','nav-menu-volume')" />
<img src="img/radio.svg" class="top-button-svg" alt="Radio icon to go to station menu"
onClick="switchFullscreenMenu('nav-menu-settings','nav-menu-station')" />
<img src="img/settings.svg" class="top-button-svg-grey" alt="Settings icon to go to settings menu" />
<br />
<ul id="settings-list-pc-tab">
<h1>Settings <img src="img/settings.svg" class="icon-svg" alt="Settings icon" /></h1>
</ul>
<ul class="sub-menu-li">
<li id="checkAnimatedBgPcTabLi" class="noselect">
<a onClick="switchSetBg()">
<img src="img/bg.svg" class="icon-svg flip-horizontally" alt="Animate background button"
onClick="switchSetBg()" />
Animate background</a>
</li>
</ul>
<ul class="sub-menu-li">
<li><a onClick="switchFullscreenMenu('nav-menu-settings','nav-menu-volume')">Go to volume menu <img
src="img/audio.svg" class="text-button-svg flip-horizontally" alt="Audio icon" /></a>
</li>
<li class="sub-menu-li"><a onClick="switchFullscreenMenu('nav-menu-settings','nav-menu-station')">Go
to
station
menu <img src="img/radio.svg" class="text-button-svg" alt="Radio icon" /></a>
</li>
<li><a onClick="closeFullscreenMenu('nav-menu-settings')">Close menu <img src="img/cross.svg"
class="text-button-svg" alt="Cross icon" /></a></li>
</ul>
</div>
</div>
<div class="container">
<div class="is-above">
<h1 id="title-pc-tab">fallout-radio-rework</h1>
</div>
<div>
<img id="radio" class="responsive-img" src="img/radio-pc-tab.png" alt="Radio station machine"
usemap="#radiomap" />
<text id="actualPlayingStationPcTab" class="is-above">No station</text>
</div>
<map name="radiomap">
<div class="tooltip-mouse">
<area data-name="areaChangeVolume" id="areaChangeVolume" target="_self" alt="Volume button"
href="javascript:void(0)" class="hamburger" coords="244,620,42" shape="circle"><a></a></area>
<span id="tooltip-span-volume-mouse">Volume <i
class="material-icons icon-mouse-volume"></i></span>
</div>
<div class="tooltip-mouse">
<area data-name="areaChangeStation" id="areaChangeStation" target="_self" alt="Station button"
href="javascript:void(0)" class="hamburger" coords="655,593,38" shape="circle">
<span id="tooltip-span-station-mouse">Station <i
class="material-icons icon-mouse-radio"></i></span>
</div>
<div class="tooltip-mouse">
<area data-name="areaChangeSettings" id="areaChangeSettings" target="_self" alt="Settings button"
href="javascript:void(0)" class="hamburger" coords="0,0,0" shape="circle">
<span id="tooltip-span-settings-mouse">Settings
</span>
</div>
<div>
<area data-name="station-name-area" alt="Station name" coords="452,489,454,490" shape="rect">
</div>
</map>
</div>
<div>
<p>How can I use it ?<i class='fas fa-volume-down' style='font-size:36px'></i><i
class="fa-solid fa-radio"></i>
</p>
<p>Just interact with buttons on the radio to listen to a station.</p>
</div>
</div>
<div class="footer">
<h4>
> <a href="https://github.com/valsan-azerty-boi/fallout-radio-rework" target="_blank">Open source code<img
src="img/open-source.svg" class="text-svg" alt="Open source icon" /></a>
<br />
> <a href="http://fallout.fm/" target="_blank">The original Fallout.FM</a> (love on you guys)
<br />
> <a href="https://valsan-azerty-boi.github.io/" target="_blank">valsan-azerty-boi</a> _
<span id="year">2022</span>
</h4>
</div>
<input id="audioLevel" name="audioLevel" type="number" value="0.5"></input>
<audio id="audio" />
<script type="text/javascript" src='js/jquery.min.js'></script>
<script type="text/javascript" src='js/jquery.rwdImageMaps.min.js'></script>
<script type="text/javascript" src='js/script.js?version=2.6'></script>
<script type="text/javascript" src='js/script.mediasession.js?version=1.0'></script>
</body>
</html>