-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·117 lines (96 loc) · 4.98 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
<!DOCTYPE html><html lang="en"><head>
<!-- This website is not affiliated with either lainon.life or fauux. -->
<!-- https://github.com/debil03311/fauuxonlife -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>fauuxon.life</title>
<link rel="shortcut icon" href="./public/asset/favicon.ico" type="image/x-icon">
<!-- Regular -->
<meta name="theme-color" content="#d2738a">
<meta name="image" content="https://debil03311.github.io/fauuxonlife/public/asset/embed.png">
<meta name="title" content="lainon.life interface">
<meta name="description" content="fauux-inspired, unaffiliated, third party interface for the lainon.life web radio">
<!-- OpenGraph -->
<meta property="og:type" content="website">
<meta property="og:image" content="https://debil03311.github.io/fauuxonlife/public/asset/embed.png">
<meta property="og:site_name" content="fauuxon.life">
<meta property="og:title" content="lainon.life interface">
<meta property="og:description" content="fauux-inspired, unaffiliated, third party interface for the lainon.life web radio">
<!-- Twitter -->
<meta property="twitter:card" content="summary">
<meta property="twitter:image" content="https://debil03311.github.io/fauuxonlife/public/asset/embed.png">
<meta property="twitter:title" content="lainon.life interface">
<meta property="twitter:description" content="fauux-inspired, unaffiliated, third party interface for the lainon.life web radio">
<link rel="stylesheet" href="./public/asset/icofont/icofont.min.css">
<link rel="stylesheet" href="./public/css/index.css">
<link rel="stylesheet" href="./public/css/index.m.css">
</head><body>
<div id="darken" class="overlay no-select"></div>
<div id="scanlines" class="overlay no-select"></div>
<div id="vignette" class="overlay no-select"></div>
<div id="warning-message" class="overlay hidden" onclick="this.classList.add('hidden')">
<div id="warning-content">
<h2>Something went wrong.</h2>
<p>
Failed to fetch the necessary data. Check to see if <a href="https://lainon.life">lainon.life</a> is down.
</p>
<p>
If it's not down then there's an issue with CORS, but you can probably it yourself! All you have to do is get an extension/add-on for your browser that enables CORS anywhere. If you're Chromium-based, check <a href="https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf">this one</a> out. If you're on FireFox, I have no idea, maybe <a href="https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/">this one</a>? Do keep in mind that enforcing CORS at all times could break some other sites you may frequent.
</p>
</div>
</div>
<audio id="audio" class="hidden"
preload="none"
src="https://lainon.life/radio/cafe.ogg"
></audio>
<header>
fauux(<a href="https://lainon.life/">lainon.life</a>): [<span class="listeners current" title="Listening">0</span>, <span class="listeners peak" title="Peak Listeners">0</span>]
</header>
<section id="player">
<div id="progress-bar"
style="width: 0%"
class="no-select">
</div>
<div id="volume-bar"
style="width: 60%"
class="no-select">
</div>
<div id="current-details" class="no-select">
<span id="current-song">
<span id="current-title">NOT PLAYING</span>
<span id="current-date">NULL</span>
</span>
<span id="current-album">NULL</span>
<span id="current-artist">NULL</span>
</div>
</section>
<section id="channels">
<i id="cafe"
title="cafe"
class="channel icofont-coffee-alt"
onclick="switchChannel(this.id)"
></i><i id="cyberia"
title="cyberia"
class="channel icofont-micro-chip"
onclick="switchChannel(this.id)"
></i><i id="everything"
title="everything"
class="channel icofont-earth"
onclick="switchChannel(this.id)"
></i><i id="swing"
title="swing"
class="channel icofont-retro-music-disk"
onclick="switchChannel(this.id)"
></i>
</section>
<section id="song-list">
<div id="list-previous"></div>
<div id="list-current">
Select one of the channels above to start listening.<br>
This project is <a href="https://github.com/debil03311/fauuxonlife">open source</a> and unaffiliated with either lainon.life or fauux.
</div>
<div id="list-next"></div>
</section>
<script defer src="./public/js/index.js"></script>
</body></html>