2021-08-28 16:08:54 +02:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<head>
|
|
|
|
|
<link rel="stylesheet" href="/css/style.css">
|
|
|
|
|
</head>
|
|
|
|
|
<html>
|
|
|
|
|
<body>
|
|
|
|
|
<h1>Spotify To Bandcamp</h1>
|
|
|
|
|
<p>Recherche dans une playlist les artistes se trouvant aussi sur Bandcamp !</p>
|
|
|
|
|
<hr />
|
|
|
|
|
|
2021-09-09 01:49:42 +02:00
|
|
|
|
{{ if .error }}
|
|
|
|
|
<div class="error">
|
|
|
|
|
<p>Erreur rencontrée: {{.error}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{{ end }}
|
2021-09-04 13:09:18 +02:00
|
|
|
|
|
2021-09-09 01:49:42 +02:00
|
|
|
|
{{if .connected}}
|
2021-08-28 16:08:54 +02:00
|
|
|
|
<div>
|
|
|
|
|
<form action="/back" method="post">
|
2021-08-31 18:42:21 +02:00
|
|
|
|
<label>Saisir l’ID de la playlist (sans l’url): <input name="id" type="text" required /></label> <br />
|
2021-08-28 16:08:54 +02:00
|
|
|
|
<label for="type-id">Choississez un type d’ID:</label>
|
|
|
|
|
<select name="type-id" id="type-id">
|
|
|
|
|
<option value="playlist">Playlist</option>
|
|
|
|
|
</select>
|
|
|
|
|
<br />
|
|
|
|
|
<input type="submit" value="Envoyer" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2021-09-09 01:49:42 +02:00
|
|
|
|
{{else}}
|
2021-09-10 18:36:21 +02:00
|
|
|
|
<a href="{{ .url }}">SE CONNECTER À SPOTIFY ICI</a>
|
2021-09-09 01:49:42 +02:00
|
|
|
|
{{end}}
|
|
|
|
|
|
2021-09-01 01:33:49 +02:00
|
|
|
|
<hr />
|
|
|
|
|
<footer>
|
|
|
|
|
<img src="https://www.gnu.org/graphics/gplv3-or-later-sm.png" alt="logo GPL3" *>
|
|
|
|
|
<p>Ce site est en aucun cas affilié avec Bandcamp ou Spotify.</p>
|
|
|
|
|
</footer>
|
2021-08-28 16:08:54 +02:00
|
|
|
|
</body>
|
|
|
|
|
<html>
|