forked from dbroqua/MusicTopus
@93 - Wantlist
This commit is contained in:
parent
bed5139a27
commit
a4a3933c6d
24 changed files with 1137 additions and 70 deletions
|
@ -110,6 +110,12 @@
|
|||
id="mastodon.message"
|
||||
v-model="formData.mastodon.message"
|
||||
></textarea>
|
||||
<label for="mastodon.wantlist">Message pour la liste de souhaits</label>
|
||||
<textarea
|
||||
name="mastodon.wantlist"
|
||||
id="mastodon.wantlist"
|
||||
v-model="formData.mastodon.wantlist"
|
||||
></textarea>
|
||||
<small>
|
||||
Variables possibles :
|
||||
<ul>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<h1>
|
||||
<template v-for="artist in item.artists">
|
||||
<a :href="`/ma-collection?page=1&limit=16&sort=year&order=asc&artist=${artist.name}`">{{artist.name}}</a>
|
||||
<a :href="`/<%= page.action === 'album' ? 'ma-collection' : 'ma-liste-de-souhaits' %>?page=1&limit=16&sort=year&order=asc&artist=${artist.name}`">{{artist.name}}</a>
|
||||
<template v-if="artist.join"> {{artist.join}} </template>
|
||||
</template>
|
||||
- {{item.title}}
|
||||
|
@ -96,5 +96,6 @@
|
|||
|
||||
<script>
|
||||
const item = <%- JSON.stringify(page.item) %>;
|
||||
const action = "<%- page.action %>";
|
||||
const canShareItem = <%= user.mastodon?.publish || false %>;
|
||||
</script>
|
|
@ -1,5 +1,9 @@
|
|||
<main class="layout-maxed" id="exporter">
|
||||
<h1>Exporter ma collection</h1>
|
||||
<% if (page.action === 'albums') { %>
|
||||
<h1>Exporter ma collection</h1>
|
||||
<% } else { %>
|
||||
<h1>Exporter ma liste de souhaits</h1>
|
||||
<% } %>
|
||||
<p>
|
||||
Les formats CSV et Excel sont facilement lisiblent par un humain. Dans ces 2 formats vous trouverez seulement les informations principales de vos albums, à savoir :
|
||||
</p>
|
||||
|
@ -44,4 +48,8 @@
|
|||
Exporter
|
||||
</button>
|
||||
</form>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const action = "<%- page.action %>";
|
||||
</script>
|
|
@ -1,7 +1,11 @@
|
|||
<main class="layout-maxed" id="importer">
|
||||
<h1>Importer une collection</h1>
|
||||
<% if (page.action === 'albums') { %>
|
||||
<h1>Importer une collection</h1>
|
||||
<% } else { %>
|
||||
<h1>Importer une liste de souhaits</h1>
|
||||
<% } %>
|
||||
<p>
|
||||
Il est actuellement possible d'importer une collection provenant de discogs.
|
||||
Il est actuellement possible d'importer <%= page.action === 'albums' ? "une collection" : "une liste de souhaits" %> provenant de discogs.
|
||||
<br />
|
||||
Vous devez dans un premier temps vous rendre sur la page <a href="https://www.discogs.com/fr/users/export" target="_blank" rel="noopener noreferrer">Exporter</a> de discogs.
|
||||
<br />
|
||||
|
@ -40,4 +44,8 @@
|
|||
<span v-if="state === 'done'">Importatation terminée</span>
|
||||
</button>
|
||||
</form>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const action = "<%- page.action %>";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue