6
6
< script src ="https://cdn.tailwindcss.com "> </ script >
7
7
</ head >
8
8
< body class ="min-h-screen bg-neutral-800 text-white ">
9
- < div class ="bg-black bg-opacity-75 w-screen h-screen absolute text-white grid place-items-center text-center transition-all duration-200 backdrop-blur " id ="start-popup ">
9
+ < div class ="fixed bottom-4 right-4 opacity-25 z-50 select-none ">
10
+ < p title ="Info: This software is not affiliated with Monstercat. "> By RedCrafter07</ p >
11
+ </ div >
12
+ < div class ="bg-black bg-opacity-75 w-screen h-screen absolute text-white grid place-items-center text-center transition-all duration-200 backdrop-blur select-none " id ="start-popup ">
10
13
< div class ="opacity-0 hidden transition-all duration-200 " id ="secret-popup ">
11
14
< h1 class ="text-3xl "> Monstercat Widget URL</ h1 >
12
15
< p > Please enter the URL to your Stream Widget in the form below.</ p >
@@ -19,11 +22,31 @@ <h1 class="text-3xl">Monstercat Widget URL</h1>
19
22
< p id ="start-state "> Connecting to Websocket...</ p >
20
23
</ div >
21
24
</ div >
22
- < div class ="mx-auto px-2 ">
23
- < h1 class ="text-3xl "> 💖 Hello World !</ h1 >
24
- < p > Welcome to your Electron application. </ p >
25
+ < div class ="cotainer mx-auto px-2 ">
26
+ < h1 class ="text-3xl "> Hi there !</ h1 >
27
+ < p > Welcome to the Monstercat Discord RPC! </ p >
25
28
< button id ="rpc-stop " class ="bg-red-500 px-4 py-1 rounded-lg "> Stop</ button >
26
29
< button id ="rpc-start " class ="bg-green-500 px-4 py-1 rounded-lg "> Start</ button >
30
+
31
+ < hr class ="my-6 ">
32
+
33
+ < p class ="inline text-3xl "> < svg xmlns ="http://www.w3.org/2000/svg " class ="h-6 w-6 inline " fill ="none " viewBox ="0 0 24 24 " stroke ="currentColor "> < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4 " /> </ svg > Settings</ p >
34
+
35
+ < div class ="my-4 "> </ div >
36
+
37
+ < h3 class ="text-2xl "> Time type</ h3 >
38
+ < p > Select the time type you want to use.</ p >
39
+ < div class ="my-4 "> </ div >
40
+ < form action ="/ " method ="get " id ="time-type-form ">
41
+ < div class ="grid gap-0 grid-cols-8 ">
42
+ < select name ="time-type " id ="" class ="w-full bg-neutral-600 px-4 py-2 rounded-l-full focus:outline-none inline col-span-7 ">
43
+ < option value ="remaining " id ="remaining "> Time remaining (Song)</ option >
44
+ < option value ="elapsed " id ="elapsed "> Time listening (Song)</ option >
45
+ < option value ="total " id ="total "> Time listening (Total)</ option >
46
+ </ select >
47
+ < input type ="submit " value ="Save " class ="px-4 py-2 bg-green-600 hover:bg-green-700 text-white rounded-r-full inline w-full cursor-pointer transition-color duration-200 ">
48
+ </ div >
49
+ </ form >
27
50
</ div >
28
51
29
52
0 commit comments