chore: add warning
Some checks are pending
Remote SSH Command / Build (push) Waiting to run

This commit is contained in:
Saahil 2024-10-26 17:32:41 -04:00 committed by GitHub
parent d8dca9ab60
commit 95d79f8d59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= title %></title> <title>
<%= title %>
</title>
<meta property="og:title" content="<%=title%>" /> <meta property="og:title" content="<%=title%>" />
<meta name="twitter:title" content="<%=title%>" /> <meta name="twitter:title" content="<%=title%>" />
@ -12,8 +15,9 @@
<meta name="twitter:description" content="<%=description %>" /> <meta name="twitter:description" content="<%=description %>" />
<link rel="stylesheet" href="./hackclub.css" /> <link rel="stylesheet" href="./hackclub.css" />
</head> </head>
<body> <body>
<center> <center>
<br> <br>
<header> <header>
<h1 class="ultratitle">Hackclub spotify </h1> <h1 class="ultratitle">Hackclub spotify </h1>
@ -23,14 +27,16 @@
<div class="card container" style="max-width: 550px;"> <div class="card container" style="max-width: 550px;">
<h2 class="headline">Submit Song</h2> <h2 class="headline">Submit Song</h2>
<!-- <p> --> <!-- <p> -->
<form action="/spotify/submitsong?token=<%=onetimetoken%>" method="POST" > <form action="/spotify/submitsong?token=<%=onetimetoken%>" method="POST">
<div class="interactive"> <div class="interactive">
<label>Song URL</label> <label>Song URL</label>
<input type="url" name="songurl" <%=s ? "disabled='true'" : '' %>placeholder="https://open.spotify.com/track/6aWOvqmjb3343D5sq7zMgl?si=b72b81a97e564dc3" /> <input type="url" name="songurl" <%=s ? "disabled='true'" : ''
%>placeholder="https://open.spotify.com/track/6aWOvqmjb3343D5sq7zMgl?si=b72b81a97e564dc3" />
<br> <br>
</div> <p><i>adding a song will invite you the the slack channel</i></p>
<!-- </p> --> </div>
<!-- </p> -->
<% if (s) { %> <% if (s) { %>
<!-- <meta property="hhtp-equiv" content="refresh"> --> <!-- <meta property="hhtp-equiv" content="refresh"> -->
<meta http-equiv="refresh" content="5; url='/home'" /> <meta http-equiv="refresh" content="5; url='/home'" />
@ -41,7 +47,7 @@
<br> <br>
</div> </div>
<% } %> <% } %>
<% if (error) { %> <% if (error) { %>
<div class="error"> <div class="error">
<%= error %> <%= error %>
<br> <br>
@ -53,19 +59,23 @@
</form> </form>
</div> </div>
</form> </form>
</p> </p>
</div> </div>
<footer style="display: inline-flex;padding-left: 2px;padding-right: 2px;"> <footer style="display: inline-flex;padding-left: 2px;padding-right: 2px;">
<a href="/logout" class="button" style="padding-left: 2px;padding-right: 2px;">Logout</a> <a href="/logout" class="button" style="padding-left: 2px;padding-right: 2px;">Logout</a>
<div> <div>
<a href="/download/db" download class="button" style="margin-left: 8px;margin-right: 2px;">Download all song entries</a> <a href="/download/db" download class="button" style="margin-left: 8px;margin-right: 2px;">Download all
song entries</a>
</div> </div>
</footer> </footer>
<p style="max-width: 250px; inline-size: max-content; word-break: break-all;color: gray;"> The "Download all song entries" button includes all songs submited thru the form (even if removed from the playlist)</p> <p style="max-width: 250px; inline-size: max-content; word-break: break-all;color: gray;"> The "Download all
<a href="https://open.spotify.com/playlist/3gRv97fvllFFLVdCH6XzsE?si=eUQm8275QdyMquBbNdPVHA">Check out the playlist</a> song entries" button includes all songs submited thru the form (even if removed from the playlist)</p>
<a href="https://open.spotify.com/playlist/3gRv97fvllFFLVdCH6XzsE?si=eUQm8275QdyMquBbNdPVHA">Check out the
playlist</a>
</div> </div>
</center> </center>
</body> </body>
</html> </html>