mirror of
https://github.com/neongamerbot-qk/hackclub-nest
synced 2024-11-22 00:13:39 +00:00
This commit is contained in:
parent
d8dca9ab60
commit
95d79f8d59
1 changed files with 63 additions and 53 deletions
|
@ -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,60 +15,67 @@
|
||||||
<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>
|
||||||
<!-- <p class="headline">Looking for a basic website template that includes Hack Club's theme CSS? Look no further!</p> -->
|
<!-- <p class="headline">Looking for a basic website template that includes Hack Club's theme CSS? Look no further!</p> -->
|
||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
<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'" : ''
|
||||||
<br>
|
%>placeholder="https://open.spotify.com/track/6aWOvqmjb3343D5sq7zMgl?si=b72b81a97e564dc3" />
|
||||||
</div>
|
<br>
|
||||||
<!-- </p> -->
|
<p><i>adding a song will invite you the the slack channel</i></p>
|
||||||
<% if (s) { %>
|
</div>
|
||||||
<!-- <meta property="hhtp-equiv" content="refresh"> -->
|
<!-- </p> -->
|
||||||
<meta http-equiv="refresh" content="5; url='/home'" />
|
<% if (s) { %>
|
||||||
<div class="success">
|
<!-- <meta property="hhtp-equiv" content="refresh"> -->
|
||||||
<h2>Success!</h2>
|
<meta http-equiv="refresh" content="5; url='/home'" />
|
||||||
<p class="success">Your song has been added to the playlist!</p>
|
<div class="success">
|
||||||
<p>refreshing page in 5s</p>
|
<h2>Success!</h2>
|
||||||
<br>
|
<p class="success">Your song has been added to the playlist!</p>
|
||||||
</div>
|
<p>refreshing page in 5s</p>
|
||||||
<% } %>
|
<br>
|
||||||
<% if (error) { %>
|
</div>
|
||||||
<div class="error">
|
<% } %>
|
||||||
<%= error %>
|
<% if (error) { %>
|
||||||
<br>
|
<div class="error">
|
||||||
|
<%= error %>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<button type="submit" <%=s ? "disabled='true'" : '' %> >Submit</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% } %>
|
<footer style="display: inline-flex;padding-left: 2px;padding-right: 2px;">
|
||||||
<br>
|
<a href="/logout" class="button" style="padding-left: 2px;padding-right: 2px;">Logout</a>
|
||||||
|
<div>
|
||||||
|
<a href="/download/db" download class="button" style="margin-left: 8px;margin-right: 2px;">Download all
|
||||||
|
song entries</a>
|
||||||
|
</div>
|
||||||
|
</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>
|
||||||
|
<a href="https://open.spotify.com/playlist/3gRv97fvllFFLVdCH6XzsE?si=eUQm8275QdyMquBbNdPVHA">Check out the
|
||||||
|
playlist</a>
|
||||||
|
|
||||||
<button type="submit" <%=s ? "disabled='true'" : '' %> >Submit</button>
|
</div>
|
||||||
</form>
|
</center>
|
||||||
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<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>
|
|
||||||
<div>
|
|
||||||
<a href="/download/db" download class="button" style="margin-left: 8px;margin-right: 2px;">Download all song entries</a>
|
|
||||||
</div>
|
|
||||||
</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>
|
|
||||||
<a href="https://open.spotify.com/playlist/3gRv97fvllFFLVdCH6XzsE?si=eUQm8275QdyMquBbNdPVHA">Check out the playlist</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</center>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue