Web: make the "get the add-on" button actually do something

The button is now a link that leads to the add-on ZIP.
This commit is contained in:
Sybren A. Stüvel 2022-08-02 11:04:11 +02:00
parent f3693b88f4
commit 2d6475a7e1

@ -2,7 +2,7 @@
<div class="details-no-item-selected"> <div class="details-no-item-selected">
<div class="get-the-addon"> <div class="get-the-addon">
<p>Get the Blender add-on and submit a job.</p> <p>Get the Blender add-on and submit a job.</p>
<p><button class="btn btn-primary">Get the add-on!</button></p> <p><a class="btn btn-primary" :href="backendURL('/flamenco3-addon.zip')">Get the add-on!</a></p>
<p>Use the URL below in the add-on preferences. Click on it to copy.</p> <p>Use the URL below in the add-on preferences. Click on it to copy.</p>
<p><span class="click-to-copy" title="Click to copy this URL" @click="copyElementText">{{ api() }}</span></p> <p><span class="click-to-copy" title="Click to copy this URL" @click="copyElementText">{{ api() }}</span></p>
</div> </div>
@ -10,7 +10,7 @@
</template> </template>
<script setup> <script setup>
import { api } from '@/urls'; import { api, backendURL } from '@/urls';
import { copyElementText } from '@/clipboard.js'; import { copyElementText } from '@/clipboard.js';
</script> </script>