Skip to content

Commit

Permalink
Update index.jinja
Browse files Browse the repository at this point in the history
Added the spotify help button
  • Loading branch information
Lenochxd committed Dec 23, 2023
1 parent 8c6b6b5 commit 707ac30
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion templates/index.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,18 @@
</div>

<div class="setting spotify-api">
<label for="spotify">Spotify API</label>
<div class="settings-title-info">
<label for="spotify" style="margin-top: 3;">Spotify API</label>
{% set spotify_info = "https://github.com/LeLenoch/WebDeck/blob/master/static/files/FAQ-en.md#how-to-connect-your-spotify-account" %}
{% if config.settings.language == "fr" %}
{% set spotify_info = "https://github.com/LeLenoch/WebDeck/blob/master/static/files/FAQ-fr.md#comment-connecter-mon-compte-spotify-" %}
{% endif %}
<a href="{{spotify_info}}" target="_blank">
<!-- source: https://phosphoricons.com/ -->
{{ open("static/files/images/info.svg").read().replace('<svg ','<svg class="info-icon' + black_theme + '" ') }}
</a>
</div>

<ul>
<li>
<label for="spotify-USERNAME">Username</label>
Expand Down

0 comments on commit 707ac30

Please sign in to comment.